staging: rtl8712: Fix suspect code indent for conditional statements
PATCH 1/1 staging: rtl8712: Fix suspect code indent for conditional statements
This patch fixes the checkpatch.pl warning:
WARNING: suspect code indent for conditional statements (16, 32)
--- 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 5 lines · Mihaela Muraru
This patch fixes the checkpatch.pl warning:
WARNING: suspect code indent for conditional statements (16, 32)
Signed-off-by Mihaela Muraru <[email protected]>
Acked-by Julia Lawall <[email protected]>
Try to be a bit more descriptive in your commit messages about what you are doing and why. Fix doesn't say what you have decided to do.
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/20170926055046.GA9014%40domino-MS-16Y1.
For more options, visit https://groups.google.com/d/optout.
Quoted 8 lines · Julia Lawall
Quoted 4 lines · Mihaela Muraru
This patch fixes the checkpatch.pl warning:
WARNING: suspect code indent for conditional statements (16, 32)
Quoted 9 lines
Quoted 1 line
Signed-off-by Mihaela Muraru <[email protected]>Acked-by Julia Lawall <[email protected]>
Try to be a bit more descriptive in your commit messages about what you are doing and why. Fix doesn't say what you have decided to do.
julia
Thank you for your suggestions. I will rewrite the commit message and I will resend the patch
Mihaela
Quoted 27 lines
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/20170926055046.GA9014%40domino-MS-16Y1.
For more options, visit https://groups.google.com/d/optout.