Staging: rtl8712: rtl8712_xmit.c: Coding style warnings fix for block comments
PATCH 1/1 Staging: rtl8712: rtl8712_xmit.c: Coding style warnings fix for block comments
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 <[email protected]>
--- drivers/staging/rtl8712/rtl8712_xmit.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-)
drivers/staging/rtl8712/rtl8712_xmit.c +12 -6
@@ -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)
Signature · 1 line
2.5.2