Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: wlags49_h2: Fix "do not use C99 //" in wl_cs.h, wl_enc.h wl_main.h and wl_wext.h

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>

authored by

Masanari Iida and committed by
Greg Kroah-Hartman
ee2d9df0 c7333c11

+5 -5
+1 -1
drivers/staging/wlags49_h2/wl_cs.h
··· 86 86 87 87 88 88 89 - #endif // __WL_CS_H__ 89 + #endif /* __WL_CS_H__ */
+2 -2
drivers/staging/wlags49_h2/wl_enc.h
··· 69 69 ******************************************************************************/ 70 70 #define CRYPT_CODE "57617665A5D6" 71 71 #define ENCRYPTION_LEN 102 72 - #define ENCRYPTION_MAGIC 0x48576877L // HWhw 72 + #define ENCRYPTION_MAGIC 0x48576877L /* HWhw */ 73 73 #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" 74 74 75 75 #define DEFAULT_CRYPT_MAC "W\x01\x6B\x66\xA5\x5A" ··· 115 115 116 116 117 117 118 - #endif // __WAVELAN2_ENCRYPTION_H__ 118 + #endif /* __WAVELAN2_ENCRYPTION_H__ */
+1 -1
drivers/staging/wlags49_h2/wl_main.h
··· 135 135 #define WL_WDS_NETDEV_DEREGISTER( ARG ) 136 136 137 137 #endif /* USE_WDS */ 138 - #endif // __WL_MAIN_H__ 138 + #endif /* __WL_MAIN_H__ */
+1 -1
drivers/staging/wlags49_h2/wl_wext.h
··· 85 85 86 86 extern const struct iw_handler_def wl_iw_handler_def; 87 87 88 - #endif // __WL_WEXT_H__ 88 + #endif /* __WL_WEXT_H__ */