]> git.baikalelectronics.ru Git - kernel.git/commit
staging/lustre/llite: Update all file.c user pointer casts to __user
authorOleg Drokin <green@linuxhacker.ru>
Sun, 3 Jan 2016 17:05:55 +0000 (12:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 22:34:27 +0000 (14:34 -0800)
commit03d772bef3ebc69d3e35780a4ce39dbef1dd3333
treec8a1e973bdaa70779d880e5554dd88efc37fc659
parentf20538dbda5d3bbfe28cb63598788d5302ff89cf
staging/lustre/llite: Update all file.c user pointer casts to __user

unsigned long user address must be casted with __user attribute
to make sparse happy when used with userspace access functions.

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