Re: [PATCH] binderfs: Fix binderfs.c selftest compilation warning

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

 



Hi greg:

On 2020/4/12 15:46, Greg KH wrote:
On Sat, Apr 11, 2020 at 10:51:51PM +0800, Tang Bin wrote:
Fix missing braces compilation warning in the ARM
compiler environment:
     drivers/android/binderfs.c: In function 'binderfs_fill_super':
     drivers/android/binderfs.c:650:9: warning: missing braces around initializer [-Wmissing-braces]
       struct binderfs_device device_info = { 0 };
     drivers/android/binderfs.c:650:9: warning: (near initialization for ‘device_info.name’) [-Wmissing-braces]
What compiler and version is giving this warning?  It's odd we have not
seen this yet...
My environment:

  PC : Ubuntu 16.04

  Hardware : I.MX6ULL

  Tool Chain : arm-linux-gnueabihf-gcc (Linaro GCC 4.9-2017.01) 4.9.4



Thank you for your patience.

Tang Bin




_______________________________________________
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