[PATCH] staging: lustre: Fix function declaration/definition mismatch

2016-12-04 Thread sandeepjain . linux
From: Sandeep Jain Fixes following Sparse errors. lprocfs_status.c:1568:5: error: symbol 'lprocfs_wr_root_squash' redeclared with different type... lprocfs_status.c:1632:5: error: symbol 'lprocfs_wr_nosquash_nids' redeclared with different type... Signed-off-by: Sandeep Jain --- drivers/stagin

[PATCH] staging: lustre: mgc: make llog_process_lock static

2016-12-04 Thread sandeepjain . linux
From: Sandeep Jain Fix following sparse warning. mgc_request.c:376:1: warning: symbol 'llog_process_lock' was not declared. Should it be static? Signed-off-by: Sandeep Jain --- drivers/staging/lustre/lustre/mgc/mgc_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d

[PATCH] staging: lowmemorykiller: fix 2 checks that checkpatch complained

2016-02-29 Thread sandeepjain . linux
From: Sandeep Jain Specifically: lowmemorykiller.c:53: CHECK: use a blank line after enum declarations lowmemorykiller.c:60: CHECK: use a blank line after enum declarations Signed-off-by: Sandeep Jain --- drivers/staging/android/lowmemorykiller.c | 2 ++ 1 file changed, 2 insertions(+) diff -