]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net/hippi/rrunner: use memdup_user
authorGeliang Tang <geliangtang@gmail.com>
Sat, 6 May 2017 15:42:16 +0000 (23:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 May 2017 19:02:09 +0000 (15:02 -0400)
commit294316a4af16cd5c355a80bd2dc7ea803b88f6ba
treeecc7fbc95caf37fe837d535615d97494353cdeb7
parent3bb4858fda1cac2ae677edb5134932af4c7f8ff8
net/hippi/rrunner: 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/hippi/rrunner.c