[PATCH v2] Staging: lustre: llite: fix some sparse warnings about userspace pointer

2014-10-12 Thread Anh Le
Add __user macro to the function declarations that accept userspace pointers as arguments. Signed-off-by: Anh Le anhlq2...@gmail.com --- v2: Fixed checkpatch's parenthesis alignment warnings, noted by Sudip Mukherjee sudipm.mukher...@gmail.com. .../staging/lustre/lustre/include

[PATCH] Staging: lustre: llite: fix some sparse warnings about userspace pointer

2014-10-11 Thread Anh Le
Add __user macro to the function declarations that accept userspace pointers as arguments. Signed-off-by: Anh Le anhlq2...@gmail.com --- .../staging/lustre/lustre/include/lprocfs_status.h | 6 +-- drivers/staging/lustre/lustre/llite/lproc_llite.c | 48 +++--- .../lustre/lustre

[PATCH] Staging: bcm: fixed a comment coding style issue

2014-08-30 Thread Anh Le
Fixed a C99 comment issue in InterfaceMisc.h. Signed-off-by: Anh Le anhlq2...@gmail.com --- drivers/staging/bcm/InterfaceMisc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/bcm/InterfaceMisc.h b/drivers/staging/bcm/InterfaceMisc.h index efb6860..0e5e38b