[pci:bwctrl 2/5] drivers/pci/msi/../pci.h:834:1: error: expected identifier or '(' before '{' token

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git bwctrl
head:   5ccc52fd1e5a9a7602b6e20ce931a7fd4f3be87b
commit: 5f2710a4c2754c3c63bbe751fe1c54eb7f5c8441 [2/5] PCI/pwrctl: Create pwrctl devices only if at least one power supply is present
config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20241103/202411030310.MsYt3PLH-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241103/202411030310.MsYt3PLH-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411030310.MsYt3PLH-lkp@xxxxxxxxx/

All error/warnings (new ones prefixed by >>):

   In file included from drivers/pci/access.c:8:
   drivers/pci/pci.h:834:1: error: expected identifier or '(' before '{' token
     834 | {
         | ^
>> drivers/pci/pci.h:833:20: warning: 'of_pci_is_supply_present' declared 'static' but never defined [-Wunused-function]
     833 | static inline bool of_pci_is_supply_present(struct device_node *np);
         |                    ^~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/pci/bus.c:20:
   drivers/pci/pci.h:834:1: error: expected identifier or '(' before '{' token
     834 | {
         | ^
>> drivers/pci/pci.h:833:20: warning: 'of_pci_is_supply_present' used but never defined
     833 | static inline bool of_pci_is_supply_present(struct device_node *np);
         |                    ^~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/pci/msi/pcidev_msi.c:5:
>> drivers/pci/msi/../pci.h:834:1: error: expected identifier or '(' before '{' token
     834 | {
         | ^
>> drivers/pci/msi/../pci.h:833:20: warning: 'of_pci_is_supply_present' declared 'static' but never defined [-Wunused-function]
     833 | static inline bool of_pci_is_supply_present(struct device_node *np);
         |                    ^~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/pci/pcie/portdrv.c:22:
   drivers/pci/pcie/../pci.h:834:1: error: expected identifier or '(' before '{' token
     834 | {
         | ^
>> drivers/pci/pcie/../pci.h:833:20: warning: 'of_pci_is_supply_present' declared 'static' but never defined [-Wunused-function]
     833 | static inline bool of_pci_is_supply_present(struct device_node *np);
         |                    ^~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/pci/hotplug/pci_hotplug_core.c:32:
   drivers/pci/hotplug/../pci.h:834:1: error: expected identifier or '(' before '{' token
     834 | {
         | ^
>> drivers/pci/hotplug/../pci.h:833:20: warning: 'of_pci_is_supply_present' declared 'static' but never defined [-Wunused-function]
     833 | static inline bool of_pci_is_supply_present(struct device_node *np);
         |                    ^~~~~~~~~~~~~~~~~~~~~~~~


vim +834 drivers/pci/msi/../pci.h

   832	
 > 833	static inline bool of_pci_is_supply_present(struct device_node *np);
 > 834	{
   835		return false;
   836	}
   837	#endif /* CONFIG_OF */
   838	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[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