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
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
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
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
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/