staging: wlan-ng: add blank line after declaration
PATCH 1/1 staging: wlan-ng: add blank line after declaration
add blank line after struct declaration to fix the checkpatch issue, add blank line after declarations.
--- drivers/staging/wlan-ng/hfa384x.h | 1 + 1 file changed, 1 insertion(+)
drivers/staging/wlan-ng/hfa384x.h +1 -0
@@ -1175,6 +1175,7 @@ struct hfa384x_usbctlx {enum ctlx_state state;/* Tracks running state */ struct completion done; +volatile int reapable;/* Food for the reaper task */ ctlx_cmdcb_t cmdcb;/* Async command callback */
Signature · 1 line
2.7.4
Quoted 2 lines · Gargi Sharma
add blank line after struct declaration to fix the checkpatch issue, add blank line after declarations.
This does not look right. The code before and the code after are all declarations. I think that checkpatch is misinterpreting the code. This warning is normally targeted at local variables in functions.
The code is fine as is.
julia
Quoted 27 lines
Signed-off-by Gargi Sharma <[email protected]>--- drivers/staging/wlan-ng/hfa384x.h | 1 + 1 file changed, 1 insertion(+)drivers/staging/wlan-ng/hfa384x.h +1
-1@@ -1175,6 +1175,7 @@ struct hfa384x_usbctlx {enum ctlx_state state;/* Tracks running state */ struct completion done; +volatile int reapable;/* Food for the reaper task */ ctlx_cmdcb_t cmdcb;/* Async command callback */ --2.7.4
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1487239937-26115-1-git-send-email-gs051095%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Quoted 10 lines · Julia Lawall
Quoted 2 lines · Gargi Sharma
add blank line after struct declaration to fix the checkpatch issue, add blank line after declarations.
This does not look right. The code before and the code after are all declarations. I think that checkpatch is misinterpreting the code. This
Okay, will revert this commit.
Thanks,
Gargi
Quoted 4 lines
warning is normally targeted at local variables in functions.
The code is fine as is.
Quoted 8 lines
julia
Review
Quoted 6 lines
Signed-off-by Gargi Sharma <[email protected]>--- drivers/staging/wlan-ng/hfa384x.h | 1 + 1 file changed, 1 insertion(+)(quoted diff) +0
-0
b/drivers/staging/wlan-ng/hfa384x.h
Quoted 10 lines
Quoted 10 lines
index 5f1851c..f199847 100644
drivers/staging/wlan-ng/hfa384x.h +1
-0@@ -1175,6 +1175,7 @@ struct hfa384x_usbctlx {enum ctlx_state state;/* Tracks running state */ struct completion done; +volatile int reapable;/* Food for the reaper task */
Quoted 6 lines
Quoted 6 lines
drivers/staging/wlan-ng/hfa384x.h +0
-1ctlx_cmdcb_t cmdcb;/* Async command callback */ --2.7.4
--
You received this message because you are subscribed to the Google
Groups "outreachy-kernel" group.
Quoted 1 line
Quoted 1 line
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
Quoted 2 lines
Quoted 2 lines
To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/
msgid/outreachy-kernel/1487239937-26115-1-git-send- email-gs051095%40gmail.com.
Quoted 2 lines
Quoted 2 lines
For more options, visit https://groups.google.com/d/optout.