]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: Annotate user buffer with __user
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Thu, 4 Sep 2014 13:24:57 +0000 (15:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Sep 2014 05:02:49 +0000 (22:02 -0700)
commitf15417a73e685ecb6be41c169ff7202d022fac4a
tree39021028370c144573b38b784e35487c8d0d921c
parentb5b6f950c3ca1d6e6feab6e59c1b924119783a09
staging: lustre: Annotate user buffer with __user

Fix the warning reported by sparse on drivers/staging/lustre/lnet/lnet/router_proc.c
warning: incorrect type in argument 4 (different address spaces)
The correction is to annotate all user buffer variable by __user

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h
drivers/staging/lustre/lnet/lnet/router_proc.c
drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c
drivers/staging/lustre/lustre/libcfs/tracefile.c
drivers/staging/lustre/lustre/libcfs/tracefile.h