Skip to contentSkip to conversation

drivers: staging: vt6655: wpactl.h: corrected comment format

PATCH In review Avinash kumar 2 participants 2 messages Aug 11, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: staging: vt6655: wpactl.h: corrected comment format

corrected C99 style comment format related error

---
 drivers/staging/vt6655/wpactl.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/vt6655/wpactl.h +2 -2
index f7638ba..2ff42c5 100644
@@ -36,7 +36,7 @@
 
 /*---------------------  Export Definitions -------------------------*/
 
-//WPA related
+/*WPA related*/
 
 enum wpa_alg { WPA_ALG_NONE, WPA_ALG_WEP, WPA_ALG_TKIP, WPA_ALG_CCMP };
 enum wpa_cipher { CIPHER_NONE, CIPHER_WEP40, CIPHER_TKIP, CIPHER_CCMP,
@@ -61,4 +61,4 @@ int wpa_set_wpadev(PSDevice pDevice, int val);
 int wpa_ioctl(PSDevice pDevice, struct iw_point *p);
 int wpa_set_keys(PSDevice pDevice, void *ctx, bool fcpfkernel);
 
-#endif // __WPACL_H__
+#endif /* __WPACL_H__*/
Signature · 1 line
1.7.9.5
maintainer
#1 lore raw
Quoted 12 lines · Avinash kumar

corrected C99 style comment format related error

---
 drivers/staging/vt6655/wpactl.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/vt6655/wpactl.h +0 -0
index f7638ba..2ff42c5 100644

drivers/staging/vt6655/wpactl.h line 39

Quoted 5 lines
drivers/staging/vt6655/wpactl.h +1 -1
@@ -36,7 +36,7 @@
 
 /*---------------------  Export Definitions -------------------------*/
 
-//WPA related
+/*WPA related*/

Shouldn't you use 2 extra ' ' characters here?

drivers/staging/vt6655/wpactl.h int wpa_set_wpadev(PSDevice pDevice, int val); · line 64

Quoted 8 lines
drivers/staging/vt6655/wpactl.h +1 -1
 enum wpa_alg { WPA_ALG_NONE, WPA_ALG_WEP, WPA_ALG_TKIP, WPA_ALG_CCMP };
 enum wpa_cipher { CIPHER_NONE, CIPHER_WEP40, CIPHER_TKIP, CIPHER_CCMP,
@@ -61,4 +61,4 @@ int wpa_set_wpadev(PSDevice pDevice, int val);
 int wpa_ioctl(PSDevice pDevice, struct iw_point *p);
 int wpa_set_keys(PSDevice pDevice, void *ctx, bool fcpfkernel);
 
-#endif // __WPACL_H__
+#endif /* __WPACL_H__*/

And one extra ' ' here, right before the '*/' please.

thanks,

greg k-h