]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit5a08f0672b29659c5dcdbbe7fa136ab810292259
tree39021028370c144573b38b784e35487c8d0d921c
parentf60705fd13f2573b66872a55f4a18214a1cbced2
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