[PATCH 4/9] Staging: Winbond: Convert C99 style comments in Winbond.

Dan Carpenter error27 at gmail.com
Wed Aug 17 21:08:21 UTC 2011


On Wed, Aug 17, 2011 at 03:17:01PM -0400, Akshay Joshi wrote:
> This updated patch should fix the comment concerns.
> 
> Pekka, I did compile-test it, but it slipped through since the comment
> was followed by another comment and not a line of code.
> 

It compiles correctly, but there is a gcc warning:

  CC [M]  drivers/staging/winbond/mds.o
  In file included from drivers/staging/winbond/wbhal.h:361:0,
		   from drivers/staging/winbond/mds_f.h:4,
		   from drivers/staging/winbond/mds.c:1:
	drivers/staging/winbond/wb35rx_s.h:2:1: warning: "/*" within comment
	drivers/staging/winbond/wb35rx_s.h:3:1: warning: "/*" within comment
	drivers/staging/winbond/wb35rx_s.h:5:1: warning: "/*" within comment

That's with gcc 4.5.1-4.

regards,
dan carpenter



More information about the devel mailing list