[PATCH] staging: lustre: lustre: ptlrpc: Fix space required

2014-08-31 Thread Hema Prathaban
This patch fixes the checkpatch.pl issue Error: Required space after " '+' ',' '=' '(' ' if' " Signed-off-by: Hema Prathaban --- drivers/staging/lustre/lustre/ptlrpc/client.c | 2 +- drivers/staging/lustre/lustre/ptlrpc/i

[PATCH] staging: lustre: lustre: ptlrpc: Fix space required

2014-08-21 Thread Hema Prathaban
This patch fixes the checkpatch.pl issue Error: Required space after " '+' ',' '=' '(' ' if' " Signed-off-by: Hema Prathaban --- drivers/staging/lustre/lustre/ptlrpc/client.c | 2 +- drivers/staging/lustre/lustre/ptlrpc/ev

[PATCH] staging: lustre: lustre: ptlrpc: Placing inline keyword

2014-08-19 Thread Hema Prathaban
This patch fixes the following error using checkpatch.pl ERROR: inline keyword should sit between storage class and type Signed-off-by: Hema Prathaban --- drivers/staging/lustre/lustre/ptlrpc/sec_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre

[PATCH] staging: lustre: lustre: libcfs: do not use assignment in if condition

2014-08-16 Thread Hema Prathaban
This patch fixes the following error using checkpatch.pl Error: do not use assignment in if condition Signed-off-by: Hema Prathaban --- drivers/staging/lustre/lustre/libcfs/debug.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/lustre/lustre/libcfs

[PATCH v2] staging: lustre: lustre: libcfs: pr_warn instead printk

2014-08-16 Thread Hema Prathaban
This patch fixes the following warning using checkpatch.pl WARNING: Prefer [subsystem eg: netdev]_warn([subsystem]dev, ... then dev_warn(dev, ... then pr_warn(... to printk(KERN_WARNING ... Signed-off-by: Hema Prathaban --- drivers/staging/lustre/lustre/libcfs/debug.c | 6 +++--- 1 file

[PATCH] staging: lustre: lustre: libcfs: pr_warn instead printk

2014-08-15 Thread Hema Prathaban
This patch fixes the following warning using checkpatch.pl WARNING: Prefer [subsystem eg: netdev]_warn([subsystem]dev, ... then dev_warn(dev, ... then pr_warn(... to printk(KERN_WARNING ... Signed-off-by: Hema Prathaban --- drivers/staging/lustre/lustre/libcfs/debug.c | 6 +++--- 1 file

[PATCH] staging: lustre: lustre: ptlrpc: Donot initialise null

2014-08-14 Thread Hema Prathaban
This patch fixes the following error using checkpatch.pl Error: Do not initialise statics to 0 or NULL Signed-off-by: Hema Prathaban --- drivers/staging/lustre/lustre/ptlrpc/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/ptlrpc

[PATCH] staging: lustre: lustre: ptlrpc: Fix pointer declaration

2014-08-13 Thread Hema Prathaban
This patch fixes the following checkpatch.pl issue in client.c: ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Hema Prathaban --- drivers/staging/lustre/lustre/ptlrpc/client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/

[PATCH] staging: lustre: lustre: ptlrpc: Fix pointer declaration

2014-08-13 Thread Hema Prathaban
This patch fixes the following checkpatch.pl issue in client.c: ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Hema Prathaban --- drivers/staging/lustre/lustre/ptlrpc/client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/