[PATCH 2/2] staging: media: ipu3: code style fix - missing a blank line after declarations

2021-02-21 Thread Nikolay Kyx
This patch fixes the following checkpatch.pl warning: WARNING: Missing a blank line after declarations in file ipu3-css-fw.h Signed-off-by: Nikolay Kyx --- Additionally some style warnings remain valid here and could be fixed by another patch. drivers/staging/media/ipu3/ipu3-css-fw.h | 1 +

Re: [PATCH 2/2] staging: media: ipu3: code style fix - missing a blank line after declarations

2021-02-21 Thread Greg Kroah-Hartman
On Sun, Feb 21, 2021 at 11:12:36AM +0300, Nikolay Kyx wrote: > This patch fixes the following checkpatch.pl warning: > > WARNING: Missing a blank line after declarations > > in file ipu3-css-fw.h > > Signed-off-by: Nikolay Kyx > --- > > Additionally some style warnings remain valid here and

Your response needed:

2021-02-21 Thread Femi Brown
This mail is been writing to you because we have come to understand that you have lost a lot of money all because you want to receive your fund well note that all that have been put to a stop as the federal government of Nigeria has promised to assist you with the sum of five million American

Re: [PATCH] staging: wimax: Fix block comment style issue in stack.c

2021-02-21 Thread Greg KH
On Sat, Feb 20, 2021 at 01:55:25AM +0530, Amrit Khera wrote: > This change fixes a checkpatch warning for "Block comments > use * on subsequent lines". > > Signed-off-by: Amrit Khera > --- > drivers/staging/wimax/stack.c | 11 ++- > 1 file changed, 6 insertions(+), 5 deletions(-) > >

[PATCH 3/3] staging: media/atomisp: don't compile unused code

2021-02-21 Thread karthik alapati
currently the functions defined in ibuf_ctrl_rmgr.c file are only used by isys_init.c when CONFIG_VIDEO_ATOMISP_ISP2401 is selected so dont't compile it when not needed, also fixes some sparse warnings Signed-off-by: karthik alapati --- drivers/staging/media/atomisp/Makefile | 5 +++-- 1 file

[PATCH 2/3] staging: wimax/i2400m: convert __le32 type to host byte-order

2021-02-21 Thread karthik alapati
fix sparse type warning by converting __le32 types to host byte-order types before comparison Signed-off-by: karthik alapati --- drivers/staging/wimax/i2400m/fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wimax/i2400m/fw.c

[PATCH 0/3] fix sparse warnings

2021-02-21 Thread karthik alapati
the following patches fixes two byte-order issues and a Makefile issue and fixes these sparse warnings drivers/staging//wimax/i2400m/op-rfkill.c:89:25: warning: incorrect type in assignment (different base types) drivers/staging//wimax/i2400m/op-rfkill.c:89:25:expected restricted __le16

[PATCH 1/3] staging: wimax/i2400m: fix byte-order issue

2021-02-21 Thread karthik alapati
fix sparse byte-order warnings by converting host byte-order type to __le16 byte-order types before assigning to hdr.length Signed-off-by: karthik alapati --- drivers/staging/wimax/i2400m/op-rfkill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 1/2] staging: wimax/i2400m: fix byte-order issue

2021-02-21 Thread karthik alapati
fix sparse byte-order warnings by converting host byte-order type to __le16 byte-order types before assigning to hdr.length Signed-off-by: karthik alapati --- drivers/staging/wimax/i2400m/op-rfkill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 0/2] fix sparse warnings

2021-02-21 Thread karthik alapati
the following patches fixes two byte-order issues and fixes these sparse warnings drivers/staging//wimax/i2400m/op-rfkill.c:89:25: warning: incorrect type in assignment (different base types) drivers/staging//wimax/i2400m/op-rfkill.c:89:25:expected restricted __le16 [usertype] length

[PATCH 2/2] staging: wimax/i2400m: convert __le32 type to host byte-order

