[PATCH] staging: rtl8192e: Using comparison to true is error prone

2020-05-20 Thread John Oldman
fix below issue reported by checkpatch.pl: CHECK: Using comparison to true is error prone CHECK: Using comparison to false is error prone Signed-off-by: John Oldman --- drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH] staging: rtl8192e: Using comparison to true is error prone

2020-05-23 Thread John Oldman
clear below issues reported by checkpatch.pl: CHECK: Using comparison to false is error prone Signed-off-by: John Oldman --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers

[PATCH] staging: rtl8192e: Using comparison to false is error prone

2020-06-02 Thread John Oldman
clear below issues reported by checkpatch.pl: CHECK: Using comparison to false is error prone Signed-off-by: John Oldman --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers

[PATCH] staging: media: usbvision: usbvision-core Correct spelling

2020-04-28 Thread John Oldman
Correct spelling in comment Signed-off-by: John Oldman --- drivers/staging/media/usbvision/usbvision-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/usbvision/usbvision-core.c b/drivers/staging/media/usbvision/usbvision-core.c index f05a5c84dc18

[PATCH-3] staging: rts5208: rtsx: Use balanced braces for if/else if blocks

2020-04-28 Thread John Oldman
Coding style issues Signed-off-by: John Oldman --- v1: Initial attempt v2: Do more blocks v3: Single patch drivers/staging/rts5208/rtsx.c | 20 +++- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/drivers/staging/rts5208/rtsx.c b/drivers/staging/rts5208/rtsx.c

Re: [PATCH] Staging: mt7621-dma: mtk-hsdma.c: Fix Missing a blank line after declarations

2020-04-28 Thread John Oldman
KH wrote: > > On Sun, Apr 26, 2020 at 05:13:19PM +0100, John Oldman wrote: > > Fixed coding style issue > > No you didn't :) > > > > > Signed-off-by: John Oldman > > --- > > drivers/staging/mt7621-dma/mtk-hsdma.c | 1 + > > 1 file changed, 1 inser

[PATCH V2] Subject: [PATCH] staging: rtl8723bs: core: Using comparison to true is error prone

2020-07-25 Thread John Oldman
clear below issues reported by checkpatch.pl: CHECK: Using comparison to true is error prone Signed-off-by: John Oldman --- v1: Initial attempt. v2: Removed unneccessary parentheses around 'pregistrypriv->ht_enable' Also considered clearing 'CHECK: Logical continuations sho

[PATCH V3] staging: rtl8723bs: core: Using comparison to true is error prone

2020-07-25 Thread John Oldman
clear below issues reported by checkpatch.pl: CHECK: Using comparison to true is error prone Signed-off-by: John Oldman --- v1- First attempt: removed comparison to true. v2- Removed unneccessary parentheses around 'pregistrypriv->ht_enable, missed in v1. v3- Corrected the 'odd' subject l

[PATCH] Staging: rtl8723bs: os_de: if-else coding style issues

2020-05-15 Thread John Oldman
Coding style issues: This patch clears the checkpatch.pl "braces {} are not necessary for single statement blocks" and "else_should_follow_close_brace" warnings." Signed-off-by: John Oldman --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 49 +++-- 1 fi

[PATCH] Staging: rtl8723bs: os_de: if-else coding style issue

2020-05-15 Thread John Oldman
Coding style issues: This patch clears the checkpatch.pl "braces {} are not necessary for single statement blocks" and "else_should_follow_close_brace" warnings. Signed-off-by: John Oldman --- v1: First attempt v2: Followed The rule is that "if one side of the if else s

[PATCH V2] Staging: rtl8723bs: os_de: if-else coding style issue

2020-05-15 Thread John Oldman
Coding style issues: This patch clears the checkpatch.pl "braces {} are not necessary for single statement blocks" and "else_should_follow_close_brace" warnings. Signed-off-by: John Oldman --- v1: First attempt v2: Followed The rule is that "if one side of the if else s

[PATCH] staging: rtl8723bs: Using comparison to true is error prone

2020-05-15 Thread John Oldman
fix below issue reported by checkpatch CHECK: Using comparison to true is error prone CHECK: Using comparison to false is error prone Signed-off-by: John Oldman --- drivers/staging/rtl8723bs/core/rtw_security.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCH] staging: rtl8192u: Using comparison to true is error prone

2020-05-16 Thread John Oldman
fix below issue reported by checkpatch: CHECK: Using comparison to true is error prone CHECK: Using comparison to false is error prone Signed-off-by: John Oldman --- drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] staging: vc04_services: interface: vchiq_arm: vchiq_connected.c: Block comments should align the * on each line

