* [PATCH] drivers: staging: vt6655: wpactl.h: corrected comment format
@ 2014-08-11 17:56 Avinash kumar
2014-08-11 18:48 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Avinash kumar @ 2014-08-11 17:56 UTC (permalink / raw)
To: forest; +Cc: gregkh, devel, linux-kernel, Avinash kumar
corrected C99 style comment format related error
Signed-off-by: Avinash Kumar <avi.kp.137@gmail.com>
---
drivers/staging/vt6655/wpactl.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/vt6655/wpactl.h b/drivers/staging/vt6655/wpactl.h
index f7638ba..2ff42c5 100644
--- a/drivers/staging/vt6655/wpactl.h
+++ b/drivers/staging/vt6655/wpactl.h
@@ -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__*/
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drivers: staging: vt6655: wpactl.h: corrected comment format
2014-08-11 17:56 [PATCH] drivers: staging: vt6655: wpactl.h: corrected comment format Avinash kumar
@ 2014-08-11 18:48 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2014-08-11 18:48 UTC (permalink / raw)
To: Avinash kumar; +Cc: forest, devel, linux-kernel
On Mon, Aug 11, 2014 at 11:26:32PM +0530, Avinash kumar wrote:
> corrected C99 style comment format related error
>
> Signed-off-by: Avinash Kumar <avi.kp.137@gmail.com>
> ---
> drivers/staging/vt6655/wpactl.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/vt6655/wpactl.h b/drivers/staging/vt6655/wpactl.h
> index f7638ba..2ff42c5 100644
> --- a/drivers/staging/vt6655/wpactl.h
> +++ b/drivers/staging/vt6655/wpactl.h
> @@ -36,7 +36,7 @@
>
> /*--------------------- Export Definitions -------------------------*/
>
> -//WPA related
> +/*WPA related*/
Shouldn't you use 2 extra ' ' characters here?
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-11 18:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-11 17:56 [PATCH] drivers: staging: vt6655: wpactl.h: corrected comment format Avinash kumar
2014-08-11 18:48 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox