public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: rtl8712: rtl8712_xmit.c: Coding style warnings fix for block comments
@ 2015-09-23 18:23 Punit Vara
  0 siblings, 0 replies; only message in thread
From: Punit Vara @ 2015-09-23 18:23 UTC (permalink / raw)
  To: Larry.Finger
  Cc: florian.c.schilhabel, gregkh, devel, linux-kernel, Punit Vara

This patch is the rtl8712_xmit.c that fixes up following warnings
reported by checkpatch.pl :

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

Signed-off-by: Punit Vara <punitvara@gmail.com>
---
 drivers/staging/rtl8712/rtl8712_xmit.c | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/rtl8712/rtl8712_xmit.c b/drivers/staging/rtl8712/rtl8712_xmit.c
index 86206d3..07cff1c 100644
--- a/drivers/staging/rtl8712/rtl8712_xmit.c
+++ b/drivers/staging/rtl8712/rtl8712_xmit.c
@@ -523,13 +523,15 @@ static void update_txdesc(struct xmit_frame *pxmitframe, uint *pmem, int sz)
 			ptxdesc->txdw2 |= cpu_to_le32(BMC);
 
 		/*offset 12*/
-		/* f/w will increase the seqnum by itself, driver pass the
+		/*
+		 * f/w will increase the seqnum by itself, driver pass the
 		 * correct priority to fw
 		 * fw will check the correct priority for increasing the
 		 * seqnum per tid. about usb using 4-endpoint, qsel points out
 		 * the correct mapping between AC&Endpoint,
 		 * the purpose is that correct mapping lets the MAC release
-		 * the AC Queue list correctly. */
+		 * the AC Queue list correctly.
+		 */
 		ptxdesc->txdw3 = cpu_to_le32((pattrib->priority << SEQ_SHT) &
 				 0x0fff0000);
 		if ((pattrib->ether_type != 0x888e) &&
@@ -574,13 +576,15 @@ static void update_txdesc(struct xmit_frame *pxmitframe, uint *pmem, int sz)
 		if (bmcst)
 			ptxdesc->txdw2 |= cpu_to_le32(BMC);
 		/* offset 12 */
-		/* f/w will increase the seqnum by itself, driver pass the
+		/*
+		 * f/w will increase the seqnum by itself, driver pass the
 		 * correct priority to fw
 		 * fw will check the correct priority for increasing the seqnum
 		 * per tid. about usb using 4-endpoint, qsel points out the
 		 * correct mapping between AC&Endpoint,
 		 * the purpose is that correct mapping let the MAC releases
-		 * the AC Queue list correctly. */
+		 * the AC Queue list correctly.
+		 */
 		ptxdesc->txdw3 = cpu_to_le32((pattrib->priority << SEQ_SHT) &
 					      0x0fff0000);
 		/* offset 16 */
@@ -679,8 +683,10 @@ int r8712_xmitframe_complete(struct _adapter *padapter,
 			if (pxmitframe->attrib.priority <= 15)
 				res = r8712_xmitframe_coalesce(padapter,
 					pxmitframe->pkt, pxmitframe);
-			/* always return ndis_packet after
-			 * r8712_xmitframe_coalesce */
+			/*
+			 * always return ndis_packet after
+			 * r8712_xmitframe_coalesce
+			 */
 			r8712_xmit_complete(padapter, pxmitframe);
 		}
 		if (res == _SUCCESS)
-- 
2.5.2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-23 18:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-23 18:23 [PATCH] Staging: rtl8712: rtl8712_xmit.c: Coding style warnings fix for block comments Punit Vara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox