* [pci:bwctrl 2/5] drivers/pci/msi/../pci.h:834:1: error: expected identifier or '('
@ 2024-11-02 19:55 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-11-02 19:55 UTC (permalink / raw)
To: Manivannan Sadhasivam
Cc: llvm, oe-kbuild-all, linux-pci, Krzysztof Wilczyński,
Bartosz Golaszewski
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-kexec (https://download.01.org/0day-ci/archive/20241103/202411030348.K5M6Sbow-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241103/202411030348.K5M6Sbow-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/202411030348.K5M6Sbow-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/pci/msi/pcidev_msi.c:5:
In file included from drivers/pci/msi/../pci.h:5:
In file included from include/linux/pci.h:1662:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2213:
include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
505 | item];
| ~~~~
include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
512 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
525 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/pci/msi/pcidev_msi.c:5:
>> drivers/pci/msi/../pci.h:834:1: error: expected identifier or '('
834 | {
| ^
4 warnings and 1 error generated.
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-02 19:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-02 19:55 [pci:bwctrl 2/5] drivers/pci/msi/../pci.h:834:1: error: expected identifier or '(' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).