tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: 630a3fc055ebbd162b1e710660fe3fb57b0d261e
commit: a88376defcf7df6a2fca28d866973d1588be89db [36/39] UPSTREAM: PCI/PM: Remove unused
pci_driver.resume_early() hook
config: i386-debian-10.3 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
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:3: error: 'struct
pci_driver' has no member named 'resume_early'
176 | .resume_early =
platform_pci_resume,
| ^~~~~~~~~~~~
> drivers/xen/platform-pci.c:176:20: error: initialization of
'int (*)(struct pci_dev *, const struct pci_device_id *)' from incompatible
pointer type 'int (*)(struct pci_dev *)' [-Werror=incompatible-pointer-types]
176 | .resume_early = platform_pci_resume,
| ^~~~~~~~~~~~~~~~~~~
drivers/xen/platform-pci.c:176:20: note: (near initialization for
'platform_driver.probe')
> drivers/xen/platform-pci.c:176:20: warning: initialized field
overwritten [-Woverride-init]
drivers/xen/platform-pci.c:176:20: note: (near
initialization for 'platform_driver.probe')
cc1: some warnings being treated as errors
vim +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