]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
yam: use memdup_user
authorGeliang Tang <geliangtang@gmail.com>
Sat, 6 May 2017 15:42:22 +0000 (23:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 May 2017 19:02:10 +0000 (15:02 -0400)
commit871ff2ebe0af0d7f1050bfc8bce62fddea2b12ec
tree2a1ad5d19e8c0902c8d265d4ff05afce75fe8a50
parent294316a4af16cd5c355a80bd2dc7ea803b88f6ba
yam: use memdup_user

Use memdup_user() helper instead of open-coding to simplify the code.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hamradio/yam.c