[PATCH] staging: isdn: To make hysdn_proc_entry static.

2019-06-08 Thread Rishiraj Manwatkar
Made hysdn_proc_entry static as suggested by Sparse tool. Signed-off-by: Rishiraj Manwatkar --- drivers/staging/isdn/hysdn/hysdn_procconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/isdn/hysdn/hysdn_procconf.c b/drivers/staging/isdn/hysdn

[PATCH] staging: kpc2000: To make symbols static

2019-06-09 Thread Rishiraj Manwatkar
This patch makes 4 symbols static as suggested by Sparse tool. Signed-off-by: Rishiraj Manwatkar --- drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c b/drivers/staging

[PATCH] staging: kpc2000: Fix: 'kpc_dma_del_device' and other symbols were not declared

2019-06-10 Thread Rishiraj Manwatkar
4: warning: symbol 'kpc_dma_class' was not declared. Should it be static? drivers/staging/kpc2000//kpc_dma/kpc_dma_driver.c:199:24: warning: symbol 'kpc_dma_plat_driver_i' was not declared. Should it be static? Signed-off-by: Rishiraj Manwatkar --- drivers/staging/kpc2000/kpc_dma/

[Patch v2 2/2] lustre: fix coding style issue

2017-04-15 Thread Rishiraj Manwatkar
Comparison should have the CONSTANT on the right side of the test Signed-off-by: Rishiraj Manwatkar --- drivers/staging/lustre/lustre/obdclass/cl_io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/obdclass/cl_io.c b/drivers/staging/lustre

[Patch v2 1/2] lustre: Parantheses added for Macro argument to avoid precedence issues

2017-04-15 Thread Rishiraj Manwatkar
From: RishirajAM Parantheses are added for Macro argument, to avoid precedence issues. Signed-off-by: Rishiraj Manwatkar --- drivers/staging/lustre/lustre/obdclass/cl_io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/obdclass/cl_io.c b

[Patch v3 2/2] lustre: CONSTANTS put on right side of comparison test

2017-04-15 Thread Rishiraj Manwatkar
Comparison should have the CONSTANT on the right side of the test Signed-off-by: Rishiraj Manwatkar --- v1 -> v2: Added mailing list in cc. v2 -> v3: Improved Subject line. drivers/staging/lustre/lustre/obdclass/cl_io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -

[Patch v3 1/2] lustre: Parantheses added for Macro argument to avoid precedence issues

2017-04-15 Thread Rishiraj Manwatkar
Parantheses are added for Macro argument, to avoid precedence issues. Signed-off-by: Rishiraj Manwatkar --- v1 -> v2: Added mailing list in cc. v2 -> v3: Changed From: to be same as Signed-off-by:. drivers/staging/lustre/lustre/obdclass/cl_io.c | 4 ++-- 1 file changed, 2 insertions

[Patch v4 1/2] staging/lustre: add parenthesis to macro argument

2017-04-19 Thread Rishiraj Manwatkar
Add parenthesis to cl_io_for_each() macro to avoid potential issues with unexpected argument expansion in CPP. Signed-off-by: Rishiraj Manwatkar --- v1 -> v2: Added mailing list in cc. v2 -> v3: Changed From: to be same as Signed-off-by:. v3 -> v4: Changed Subject line and patch de

[PATCH 1/1] fbtft:Fix to avoid precedence issues

2017-05-19 Thread Rishiraj Manwatkar
Parentheses added to avoid operator precedence issues. Signed-off-by: Rishiraj Manwatkar --- drivers/staging/fbtft/fb_hx8340bn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fb_hx8340bn.c b/drivers/staging/fbtft/fb_hx8340bn.c index 1ca1fcd..fbd5ef5