Skip to contentSkip to conversation

Staging: vt6655: Checkpatch fix: c99 comment headings

PATCH New Derek Robson 1 participant 1 message Apr 27, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: vt6655: Checkpatch fix: c99 comment headings

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.

---
 drivers/staging/vt6655/mib.h | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)
drivers/staging/vt6655/mib.h +6 -10
index 5cb59b8..6edf8fb 100644
@@ -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