staging: rtl8712: Fix indent coding style issue
PATCH v2 1/1 staging: rtl8712: Fix indent coding style issue
This patch fixes an indentation coding style issue found by checkpatch.pl:
WARNING: suspect code indent for conditional statements (16, 32)
---
Changes in v2:
- rewrite the commint message.
--- drivers/staging/rtl8712/rtl8712_recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8712/rtl8712_recv.c +1 -1
@@ -149,7 +149,7 @@ int r8712_free_recvframe(union recv_frame *precvframe,list_add_tail (&(precvframe->u.hdr.list), &pfree_recv_queue->queue);if (padapter !=NULL ) {if (pfree_recv_queue == &precvpriv->free_recv_queue) - precvpriv->free_recvframe_cnt++; + precvpriv->free_recvframe_cnt++; }spin_unlock_irqrestore (&pfree_recv_queue->lock, irqL);return _SUCCESS;
Signature · 1 line
2.7.4
Quoted 10 lines · Mihaela Muraru
This patch fixes an indentation coding style issue found by checkpatch.pl:
WARNING: suspect code indent for conditional statements (16, 32)
Signed-off-by Mihaela Muraru <[email protected]>---
Changes in v2:
- rewrite the commint message.
You should preserve my ack.
julia
Quoted 27 lines
--- drivers/staging/rtl8712/rtl8712_recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/rtl8712/rtl8712_recv.c +1
-2@@ -149,7 +149,7 @@ int r8712_free_recvframe(union recv_frame *precvframe,list_add_tail (&(precvframe->u.hdr.list), &pfree_recv_queue->queue);if (padapter !=NULL ) {if (pfree_recv_queue == &precvpriv->free_recv_queue) - precvpriv->free_recvframe_cnt++; + precvpriv->free_recvframe_cnt++; }spin_unlock_irqrestore (&pfree_recv_queue->lock, irqL);return _SUCCESS; --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/20170926072450.GA10682%40domino-MS-16Y1.
For more options, visit https://groups.google.com/d/optout.
Julia, what you suggest me should I send patch version 3 with mention that I put your ack in,
or should I send other version of patch v2 , with your ack in ?
Mention: I sent this mail from gmail, because I don't have access to my computer right now
Thank you,
Mihaela
Quoted 53 lines · Julia Lawall
Quoted 10 lines · Mihaela Muraru
This patch fixes an indentation coding style issue found by checkpatch.pl:
WARNING: suspect code indent for conditional statements (16, 32)
Signed-off-by Mihaela Muraru <[email protected]>---
Changes in v2:
- rewrite the commint message.You should preserve my ack.
julia
Review
Quoted 5 lines
--- drivers/staging/rtl8712/rtl8712_recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0
b/drivers/staging/rtl8712/rtl8712_recv.cdrivers/staging/rtl8712/rtl8712_recv.c int r8712_free_recvframe(union recv_frame
Quoted 4 lines
index 0978727..8f555e6 100644
drivers/staging/rtl8712/rtl8712_recv.c +0
-0@@ -149,7 +149,7 @@ int r8712_free_recvframe(union recv_frame*precvframe,
drivers/staging/rtl8712/rtl8712_recv.c int r8712_free_recvframe(union recv_frame · line 149
Quoted 1 line
drivers/staging/rtl8712/rtl8712_recv.c +0
-0list_add_tail(&(precvframe->u.hdr.list),
&pfree_recv_queue->queue);Quoted 10 lines
drivers/staging/rtl8712/rtl8712_recv.c +1
-2if (padapter !=NULL ) {if (pfree_recv_queue == &precvpriv->free_recv_queue) - precvpriv->free_recvframe_cnt++; + precvpriv->free_recvframe_cnt++; }spin_unlock_irqrestore (&pfree_recv_queue->lock, irqL);return _SUCCESS; --2.7.4
Quoted 2 lines
--
You received this message because you are subscribed to the GoogleGroups "outreachy-kernel" group.
Quoted 1 line
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
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/20170926072450.GA10682%40domino-MS-16Y1.
Quoted 2 lines
For more options, visit https://groups.google.com/d/optout.
Quoted 3 lines · Muraru Mihaela
Julia, what you suggest me should I send patch version 3 with mention that I put your ack in,or ᅵshould ᅵI send other version of patch v2 , with your ack in ?
Go for v3 to eliminate ambiguity. Put "v3: Added back ack" under the --- to indicate that nothing else has changed.
julia
Quoted 68 lines
Mention: I sent this mail from gmail, because I don't have access to my computer right now
Thank you,ᅵ
Mihaela
On Tue, Sep 26, 2017 at 10:39 AM, Julia Lawall <[email protected]> wrote:
On Tue, 26 Sep 2017, Mihaela Muraru wrote: > This patch fixes an indentation coding style issue found by > checkpatch.pl: > > WARNING: suspect code indent for conditional statements (16, 32) > > Signed-off-by: Mihaela Muraru <[email protected]> > > --- > Changes in v2: >ᅵ ᅵ - rewrite the commint message. You should preserve my ack. julia > --- >ᅵ drivers/staging/rtl8712/rtl8712_recv.c | 2 +- >ᅵ 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/rtl8712/rtl8712_recv.c b/drivers/staging/rtl8712/rtl8712_recv.c > index 0978727..8f555e6 100644 > --- a/drivers/staging/rtl8712/rtl8712_recv.c > +++ b/drivers/staging/rtl8712/rtl8712_recv.c > @@ -149,7 +149,7 @@ int r8712_free_recvframe(union recv_frame *precvframe, >ᅵ ᅵ ᅵ ᅵlist_add_tail(&(precvframe->u.hdr.list), &pfree_recv_queue->queue); >ᅵ ᅵ ᅵ ᅵif (padapter != NULL) { >ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵif (pfree_recv_queue == &precvpriv->free_recv_queue) > -ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵprecvpriv->free_recvframe_cnt++; > +ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵ ᅵprecvpriv->free_recvframe_cnt++; >ᅵ ᅵ ᅵ ᅵ} >ᅵ ᅵ ᅵ ᅵspin_unlock_irqrestore(&pfree_recv_queue->lock, irqL); >ᅵ ᅵ ᅵ ᅵreturn _SUCCESS; > -- > 2.7.4 >Quoted 2 lines
--
You received this message because you are subscribed to the GoogleGroups "outreachy-kernel" group.
Quoted 1 line
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
Quoted 1 line
To post to this group, send email to
Quoted 1 line
To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/20170926072450.GA10682%4
0domino-MS-16Y1.
Quoted 2 lines
For more options, visit https://groups.google.com/d/optout.