[PATCH] staging: lustre: fix sparse warning

2015-04-05 Thread Tal Shorer
Sparse reports: drivers/staging/lustre/lustre/obdclass/obd_mount.c:1284:6: warning: symbol 'lustre_kill_super' was not declared. Should it be static? Fix this warning by making lustre_kill_super static. It is not used outside this file. Signed-off-by: Tal Shorer --- drivers/stag

[PATCH v4 3/3] staging: lustre: fix coding style errors fix the

2015-02-10 Thread Tal Shorer
following coding style error in drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c: missing spaces around '=' Signed-off-by: Tal Shorer --- drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/stag

[PATCH v4 2/3] staging: lustre: fix coding style errors

2015-02-10 Thread Tal Shorer
fix the following coding style error in drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c: initialization of min_watchdog_ratelimit (static int) to 0 for clarity's sake, the "= 0" is kept as part of a comment Signed-off-by: Tal Shorer --- drivers/staging/lustre/lustre/lib

[PATCH v4 1/3] staging: lustre: fix coding style errors

2015-02-10 Thread Tal Shorer
fix the following coding style error in drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c: initialization of lnet_table_header (static pointer) to NULL Signed-off-by: Tal Shorer --- drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [PATCH v3] staging: lustre: fix coding style errors

2015-02-09 Thread Tal Shorer
larity's sake. It is: initializing min_watchdog_ratelimit (static int) to 0 Signed-off-by: Tal Shorer --- drivers/staging/lustre/lustre/ libcfs/linux/linux-proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c b/driv

[PATCH v2] staging: lustre: fix coding style errors in drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c

2015-02-08 Thread Tal Shorer
Signed-off-by: Tal Shorer --- Decided not to #define the constants away because their addresses are used later in the file. drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/libcfs/linux

[PATCH] staging: lustre: fix coding style errors in drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c

2015-02-05 Thread Tal Shorer
Signed-off-by: Tal Shorer --- drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c b/drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c index c539e37