[PATCH] staging: wlags49_h2: Fix do not use C99 style comments in wl_version.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch fixed "ERROR: do not use C99 // comments"
found by checkpatch.pl.

Signed-off-by: Masanari Iida <standby24x7@xxxxxxxxx>

---
 drivers/staging/wlags49_h2/wl_version.h | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/wlags49_h2/wl_version.h b/drivers/staging/wlags49_h2/wl_version.h
index bbc484a..df074d4 100644
--- a/drivers/staging/wlags49_h2/wl_version.h
+++ b/drivers/staging/wlags49_h2/wl_version.h
@@ -65,11 +65,11 @@
 /*******************************************************************************
  *  include files
  ******************************************************************************/
-//#include <linux/config.h>
+/* #include <linux/config.h> */
 
 #ifndef CONFIG_MODVERSIONS
 #define __NO_VERSION__
-#endif  // CONFIG_MODVERSIONS
+#endif  /* CONFIG_MODVERSIONS */
 
 /*******************************************************************************
  *  constant definitions
@@ -91,29 +91,29 @@
 #define BUS_TYPE            "PCI"
 #else
 err: define bus type;
-#endif  // BUS_XXX
+#endif  /* BUS_XXX */
 
 #if defined HERMES25
 #define HW_TYPE				"HII.5"
 #else
 #define HW_TYPE				"HII"
-#endif // HERMES25
+#endif /* HERMES25 */
 
 #if defined WARP
 #define FW_TYPE				"WARP"
 #else
 #define FW_TYPE				"BEAGLE"
-#endif // WARP
+#endif /* WARP */
 
 #if defined HERMES25
 #if defined WARP
 #define DRV_VARIANT         3
 #else
 #define DRV_VARIANT         4
-#endif // WARP
+#endif /* WARP */
 #else
 #define DRV_VARIANT         2
-#endif // HERMES25
+#endif /* HERMES25 */
 
 #define VERSION_INFO	KBUILD_MODNAME " v" DRV_VERSION_STR	\
 			" for " BUS_TYPE ", by " VENDOR_NAME
@@ -143,4 +143,4 @@ err: define bus type;
 
 
 
-#endif  // __WL_VERSION_H__
+#endif  /* __WL_VERSION_H__ */
-- 
1.8.5.2.309.ga25014b

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux