tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: 3bff92c765fe7f3039b00930c6b85684c9a034d0
commit: a88376defcf7df6a2fca28d866973d1588be89db [36/45] UPSTREAM: PCI/PM: Remove unused
pci_driver.resume_early() hook
config: i386-randconfig-a006-20200615 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce (this is a W=1 build):
git checkout a88376defcf7df6a2fca28d866973d1588be89db
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>, old ones prefixed by <<):
> drivers/xen/platform-pci.c:176:2: error: unknown field
'resume_early' specified in initializer
.resume_early =
platform_pci_resume,
^
> drivers/xen/platform-pci.c:176:2: warning: initialization from
incompatible pointer type
drivers/xen/platform-pci.c:176:2: warning: (near
initialization for 'platform_driver.probe')
drivers/xen/platform-pci.c:176:2: warning: initialized field overwritten
[-Woverride-init]
drivers/xen/platform-pci.c:176:2: warning: (near initialization for
'platform_driver.probe') [-Woverride-init]
vim +/resume_early +176 drivers/xen/platform-pci.c
183d03cc4ff39e0 Stefano Stabellini 2010-05-17 170
183d03cc4ff39e0 Stefano Stabellini 2010-05-17 171 static struct pci_driver
platform_driver = {
183d03cc4ff39e0 Stefano Stabellini 2010-05-17 172 .name = DRV_NAME,
e01dc539df3ada9 Paul Gortmaker 2016-02-21 173 .probe =
platform_pci_probe,
183d03cc4ff39e0 Stefano Stabellini 2010-05-17 174 .id_table = platform_pci_tbl,
da72ff5bfcb02c6 Stefano Stabellini 2017-01-13 175 #ifdef CONFIG_PM
da72ff5bfcb02c6 Stefano Stabellini 2017-01-13 @176 .resume_early =
platform_pci_resume,
da72ff5bfcb02c6 Stefano Stabellini 2017-01-13 177 #endif
183d03cc4ff39e0 Stefano Stabellini 2010-05-17 178 };
183d03cc4ff39e0 Stefano Stabellini 2010-05-17 179
:::::: The code at line 176 was first introduced by commit
:::::: da72ff5bfcb02c6ac8b169a7cf597a3c8e6c4de1 partially revert "xen: Remove event
channel notification through Xen PCI platform device"
:::::: TO: Stefano Stabellini <sstabellini(a)kernel.org>
:::::: CC: Stefano Stabellini <sstabellini(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org