2020-05-09 Thread John Oldman
Coding style issue Signed-off-by: John Oldman --- .../interface/vchiq_arm/vchiq_connected.c | 32 +-- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_connected.c b/drivers/staging/vc04_services

Re: [PATCH] staging: vc04_services: interface: vchiq_arm: vchiq_connected.c: Block comments should align the * on each line

2020-05-09 Thread John Oldman
Hi Greg Yea, thanks for the feedback. Will fix and resend... John On Sat, 9 May 2020 at 18:11, Greg KH wrote: > > On Sat, May 09, 2020 at 02:07:14PM +0100, John Oldman wrote: > > Coding style issue > > Your subject line needs to be much shorter, don't you think? > >

[PATCH V2] staging: vc04_services: vchiq_connected.c: Block comment alignment

2020-05-10 Thread John Oldman
Coding style issue Signed-off-by: John Oldman --- v1: Initial attempt. V2: Resubmitted with shorter comment line, as suggested by Greg KH. This patch clears the checkpatch.pl "Block comments should align the * on each line" warning. .../interface/vchiq_arm/vchiq_connected.

Re: [PATCH V2] staging: vc04_services: vchiq_connected.c: Block comment alignment

2020-05-10 Thread John Oldman
Thanks for the feedback Greg. Will resubmit the patch as you suggest. Thanks john On Sun, 10 May 2020 at 07:55, Greg KH wrote: > > On Sun, May 10, 2020 at 07:06:45AM +0100, John Oldman wrote: > > Coding style issue > > > > Signed-off-by: John Oldman > > --- &

[PATCH V3] staging: vc04_services: vchiq_connected.c: Block comment alignment

2020-05-10 Thread John Oldman
Coding style issue This patch clears the checkpatch.pl "Block comments should align the * on each line" warning. Signed-off-by: John Oldman --- v1: Initial attempt. v2: Resubmitted with shorter comment line, as suggested by Greg KH. v3: Resubmitted with descriptiuon text moved into t

Re: [PATCH V3] staging: vc04_services: vchiq_connected.c: Block comment alignment

2020-05-13 Thread John Oldman
yea I agree, will re-submit... Cheers john On Wed, 13 May 2020 at 12:58, Greg KH wrote: > > On Sun, May 10, 2020 at 11:13:08AM +0100, John Oldman wrote: > > Coding style issue > > This patch clears the checkpatch.pl "Block comments should align the * on > > each

[PATCH V4] staging: vc04_services: Block comment alignment

2020-05-13 Thread John Oldman
Coding style issue reported by checkpatch.pl This patch clears the checkpatch.pl "Block comments should align the * on each line" warning. Also cleared /** and blank line. Signed-off-by: John Oldman --- v1: Initial attempt. v2: Resubmitted with shorter comment line, as suggested

[PATCH] staging: rtl8723bs: Using comparison to true is error prone

2020-07-07 Thread John Oldman
clear below issues reported by checkpatch.pl: CHECK: Using comparison to false is error prone CHECK: Using comparison to true is error pron Signed-off-by: John Oldman --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 70 ++--- 1 file changed, 32 insertions(+), 38 deletions

[PATCH] staging: rtl8723bs: Using comparison to true is error prone

2020-07-07 Thread John Oldman
clear below issues reported by checkpatch.pl: CHECK: Using comparison to false is error prone CHECK: Using comparison to true is error prone Signed-off-by: John Oldman --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 70 ++--- 1 file changed, 32 insertions(+), 38 deletions

[PATCH] staging: rtl8192u: Using comparison to true is error prone

2020-07-06 Thread John Oldman
clear below issues reported by checkpatch.pl: CHECK: Using comparison to false is error prone Signed-off-by: John Oldman --- drivers/staging/rtl8192u/r8192U_dm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_dm.c b/drivers/staging

[PATCH] staging: rtl8712/: Using comparison to true is error prone

2020-07-10 Thread John Oldman
clear below issues reported by checkpatch.pl: CHECK: Using comparison to true is error prone CHECK: Comparison to NULL should be written "!oldest" Signed-off-by: John Oldman --- drivers/staging/rtl8712/rtl871x_mlme.c | 8 1 file changed, 4 insertions(+), 4 deletions(-)

[PATCH] staging: rtl8723bs: core: Using comparison to true is error prone

2020-07-10 Thread John Oldman
clear below issues reported by checkpatch.pl: CHECK: Using comparison to true is error prone Signed-off-by: John Oldman --- drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c b

[PATCH] staging: rtl8192e: Using comparison to true is error prone

2020-05-21 Thread John Oldman
clear below issues reported by checkpatch.pl: CHECK: Using comparison to true is error prone CHECK: Using comparison to false is error prone Signed-off-by: John Oldman --- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git