[PATCH] Staging: rtl8712: recv_linux.c: Coding style warning fix for block comment

Punit Vara punitvara at gmail.com
Tue Sep 22 20:07:17 UTC 2015


This is the patch to recv_linux.c file that fixes up following warning
reported by checkpatch.pl :

-Block comments use a trailing */ on a separate line

Signed-off-by: Punit Vara <punitvara at gmail.com>
---
 drivers/staging/rtl8712/recv_linux.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8712/recv_linux.c b/drivers/staging/rtl8712/recv_linux.c
index 4201ce7..c4eef1c 100644
--- a/drivers/staging/rtl8712/recv_linux.c
+++ b/drivers/staging/rtl8712/recv_linux.c
@@ -126,8 +126,10 @@ void r8712_recv_indicatepkt(struct _adapter *padapter,
 	skb->dev = padapter->pnetdev;
 	skb->protocol = eth_type_trans(skb, padapter->pnetdev);
 	netif_rx(skb);
-	precv_frame->u.hdr.pkt = NULL; /* pointers to NULL before
-					* r8712_free_recvframe() */
+	precv_frame->u.hdr.pkt = NULL; /*
+					* pointers to NULL before
+					* r8712_free_recvframe()
+					*/
 	r8712_free_recvframe(precv_frame, pfree_recv_queue);
 	return;
 _recv_indicatepkt_drop:
-- 
2.5.2



More information about the devel mailing list