[PATCH] Staging: lustre: lustre: mdc: lproc_mdc.c: declared file_operations struct as const

2015-09-16 Thread Sakshi Vaid
Declared the file_operations structure as const as done elsewhere in the kernel, as there are no modifiactions to this field. Following warning found by checkpatch WARNING: struct file_operations should normally be const Signed-off-by: Sakshi Vaid <sakshivai...@gmail.com> --- drivers/s

[PATCH] Staging: lustre: lustre: mgc: mgc_request.c: Removed unnecessary space

2015-09-16 Thread Sakshi Vaid
Removed the unnecessary space in the declaration of a pointer. The following error was given. ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Sakshi Vaid <sakshivai...@gmail.com> --- drivers/staging/lustre/lustre/mgc/mgc_request.c | 2 +- 1 file

[PATCH v2] Staging: lustre: lustre: lov: lov_dev.c: Added missing blank line

2015-09-14 Thread Sakshi Vaid
line 158: WARNING: Missing a blank line after declarations line 183: WARNING: Missing a blank line after declarations Added a missing blank line after declartions. Signed-off-by: Sakshi Vaid <sakshivai...@gmail.com> --- drivers/staging/lustre/lustre/lov/lov_dev.c | 2 ++ 1 file chan

[PATCH] Staging: lustre: lustre: lclient: lcommon_cl.c: Fixed coding style error

2015-09-14 Thread Sakshi Vaid
Fixed the following error. WARNING: More than 80 characters in a line. Signed-off-by: Sakshi Vaid <sakshivai...@gmail.com> --- drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/l

[PATCH] Staging: lustre: lustre: lov: lov_dev.c: Added missing blank line

2015-09-14 Thread Sakshi Vaid
Added a missing blank line after declarations. 158: WARNING: Missing a blank line after declarations 183: WARNING: Missing a blank line after declarations Signed-off-by: Sakshi Vaid <sakshivai...@gmail.com> --- drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 4 ++-- drivers/staging/