Re: [PATCH] staging: wilc1000: Fix incorrent type in assignment

2019-02-25 Thread YU Bo
On Tue, Feb 26, 2019 at 06:39:28AM +, ajay.kat...@microchip.com wrote: On 2/26/2019 8:58 AM, Bo YU wrote: The patch fixes following sparse warning: drivers/staging/wilc1000/host_interface.c:450:30: warning: incorrect type in assignment (different base types)

Re: [PATCH] staging/ks7070: Removed unused varibale

2019-02-23 Thread YU Bo
On Sat, Feb 23, 2019 at 08:43:20AM +0100, Greg KH wrote: On Sat, Feb 23, 2019 at 01:39:39AM -0500, Bo YU wrote: From: Bo Yu Compiling the kernel with W=1 results in the following warning: drivers/staging/ks7010/ks_hostif.c:465:6: warning: variable ‘mib_val_type’ set but not used

Re: [PATCH V2] staging: ks7070: removed unused varibales

2019-02-22 Thread YU Bo
On Sat, Feb 23, 2019 at 02:27:12AM -0500, Bo YU wrote: From: Bo Yu Compiling the kernel with W=1 results in the following warning: drivers/staging/ks7010/ks_hostif.c:465:6: warning: variable ‘mib_val_type’ set but not used [-Wunused-but-set-variable] u16 mib_val_type;

Re: [PATCH] staging/erofs: fix sparse's warnings on undeclared symbols in erofs

2019-02-21 Thread YU Bo
Hi, On Thu, Feb 21, 2019 at 10:35:01PM +0800, Gao Xiang wrote: Hi Bo, On 2019/2/21 22:28, Bo YU wrote: From: Bo Yu Fix sparse warnings: drivers/staging/erofs/utils.c:134:6: warning: symbol 'erofs_try_to_release_workgroup' was not declared. Should it be static? Fixes:

[PATCH] Staging: wlan-ng: Fix trailing */ in block comments.

2016-05-11 Thread YU Bo
Fix checkpatch.pl warning: WARNING: Block comments use a trailing */ on a separate line. Signed-off-by: Bo Yu --- drivers/staging/wlan-ng/prism2mib.c | 506 ++-- 1 file changed, 253 insertions(+), 253 deletions(-) diff --git

Re: [PATCH] staging:xgifb: Fix Comparisons should place the constant on the right side of the test warning

2016-04-27 Thread YU Bo
On Wed, Apr 27, 2016 at 04:58:36PM +0300, Dan Carpenter wrote: On Wed, Apr 27, 2016 at 09:27:39AM -0400, YU Bo wrote: Fixed checkpatch.pl's warning 'Comparisons should place the constant on the right side of the test' Signed-off-by: YU Bo <tsu.y...@gmail.com> --- drivers/staging

[PATCH] staging:xgifb: Fix Comparisons should place the constant on the right side of the test warning

2016-04-27 Thread YU Bo
Fixed checkpatch.pl's warning 'Comparisons should place the constant on the right side of the test' Signed-off-by: YU Bo <tsu.y...@gmail.com> --- drivers/staging/xgifb/vb_setmode.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmod

[PATCH] staging: xgifb: Fix comment style

2016-03-12 Thread YU Bo
Fix comments to use * on subsequent lines. Signed-off-by: YU BO <tsu.y...@gmail.com> --- drivers/staging/xgifb/vb_init.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/staging/xgifb/vb_init.c index 26b539

[PATCH] staging: xgifb: Fix comment style

2016-03-12 Thread YU Bo
Fix comments to use trailing */ on separste lines. Signed-off-by: YU BO <tsu.y...@gmail.com> --- drivers/staging/xgifb/vb_init.c|3 ++- drivers/staging/xgifb/vb_setmode.c |3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/vb_init.c b/d

Re: [PATCH] staging: xgifb: Fix comments style in vb_init.c

2016-03-11 Thread YU Bo
On Fri, Mar 11, 2016 at 01:41:40PM -0800, Kroah-Hartman wrote: On Tue, Feb 23, 2016 at 11:45:18PM -0500, YU Bo wrote: Fix comments to use trailing */ on separate lines. Signed-off-by: YU BO <tsu.y...@gmail.com> You sent me 2 patches that did different things yet had the same subjec

