]> git.baikalelectronics.ru Git - kernel.git/commit
staging/lustre/llite: Update ll_dir_ioctl pointer casts with __user
authorOleg Drokin <green@linuxhacker.ru>
Sun, 3 Jan 2016 17:05:59 +0000 (12:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 22:34:27 +0000 (14:34 -0800)
commit5e3b6c3d25b038f43e0cfed0765f6a9a47c168b4
tree24e9225462fe3d507c585a80e14a3325c596b3d1
parentc3501394f4aea850e47352994404f6206275798f
staging/lustre/llite: Update ll_dir_ioctl pointer casts with __user

When casting unsingned long userspace pointer from ioctl argument to
a pointer suitable for use with userspace access functions, need
to remember to add __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/dir.c