mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Khoa Mai <mdk194@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Lisa Nguyen <lisa@xenapiadmin.com>,
	Christian Bay <christian.bay@studium.fau.de>,
	Daeseok Youn <daeseok.youn@gmail.com>,
	Martin Gumbrecht <martin.gumbrecht@googlemail.com>,
	Luis Ortega <luiorpe1@gmail.com>, Joe Perches <joe@perches.com>,
	Lilis Iskandar <veeableful@gmail.com>,
	devel@driverdev.osuosl.org
Cc: linux-kernel@vger.kernel.org, Khoa Mai <mdk194@gmail.com>
Subject: [PATCH 1/2] staging: bcm: Qos.c: Fix coding style
Date: Fri, 18 Jul 2014 04:45:04 +0300	[thread overview]
Message-ID: <1405647905-21092-1-git-send-email-mdk194@gmail.com> (raw)

Fix C99 comment

Signed-off-by: Khoa Mai <mdk194@gmail.com>
---
 drivers/staging/bcm/Qos.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/bcm/Qos.c b/drivers/staging/bcm/Qos.c
index c5213b3..e3cbcb1 100644
--- a/drivers/staging/bcm/Qos.c
+++ b/drivers/staging/bcm/Qos.c
@@ -322,8 +322,8 @@ static VOID PruneQueue(struct bcm_mini_adapter *Adapter, INT iIndex)
 	spin_lock_bh(&Adapter->PackInfo[iIndex].SFQueueLock);
 
 	while (1) {
-//	while((UINT)Adapter->PackInfo[iIndex].uiCurrentPacketsOnHost >
-//		SF_MAX_ALLOWED_PACKETS_TO_BACKUP) {
+	/* while((UINT)Adapter->PackInfo[iIndex].uiCurrentPacketsOnHost > */
+	/* 	SF_MAX_ALLOWED_PACKETS_TO_BACKUP) { */
 
 		BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, PRUNE_QUEUE, DBG_LVL_ALL, "uiCurrentBytesOnHost:%x uiMaxBucketSize :%x",
 		Adapter->PackInfo[iIndex].uiCurrentBytesOnHost,
@@ -379,7 +379,7 @@ VOID flush_all_queues(struct bcm_mini_adapter *Adapter)
 
 	BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, DUMP_INFO, DBG_LVL_ALL, "=====>");
 
-//	down(&Adapter->data_packet_queue_lock);
+	/* down(&Adapter->data_packet_queue_lock); */
 	for (iQIndex = LowPriority; iQIndex < HiPriority; iQIndex++) {
 		struct net_device_stats *netstats = &Adapter->dev->stats;
 
@@ -413,7 +413,7 @@ VOID flush_all_queues(struct bcm_mini_adapter *Adapter)
 		}
 		spin_unlock_bh(&Adapter->PackInfo[iQIndex].SFQueueLock);
 	}
-//	up(&Adapter->data_packet_queue_lock);
+	/* up(&Adapter->data_packet_queue_lock); */
 	BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, DUMP_INFO, DBG_LVL_ALL, "<=====");
 }
 
@@ -765,7 +765,7 @@ static void EThCSGetPktInfo(struct bcm_mini_adapter *Adapter, PVOID pvEthPayload
 			/* 802.1Q VLAN Header */
 			pstEthCsPktInfo->eNwpktEthFrameType = eEth802QVLANFrame;
 			u16Etype = ((struct bcm_eth_q_frame *)pvEthPayload)->EthType;
-			//((ETH_CS_802_Q_FRAME*)pvEthPayload)->UserPriority
+			/* ((ETH_CS_802_Q_FRAME*)pvEthPayload)->UserPriority */
 		} else {
 			pstEthCsPktInfo->eNwpktEthFrameType = eEthOtherFrame;
 			u16Etype = ntohs(u16Etype);
-- 
2.0.1


             reply	other threads:[~2014-07-18  1:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-18  1:45 Khoa Mai [this message]
2014-07-18  1:45 ` [PATCH 2/2] " Khoa Mai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1405647905-21092-1-git-send-email-mdk194@gmail.com \
    --to=mdk194@gmail.com \
    --cc=christian.bay@studium.fau.de \
    --cc=daeseok.youn@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lisa@xenapiadmin.com \
    --cc=luiorpe1@gmail.com \
    --cc=martin.gumbrecht@googlemail.com \
    --cc=veeableful@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®