* [android-common:android13-5.15 1/5] drivers/pci/pci.h:610:61: error: expected identifier or '(' before '{' token
@ 2024-10-24 0:08 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-24 0:08 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
Hi David,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://android.googlesource.com/kernel/common android13-5.15
head: 38edc4724f5ea26f3015dbe044c2ac4f79f7adcf
commit: eaddd7157d019ff9415b6f65ae506f169a5d54c6 [1/5] BACKPORT: PCI/ASPM: Move pci_save_ltr_state() to aspm.c
config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20241024/202410240813.ILHkhksS-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241024/202410240813.ILHkhksS-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410240813.ILHkhksS-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from drivers/pci/of.c:16:
>> drivers/pci/pci.h:610:61: error: expected identifier or '(' before '{' token
610 | static inline void pci_save_ltr_state(struct pci_dev *dev); { }
| ^
drivers/pci/pci.h:611:64: error: expected identifier or '(' before '{' token
611 | static inline void pci_restore_ltr_state(struct pci_dev *dev); { }
| ^
>> drivers/pci/pci.h:610:20: warning: 'pci_save_ltr_state' declared 'static' but never defined [-Wunused-function]
610 | static inline void pci_save_ltr_state(struct pci_dev *dev); { }
| ^~~~~~~~~~~~~~~~~~
>> drivers/pci/pci.h:611:20: warning: 'pci_restore_ltr_state' declared 'static' but never defined [-Wunused-function]
611 | static inline void pci_restore_ltr_state(struct pci_dev *dev); { }
| ^~~~~~~~~~~~~~~~~~~~~
vim +610 drivers/pci/pci.h
589
590 /* PCI error reporting and recovery */
591 pci_ers_result_t pcie_do_recovery(struct pci_dev *dev,
592 pci_channel_state_t state,
593 pci_ers_result_t (*reset_subordinates)(struct pci_dev *pdev));
594
595 bool pcie_wait_for_link(struct pci_dev *pdev, bool active);
596 #ifdef CONFIG_PCIEASPM
597 void pcie_aspm_init_link_state(struct pci_dev *pdev);
598 void pcie_aspm_exit_link_state(struct pci_dev *pdev);
599 void pcie_aspm_pm_state_change(struct pci_dev *pdev);
600 void pcie_aspm_powersave_config_link(struct pci_dev *pdev);
601 void pci_configure_ltr(struct pci_dev *pdev);
602 void pci_save_ltr_state(struct pci_dev *dev);
603 void pci_restore_ltr_state(struct pci_dev *dev);
604 #else
605 static inline void pcie_aspm_init_link_state(struct pci_dev *pdev) { }
606 static inline void pcie_aspm_exit_link_state(struct pci_dev *pdev) { }
607 static inline void pcie_aspm_pm_state_change(struct pci_dev *pdev) { }
608 static inline void pcie_aspm_powersave_config_link(struct pci_dev *pdev) { }
609 static inline void pci_configure_ltr(struct pci_dev *pdev) { }
> 610 static inline void pci_save_ltr_state(struct pci_dev *dev); { }
> 611 static inline void pci_restore_ltr_state(struct pci_dev *dev); { }
612 #endif
613
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-24 0:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-24 0:08 [android-common:android13-5.15 1/5] drivers/pci/pci.h:610:61: error: expected identifier or '(' before '{' token 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.