Re: [PATCH v5 03/10] PCI: endpoint: functions/pci-epf-test: Add second entry

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

 



Hi Gustavo,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on char-misc/char-misc-testing]
[also build test WARNING on v4.17-rc1 next-20180418]
[cannot apply to pci/next robh/for-next]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Gustavo-Pimentel/Designware-EP-support-and-code-clean-up/20180418-214108
config: i386-randconfig-x016-201815 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

>> drivers/pci/endpoint/functions/pci-epf-test.c:471:11: warning: initializer-string for array of chars is too long
      .name = "pci_epf_test_designware",
              ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pci/endpoint/functions/pci-epf-test.c:471:11: note: (near initialization for 'pci_epf_test_ids[1].name')

vim +471 drivers/pci/endpoint/functions/pci-epf-test.c

   465	
   466	static const struct pci_epf_device_id pci_epf_test_ids[] = {
   467		{
   468			.name = "pci_epf_test",
   469		},
   470		{
 > 471			.name = "pci_epf_test_designware",
   472			.driver_data = (kernel_ulong_t)&data_cfg2,
   473		},
   474		{},
   475	};
   476	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux