* [l1k:doe 11/23] drivers/pci/msi/../pci.h:361:9: error: implicit declaration of function 'pci_doe_disconnected'; did you mean 'pci_dev_set_disconnected'?
@ 2023-02-03 21:50 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-03 21:50 UTC (permalink / raw)
To: Lukas Wunner; +Cc: oe-kbuild-all
tree: https://github.com/l1k/linux doe
head: 167c147eed6cb9d32a5f27c0aa5ac8d07e960982
commit: cad83afa09817cb77ae9b53ad992c8894b6ecdb5 [11/23] PCI/DOE: Create mailboxes on device enumeration
config: alpha-defconfig (https://download.01.org/0day-ci/archive/20230204/202302040502.LnurG7E5-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/l1k/linux/commit/cad83afa09817cb77ae9b53ad992c8894b6ecdb5
git remote add l1k https://github.com/l1k/linux
git fetch --no-tags l1k doe
git checkout cad83afa09817cb77ae9b53ad992c8894b6ecdb5
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=alpha olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash drivers/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
All error/warnings (new ones prefixed by >>):
In file included from drivers/pci/msi/pcidev_msi.c:5:
drivers/pci/msi/../pci.h: In function 'pci_dev_set_disconnected':
>> drivers/pci/msi/../pci.h:361:9: error: implicit declaration of function 'pci_doe_disconnected'; did you mean 'pci_dev_set_disconnected'? [-Werror=implicit-function-declaration]
361 | pci_doe_disconnected(dev);
| ^~~~~~~~~~~~~~~~~~~~
| pci_dev_set_disconnected
drivers/pci/msi/../pci.h: At top level:
>> drivers/pci/msi/../pci.h:789:20: warning: conflicting types for 'pci_doe_disconnected'; have 'void(struct pci_dev *)'
789 | static inline void pci_doe_disconnected(struct pci_dev *pdev) { }
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/pci/msi/../pci.h:789:20: error: static declaration of 'pci_doe_disconnected' follows non-static declaration
drivers/pci/msi/../pci.h:361:9: note: previous implicit declaration of 'pci_doe_disconnected' with type 'void(struct pci_dev *)'
361 | pci_doe_disconnected(dev);
| ^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from drivers/pci/pcie/aspm.c:22:
drivers/pci/pcie/../pci.h: In function 'pci_dev_set_disconnected':
>> drivers/pci/pcie/../pci.h:361:9: error: implicit declaration of function 'pci_doe_disconnected'; did you mean 'pci_dev_set_disconnected'? [-Werror=implicit-function-declaration]
361 | pci_doe_disconnected(dev);
| ^~~~~~~~~~~~~~~~~~~~
| pci_dev_set_disconnected
drivers/pci/pcie/../pci.h: At top level:
>> drivers/pci/pcie/../pci.h:789:20: warning: conflicting types for 'pci_doe_disconnected'; have 'void(struct pci_dev *)'
789 | static inline void pci_doe_disconnected(struct pci_dev *pdev) { }
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/pci/pcie/../pci.h:789:20: error: static declaration of 'pci_doe_disconnected' follows non-static declaration
drivers/pci/pcie/../pci.h:361:9: note: previous implicit declaration of 'pci_doe_disconnected' with type 'void(struct pci_dev *)'
361 | pci_doe_disconnected(dev);
| ^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +361 drivers/pci/msi/../pci.h
354
355 static inline int pci_dev_set_disconnected(struct pci_dev *dev, void *unused)
356 {
357 device_lock(&dev->dev);
358 pci_dev_set_io_state(dev, pci_channel_io_perm_failure);
359 device_unlock(&dev->dev);
360
> 361 pci_doe_disconnected(dev);
362
363 return 0;
364 }
365
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-03 21:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-03 21:50 [l1k:doe 11/23] drivers/pci/msi/../pci.h:361:9: error: implicit declaration of function 'pci_doe_disconnected'; did you mean 'pci_dev_set_disconnected'? kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.