]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: wlags49_h2: Fix "do not use C99 //" in wl_cs.h, wl_enc.h wl_main.h and wl_wext.h
authorMasanari Iida <standby24x7@gmail.com>
Sun, 12 Jan 2014 16:44:07 +0000 (01:44 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 23:19:41 +0000 (15:19 -0800)
This patch fixed "Error: do not use C99 //" found by
checkpatch.pl in multiple files within wlags49_h2.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlags49_h2/wl_cs.h
drivers/staging/wlags49_h2/wl_enc.h
drivers/staging/wlags49_h2/wl_main.h
drivers/staging/wlags49_h2/wl_wext.h

index 081cc6f28d1f630832c5d79e18f18ac5d6a6d996..9a597a9f145f17d360264d6da838f9255696d0e0 100644 (file)
@@ -86,4 +86,4 @@ const char *DbgEvent( int mask );
 
 
 
-#endif  // __WL_CS_H__
+#endif  /* __WL_CS_H__ */
index 1804611276b86451f0fa4f53376cbe68d300c958..03a52fbd3c0926200240a8a79bb18d3b81a4e2d5 100644 (file)
@@ -69,7 +69,7 @@
  ******************************************************************************/
 #define CRYPT_CODE                                     "57617665A5D6"
 #define ENCRYPTION_LEN                         102
-#define ENCRYPTION_MAGIC                       0x48576877L     // HWhw
+#define ENCRYPTION_MAGIC                       0x48576877L     /* HWhw */
 #define DEF_CRYPT_STR                          "G?TIUEA]d5MAdZV'eUb&&6.)'&:,'VF/(FR2)6^5*'*8*W6;+GB>,7NA-'ZD-X&G.H2J/8>M0(JP0XVS1HbV29.Y3):\\3YF_4IRb56"
 
 #define DEFAULT_CRYPT_MAC                      "W\x01\x6B\x66\xA5\x5A"
@@ -115,4 +115,4 @@ int wl_wep_decode( char *szCrypt, void *Dest, char *szData );
 
 
 
-#endif  // __WAVELAN2_ENCRYPTION_H__
+#endif  /* __WAVELAN2_ENCRYPTION_H__ */
index 3b5acdf4e329ad7488872fd8db948d44d49cc7df..3806e744d7f67eae184318b2e97c4b9a155f3c3d 100644 (file)
@@ -135,4 +135,4 @@ void wl_wds_netdev_deregister( struct wl_private *lp );
 #define WL_WDS_NETDEV_DEREGISTER( ARG )
 
 #endif  /* USE_WDS */
-#endif  // __WL_MAIN_H__
+#endif  /* __WL_MAIN_H__ */
index 029da52c4c49e54f19803770e59ff368b9674630..4a85dc889a126fbea107f13f5d28da5df7b2c618 100644 (file)
@@ -85,4 +85,4 @@ void wl_wext_event_assoc_ie( struct net_device *dev );
 
 extern const struct iw_handler_def wl_iw_handler_def;
 
-#endif  // __WL_WEXT_H__
+#endif  /* __WL_WEXT_H__ */