]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
Staging: rdma: Use memdup_user
authorKsenija Stanojevic <ksenija.stanojevic@gmail.com>
Fri, 9 Oct 2015 13:56:59 +0000 (15:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 03:35:21 +0000 (20:35 -0700)
commit4ecc4a18d987e7e9f4b7eff2bf9215ac02c8a980
tree195e87d5c31211cda26cd45881d7bbde7edddf3d
parent514d4d744d5c40aed94c4424a715227698935be9
Staging: rdma: Use memdup_user

Use memdup_user when user data is immediately copied into the
allocated region.

Issue found using coccinelle.

Signed-off-by: Ksenija Stanojevic<ksenija.stanojevic@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/ipath/ipath_fs.c