]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging/lustre/lloop: Properly mark userspace pointers in lo/lloop_ioctl
authorOleg Drokin <green@linuxhacker.ru>
Sun, 3 Jan 2016 17:05:52 +0000 (12:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 22:34:00 +0000 (14:34 -0800)
commit6f9a3bd93f48127164e1599f0e1f9d4e16f9cb89
tree2f5c65bc92013c198e87c041924faf407b51ed5e
parentec2d71d0835decc8e5a358e7d8080a92eead4baa
staging/lustre/lloop: Properly mark userspace pointers in lo/lloop_ioctl

When casting unsigned long userspace pointer for use with
userspace-accessing functions, need to use __user attribute to make
sparse happy.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/lloop.c