Re: [PATCH 1/1] Staging: android: binder: Fix possible uninitialized variable compile warning

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

 



On Thu, Apr 19, 2012 at 01:17:11AM +0200, Javier Martinez Canillas wrote:
> GCC warns that buffer_size and buffer variables may be used uninitialized.
> Set default values to make the compiler happy and get rid of the build noise.

No, gcc is broken here then.  Please fix it instead, as we don't want to
paper over foolish things like that.

What version of gcc causes this? I don't see this with gcc 4.6.2,
perhaps you are using too old of a gcc?

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/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