From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753610AbbIWSYJ (ORCPT ); Wed, 23 Sep 2015 14:24:09 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:34567 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752505AbbIWSYH (ORCPT ); Wed, 23 Sep 2015 14:24:07 -0400 From: Punit Vara To: Larry.Finger@lwfinger.net Cc: florian.c.schilhabel@googlemail.com, gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Punit Vara Subject: [PATCH] Staging: rtl8712: rtl8712_xmit.c: Coding style warnings fix for block comments Date: Wed, 23 Sep 2015 23:53:47 +0530 Message-Id: <1443032627-3604-1-git-send-email-punitvara@gmail.com> X-Mailer: git-send-email 2.5.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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