[PATCH] staging: xgifb: Fix comments style in vb_init.c

2016-02-23 Thread YU Bo
Fix comments to use trailing */ on separate lines. Signed-off-by: YU BO <tsu.y...@gmail.com> --- drivers/staging/xgifb/vb_init.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/staging/xgifb/vb_init.c index 4

[PATCH] staging: xgifb: Fix comments style in vb_init.c

2016-02-23 Thread YU Bo
Fix comments to use trailing */ on separate lines. Signed-off-by: YU BO <tsu.y...@gmail.com> --- drivers/staging/xgifb/vb_init.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/staging/xgifb/vb_init.c index 26b539b..4

[PATCH] Staging: xgifb: vb_init.c: Coding style warning fix block comments

2016-01-22 Thread YU Bo
This patch is to vb_init.c file that fixes up following warnings reported by checkpatch.pl: WARNING: Block comments use a trailing */ on a separate line Signed-off-by: YU BO <tsu.y...@gmail.com> --- drivers/staging/xgifb/vb_init.c |6 -- 1 file changed, 4 insertions(+), 2 del

[PATCH] Staging: xgifb: vb_init: Coding style warning fix block comments

2016-01-22 Thread YU Bo
This is a patch to the vb_init.c file that fixes up a warning reported by checkpatch.pl: WARNING: Block comments use a trailing */ on a separate line Singed-off-by: YU BO <tsu.y...@gmail.com> --- drivers/staging/xgifb/vb_init.c |6 -- 1 file changed, 4 insertions(+), 2 del

[PATCH] Staging: xgifb: vb_init.c: Coding style warning fix block comment

2016-01-22 Thread YU Bo
This is a patch to the vb_init.c file that fixes up a warning reported by checkpatch.pl: WARNING: Block comments use * on subsequent lines Signed-off-by: YU BO <tsu.y...@gmail.com> --- drivers/staging/xgifb/vb_init.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-)

[PATCH] Staging: wlan-ng: prism2mgmt.h: Coding style warning fix for block comments

2016-01-16 Thread YU Bo
This patch is to prism2mgmt.h file that fixes up following warnings reported by checkpatch.pl: A): Block comments use a trailing */ on a separate line Signed-off-by: YU BO <tsu.y...@gmail.com> --- drivers/staging/wlan-ng/prism2mgmt.h |8 1 file changed, 4 insertions(+), 4 del

[PATCH] Staging: xgifb: vgatypes.h: Coding style warning fix for block comments

2016-01-14 Thread YU Bo
This patch is to vgatypes.h file that fixes up following warnings reported by checkpatch.pl tool Signed-off-by: YU Bo <tsu.y...@gmail.com> --- drivers/staging/xgifb/vgatypes.h | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/staging/xgifb/vgatyp

[PATCH] Staging: xgifb: vb_table.h: Coding style warning fix for block comments

2016-01-14 Thread YU Bo
This patch is to vb_table.h file that fixes up following warnings reported by checkpatch.pl: I) Block comments use * on subsequent lines. Signed-off-by: YU Bo <tsu.y...@gmail.com> --- drivers/staging/xgifb/vb_table.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH] Staging: comedi.h: Fix coding style issue in comedi.h

2016-01-13 Thread YU Bo
This is a patch to the comedi.h file that fixes up warnings found by the checkpatch.pl tool Signed-off-by: YU Bo <tsu.y...@gmail.com> --- drivers/staging/comedi/comedi.h | 260 +++ 1 个文件被修改,插入 154 行(+),删除 106 行(-) diff --git a/drivers/staging/

[PATCH] Staging: comedi: fix more characters coding style issue in comedi_pcmcia.h

2016-01-13 Thread YU Bo
This is a patch to the comedi_pcmcia.h file that fixes up a "line over 80 characters" warning found by the checkpatch.pl tool Signed-off-by: YU Bo <tsu.y...@gmail.com> --- drivers/staging/comedi/comedi_pcmcia.h |3 ++- 1 个文件被修改,插入 2 行(+),删除 1 行(-) diff --git a/driver