From: Derek Robson <robsonde@gmail.com>
To: gregkh@linuxfoundation.org, tvboxspy@gmail.com,
linux-kernel@vger.kernel.org
Cc: Derek Robson <robsonde@gmail.com>
Subject: [PATCH] Staging: vt6655: Checkpatch fix: c99 comment headings
Date: Mon, 27 Apr 2015 18:37:00 +1200 [thread overview]
Message-ID: <1430116620-6751-1-git-send-email-robsonde@gmail.com> (raw)
This patch fixes some of the following checkpatch.pl errors in mib.h
ERROR: do not use C99 // comments
This patch reformats all single line c99 style comments to the
preferred style.
Signed-off-by: Derek Robson <robsonde@gmail.com>
---
drivers/staging/vt6655/mib.h | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/drivers/staging/vt6655/mib.h b/drivers/staging/vt6655/mib.h
index 5cb59b8..6edf8fb 100644
--- a/drivers/staging/vt6655/mib.h
+++ b/drivers/staging/vt6655/mib.h
@@ -31,9 +31,7 @@
#include "desc.h"
-//
-// 802.11 counter
-//
+/* 802.11 counter */
typedef struct tagSDot11Counters {
unsigned long long RTSSuccessCount;
@@ -42,9 +40,9 @@ typedef struct tagSDot11Counters {
unsigned long long FCSErrorCount;
} SDot11Counters, *PSDot11Counters;
-//
-// Custom counter
-//
+
+/* Custom counter */
+
typedef struct tagSISRCounters {
unsigned long dwIsrTx0OK;
unsigned long dwIsrAC0TxOK;
@@ -64,9 +62,7 @@ typedef struct tagSISRCounters {
unsigned long dwIsrSTIMER1Int;
} SISRCounters, *PSISRCounters;
-//
-// statistic counter
-//
+/* statistic counter */
typedef struct tagSStatCounter {
SISRCounters ISRStat;
} SStatCounter, *PSStatCounter;
@@ -79,4 +75,4 @@ void STAvUpdate802_11Counter(
unsigned long dwCounter
);
-#endif // __MIB_H__
+#endif /* __MIB_H__ */
--
2.3.6
reply other threads:[~2015-04-27 6:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1430116620-6751-1-git-send-email-robsonde@gmail.com \
--to=robsonde@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tvboxspy@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
Powered by JetHome