2021-02-21 Thread karthik alapati
fix sparse type warning by converting __le32 types to host byte-order types before comparison Signed-off-by: karthik alapati --- drivers/staging/wimax/i2400m/fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wimax/i2400m/fw.c

[PATCH] staging/greybus: eliminate use of NAME_SIZE for strings

2021-02-21 Thread Kumar Kartikeya Dwivedi
Instead, depend on the size of the destination buffer for easier refactoring. Signed-off-by: Kumar Kartikeya Dwivedi --- Hopefully, this is more thorough. The only cases left now are where the destination string is represented by a pointer, otherwise all call sites with a fixed sized buffer have

Re: [PATCH] staging: wimax/i2400m: fix byte-order type issue

2021-02-21 Thread Greg Kroah-Hartman
On Sat, Feb 20, 2021 at 06:22:31PM +0530, karthik alapati wrote: > fix sparse type warning by converting le32 types to > host byte-order types before comparison > > Signed-off-by: karthik alapati > --- > drivers/staging/wimax/i2400m/fw.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH v2] staging: wimax: i2400m: add space before open parenthesis

2021-02-21 Thread Greg KH
On Sat, Feb 20, 2021 at 05:46:52AM -0800, Rajesh Kumbhakar wrote: > netdev.c > > fixing style ERROR: space required before the open parenthesis '(' > > Signed-off-by: Rajesh Kumbhakar > --- > Changes in v2: > - Removed filename from commit message. filename is still in commit message :(

Re: [PATCH v1] Staging: rtl8192e: fix kconfig dependency on CRYPTO

2021-02-21 Thread Greg KH
On Sat, Feb 20, 2021 at 12:22:43PM -0500, Julian Braha wrote: > >From fd949b204eeb6b685bbf5dc9a329c931fcf8b0da Mon Sep 17 00:00:00 2001 > From: Julian Braha > Date: Sat, 20 Feb 2021 12:07:30 -0500 > Subject: [PATCH] staging: rtl8192e: fix kconfig dependency on CRYPTO Why is this all in the body

Re: [PATCH 2/2] staging: rtl8192e: Change state information from u16 to u8

2021-02-21 Thread Greg KH
On Sat, Feb 20, 2021 at 11:51:55PM +0530, Atul Gopinathan wrote: > The "CcxRmState" field in struct "rtllib_network" is defined > as a u16 array of size 2 (so, 4 bytes in total). > > But the operations performed on this array throughout the code > base (in rtl8192e/) are all in byte size 2

[PATCH] staging: octeon: refactor interface check logic in ethernet.c

2021-02-21 Thread Shreesh Adiga
The check for interface is duplicated in 3 places and has been refactored into a function. Also the if condition was wrapping the whole body in all three places, so it has been changed to return if the condition is false to reduce the indentation levels. Signed-off-by: Shreesh Adiga

[PATCH v2] staging: media: ipu3: code style fix - avoid multiple line dereference

2021-02-21 Thread Nikolay Kyx
This patch fixes the following checkpatch.pl warning: WARNING: Avoid multiple line dereference in file ipu3-css.c Signed-off-by: Nikolay Kyx --- Additionally some style warnings remain valid here and could be fixed by another patch. v2: Removed second part of patch which fixes non-existent

Re: [PATCH] staging: hikey9xx: Fix space tab style warnings

2021-02-21 Thread Greg KH
On Fri, Feb 19, 2021 at 02:38:51PM +, Lee Gibson wrote: > This patch fixes the checkpatch warnings such as: > > hi6421-spmi-pmic.c:51: WARNING: please, no space before tabs > > Signed-off-by: Lee Gibson > --- > drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 8 > 1 file changed, 4

[PATCH v4 01/02] staging: kpc2000: code style: match alignment with open parenthesis

2021-02-21 Thread Nikolay Kyx
This patch fixes the following checkpatch.pl check: CHECK: Alignment should match open parenthesis in files kpc2000_i2c.c kpc2000_spi.c Signed-off-by: Nikolay Kyx --- Additionally some style warnings remain valid here and could be fixed by another patch. v2: Edited changelog, as suggested by

[PATCH v4 02/02] staging: kpc2000: code style: fix line length issue

2021-02-21 Thread Nikolay Kyx
This patch fixes the following checkpatch.pl warning: WARNING: line length of 124 exceeds 100 columns in file kpc2000_i2c.c Signed-off-by: Nikolay Kyx --- Additionally some style warnings remain valid here and could be fixed by another patch. v2: Edited changelog, as suggested by Greg KH

Re: [PATCH] staging: octeon: refactor interface check logic in ethernet.c

2021-02-21 Thread Greg Kroah-Hartman
On Sun, Feb 21, 2021 at 08:25:05PM +0530, Shreesh Adiga wrote: > The check for interface is duplicated in 3 places and has been refactored > into a function. Also the if condition was wrapping the whole body in all > three places, so it has been changed to return if the condition is false > to

[PATCH] staging: media/atomisp: don't compile unused code

2021-02-21 Thread karthik alapati
currently the functions defined in ibuf_ctrl_rmgr.c file are only used by isys_init.c when CONFIG_VIDEO_ATOMISP_ISP2401 is selected so dont't compile it when not needed, also fixes some sparse warnings Signed-off-by: karthik alapati --- drivers/staging/media/atomisp/Makefile | 5 +++-- 1 file

Re: [PATCH 2/2] staging: media: ipu3: code style fix - missing a blank line after declarations

2021-02-21 Thread Nikolay K.
I can't find any change in struct imgu_fw_info layout after this patch. But warning is strange, because declarations don't actually end here. So I think this warning should be suppressed to reduce noise in checkpatch.pl output. ___ devel mailing list

Re: [PATCH v3 01/02] staging: kpc2000: code style: fix alignment issues

2021-02-21 Thread Greg KH
On Fri, Feb 19, 2021 at 07:34:11PM +0300, Nikolay Kyx wrote: > This patch fixes the following checkpatch.pl check: > > CHECK: Alignment should match open parenthesis > > in files kpc2000_i2c.c kpc2000_spi.c > > Signed-off-by: Nikolay Kyx > --- > > Additionally some style warnings remain valid

Re: [PATCH v2] staging: wimax: i2400m: add space before open parenthesis

2021-02-21 Thread Rajesh Kumbhakar
On 21-02-2021 18:36, Greg KH wrote: On Sat, Feb 20, 2021 at 05:46:52AM -0800, Rajesh Kumbhakar wrote: netdev.c fixing style ERROR: space required before the open parenthesis '(' Signed-off-by: Rajesh Kumbhakar --- Changes in v2: - Removed filename from commit message. filename is

[PATCH v3] staging: wimax: i2400m: add space before open parenthesis

2021-02-21 Thread Rajesh Kumbhakar
fixing ERROR: space required before the open parenthesis '(' Signed-off-by: Rajesh Kumbhakar --- Changes in v3: - Fixed commit message (removed filename). Changes in v2: - Removed filename from commit message. drivers/staging/wimax/i2400m/netdev.c | 2 +- 1 file changed, 1

Re: [PATCH 3/3] staging: media/atomisp: don't compile unused code

2021-02-21 Thread Greg Kroah-Hartman
On Sun, Feb 21, 2021 at 07:34:57PM +0530, karthik alapati wrote: > currently the functions defined in ibuf_ctrl_rmgr.c file are only > used by isys_init.c when CONFIG_VIDEO_ATOMISP_ISP2401 is selected > so dont't compile it when not needed, also fixes some sparse warnings > > Signed-off-by:

[PATCH 1/2] staging: media: ipu3: code style fix - avoid multiple line dereference

2021-02-21 Thread Nikolay Kyx
This patch fixes the following checkpatch.pl warning: WARNING: Avoid multiple line dereference in file ipu3-css.c Signed-off-by: Nikolay Kyx --- Additionally some style warnings remain valid here and could be fixed by another patch. drivers/staging/media/ipu3/ipu3-css.c | 14 ++

[PATCH 1/2] staging: octeon: refactor interface check logic in ethernet.c

2021-02-21 Thread Shreesh Adiga
The check for interface is duplicated in 3 places and has been refactored into a function. Signed-off-by: Shreesh Adiga <16567adigashre...@gmail.com> --- drivers/staging/octeon/ethernet.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git

[PATCH -next] staging: comedi dt2814: Removed unused variables

2021-02-21 Thread Fatih Yildirim
Removed unused variables. Signed-off-by: Fatih Yildirim --- drivers/staging/comedi/drivers/dt2814.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/staging/comedi/drivers/dt2814.c b/drivers/staging/comedi/drivers/dt2814.c index

[PATCH] staging: media: omap4iss: code style - avoid macro argument precedence issues

2021-02-21 Thread Nikolay Kyx
This patch fixes the following checkpatch.pl check: CHECK: Macro argument 'i' may be better as '(i)' to avoid precedence issues in file iss_regs.h Signed-off-by: Nikolay Kyx --- Additionally some style warnings remain valid here and could be fixed by another patch.

[PATCH] staging: ks7010: Replace macros with do while loop.

2021-02-21 Thread chakravarthikulkarni
This commit fix errors found in checkpath.pl. Error message is: It is a good idea to keep complex macros in do while loop. Otherwise result may have side effect. Signed-off-by: chakravarthikulkarni --- drivers/staging/ks7010/ks_hostif.h | 24 1 file changed, 12

Re: [PATCH] staging: media: omap4iss: code style - avoid macro argument precedence issues

2021-02-21 Thread Laurent Pinchart
Hi Nikolay, Thank you for the patch. On Sun, Feb 21, 2021 at 10:53:08PM +0300, Nikolay Kyx wrote: > This patch fixes the following checkpatch.pl check: > > CHECK: Macro argument 'i' may be better as '(i)' to avoid precedence issues > > in file iss_regs.h > > Signed-off-by: Nikolay Kyx > ---

[PATCH 5/7] staging: rtl8192e: rename BaTimeoutValue to ba_timeout_value in ba_record struct

2021-02-21 Thread William Durand
Fixes a checkpatch CHECK issue. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 12 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h

[PATCH 1/7] staging: rtl8192e: rename Timer to timer in ba_record struct

2021-02-21 Thread William Durand
Fixes a checkpatch CHECK issue. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 10 +- drivers/staging/rtl8192e/rtl819x_TSProc.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git

[PATCH 0/7] staging: rtl8192e: ba_record struct cleanups

2021-02-21 Thread William Durand
This patchset fixes the checkpatch issues related to the `ba_record` struct defined in `rtl8192e/rtl819x_BA.h` (avoid camelcase). The last patch reformats the struct a bit to be more consistent with the other types defined in the same file. William Durand (7): staging: rtl8192e: rename Timer to

[PATCH 7/7] staging: rtl8192e: reformat ba_record struct

2021-02-21 Thread William Durand
This change uses a space instead of tabs between the type and name of each member of the struct. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h

[PATCH 4/7] staging: rtl8192e: rename BaParamSet to ba_param_set in ba_record struct

2021-02-21 Thread William Durand
Fixes a checkpatch CHECK issue. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 28 +++ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h

[PATCH 6/7] staging: rtl8192e: rename BaStartSeqCtrl to ba_start_seq_ctrl in ba_record struct

2021-02-21 Thread William Durand
Fixes a checkpatch CHECK issue. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 18 +- drivers/staging/rtl8192e/rtllib_tx.c | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff

[PATCH 3/7] staging: rtl8192e: rename DialogToken to dialog_token in ba_record struct

2021-02-21 Thread William Durand
Fixes a checkpatch CHECK issue. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 14 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h

[PATCH 2/7] staging: rtl8192e: rename bValid to b_valid in ba_record struct

2021-02-21 Thread William Durand
Fixes a checkpatch CHECK issue. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BA.h | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 22 +++--- drivers/staging/rtl8192e/rtllib_tx.c | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff

[PATCH 2/2] staging: octeon: reduce indentation levels for functions in ethernet.c

2021-02-21 Thread Shreesh Adiga
The if condition was wrapping the whole body in three functions, it has been changed to return if the condition is false to reduce the indentation levels. Signed-off-by: Shreesh Adiga <16567adigashre...@gmail.com> --- drivers/staging/octeon/ethernet.c | 194 +++--- 1 file

Re: [PATCH 2/2] staging: rtl8192e: Change state information from u16 to u8

2021-02-21 Thread Atul Gopinathan
On Sun, Feb 21, 2021 at 02:08:26PM +0100, Greg KH wrote: > On Sat, Feb 20, 2021 at 11:51:55PM +0530, Atul Gopinathan wrote: > > The "CcxRmState" field in struct "rtllib_network" is defined > > as a u16 array of size 2 (so, 4 bytes in total). > > > > But the operations performed on this array

Re: [PATCH v2] staging: wimax: Fix block comment style issue in stack.c

2021-02-21 Thread Greg KH
On Sun, Feb 21, 2021 at 10:07:59PM +0530, Amrit Khera wrote: > This change fixes a checkpatch warning for "Block comments > use * on subsequent lines". That's not all this patch does, please be descriptive of what you really do and why you are doing it. thanks, greg k-h

Re: [PATCH] staging: media: omap4iss: code style - avoid macro argument precedence issues

2021-02-21 Thread Laurent Pinchart
Hi Nikolay, On Mon, Feb 22, 2021 at 12:21:36AM +0300, Nikolay K. wrote: > Hi Laurent, > > Thank you for the review. > I think that if we drop the unneeded parentheses here, we need to drop > them everywhere in the file for consistency, even in places checkpatch.pl That's a good point. >

Hello

2021-02-21 Thread Mrs. Vera Aellen
Good day You have been selected to receive my grant donation. Please, contact me for further detail.I shall be expecting your quick response veraaell...@gmail.com Best Regards, Mrs. Vera Aellen -- This email has been checked for viruses by AVG. https://www.avg.com

[PATCH] Match alignment with open parenthesis

2021-02-21 Thread Mahak Gupta
This patches fixes the checks- 'Alignment should match open parenthesis' of 'checkpatch.pl'. Signed-off-by: Mahak Gupta --- drivers/staging/octeon-usb/octeon-hcd.c | 32 + 1 file changed, 17 insertions(+), 15 deletions(-) diff --git

Re: [PATCH] staging: media: omap4iss: code style - avoid macro argument precedence issues

2021-02-21 Thread Nikolay K.
Hi Laurent, Thank you for the review. I think that if we drop the unneeded parentheses here, we need to drop them everywhere in the file for consistency, even in places checkpatch.pl doesn't warn about. It'll increase patch size without actual usefullness gain, as for me. I am very (very) novice

Re: [PATCH] staging: media: omap4iss: code style - avoid macro argument precedence issues

2021-02-21 Thread Laurent Pinchart
Hi Nikolay, Thank you for the patch. On Sun, Feb 21, 2021 at 10:53:08PM +0300, Nikolay Kyx wrote: > This patch fixes the following checkpatch.pl check: > > CHECK: Macro argument 'i' may be better as '(i)' to avoid precedence issues > > in file iss_regs.h > > Signed-off-by: Nikolay Kyx

[PATCH v2] staging: wimax: Fix block comment style issue in stack.c

2021-02-21 Thread Amrit Khera
This change fixes a checkpatch warning for "Block comments use * on subsequent lines". Signed-off-by: Amrit Khera --- Changes in v2: - Removed the comment entirely, as suggested by Greg KH drivers/staging/wimax/stack.c | 10 -- 1 file changed, 10 deletions(-) diff --git

[PATCH] staging: android: Remove filename reference from file

2021-02-21 Thread George Xanthakis
This commit fixes a checkpatch warning that references the filename in the the file comments. Signed-off-by: George Xanthakis --- drivers/staging/android/uapi/ashmem.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/android/uapi/ashmem.h

[PATCH] staging: rtl8192e: fix alignment issues in rtllib_wx.c

2021-02-21 Thread William Durand
Fixes "Alignment should match open parenthesis" issues reported by checkpatch.pl in the `rtllib_wx.c` file. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtllib_wx.c | 42 1 file changed, 18 insertions(+), 24 deletions(-) diff --git

Re: [PATCH v3] staging: rtl8723bs: fix code style comparison warning

2021-02-21 Thread Dan Carpenter
On Fri, Feb 19, 2021 at 06:23:54PM +, Kurt Manucredo wrote: > > > checkpatch gives the following WARNING: > WARNING: Comparisons should place the constant on the right side of the test > this patch fixes the coding style warning. > > Signed-off-by: Kurt Manucredo > --- Looks okay to me.

Re: [PATCH] staging: wimax/i2400m: fix byte-order issue

2021-02-21 Thread Dan Carpenter
On Sat, Feb 20, 2021 at 05:56:47PM +0530, karthik alapati wrote: > fix sparse byte-order warnings by converting host byte-order > types to le32 types > > Signed-off-by: karthik alapati This is a v2 patch... regards, dan carpenter ___ devel mailing

Re: [PATCH] staging: wimax: fix sparse incorrect type issue

2021-02-21 Thread karthek
On Mon, Feb 22, 2021 at 11:10 AM Dan Carpenter wrote: > > On Sat, Feb 20, 2021 at 05:04:00PM +0530, karthik alapati wrote: > > fix sparse warning by casting to explicit user address-space > > pointer type > > > > Signed-off-by: karthik alapati > > --- > > drivers/staging/wlan-ng/p80211netdev.c

Hello

2021-02-21 Thread Mrs. Vera Aellen
Good day You have been selected to receive my grant donation. Please, contact me for further detail.I shall be expecting your quick response veraaell...@gmail.com Best Regards, Mrs. Vera Aellen -- This email has been checked for viruses by AVG. https://www.avg.com

Re: [PATCH] staging: wimax: fix sparse incorrect type issue

2021-02-21 Thread Dan Carpenter
On Sat, Feb 20, 2021 at 05:04:00PM +0530, karthik alapati wrote: > fix sparse warning by casting to explicit user address-space > pointer type > > Signed-off-by: karthik alapati > --- > drivers/staging/wlan-ng/p80211netdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

Re: [PATCH v2] staging: wimax: Fix block comment style issue in stack.c

2021-02-21 Thread Dan Carpenter
On Sun, Feb 21, 2021 at 10:07:59PM +0530, Amrit Khera wrote: > diff --git a/drivers/staging/wimax/stack.c b/drivers/staging/wimax/stack.c > index ace24a6dfd2d..345a022810ef 100644 > --- a/drivers/staging/wimax/stack.c > +++ b/drivers/staging/wimax/stack.c > @@ -57,17 +57,7 @@

Re: [PATCH] staging: ks7010: Replace macros with do while loop.

2021-02-21 Thread Dan Carpenter
On Mon, Feb 22, 2021 at 01:43:24AM +0530, chakravarthikulkarni wrote: > This commit fix errors found in checkpath.pl. > Error message is: > > It is a good idea to keep complex macros in do while loop. > Otherwise result may have side effect. > > Signed-off-by: chakravarthikulkarni This breaks