Re: [PATCH] Staging:wilc1000 :Remove typedef from struct

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

 



On Fri, Jul 31, 2015 at 01:52:13PM -0700, Greg Kroah-Hartman wrote:
> On Fri, Jul 31, 2015 at 11:08:47AM +0530, Shraddha Barke wrote:
> > This patch fixes the following checkpatch.pl warning:
> > 
> > WARNING: do not add new typedefs
> > 
> > Signed-off-by: Shraddha Barke <shraddha.6596@xxxxxxxxx>
> > ---
<snip>
> > -typedef enum {
> > +enum {
> >  	CLASS1_FRAME_TYPE      = 0x00,
> >  	CLASS2_FRAME_TYPE      = 0x01,
> >  	CLASS3_FRAME_TYPE      = 0x02,
> 
> Did you test-build this change?
This enum is not used anywhere. So did not affect the build.

regards
sudip
_______________________________________________
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