Re: [PATCH] drivers: staging: vt6655: wpactl.h: corrected comment format

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

 



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@xxxxxxxxx>
> ---
>  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
_______________________________________________
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