llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [leon-rdma:rdma-next 89/111] include/linux/pci.h:2067:10: error: use of undeclared identifier 'PCI_NON_ISOLATED'; did you mean 'PCIE_NON_ISOLATED'?
@ 2025-07-15 11:45 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-07-15 11:45 UTC (permalink / raw)
  To: Jason Gunthorpe; +Cc: llvm, oe-kbuild-all, Leon Romanovsky

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git rdma-next
head:   e000b8ef9dfd9937d5f4ede1f01acc25aa68146d
commit: b5ea9e13dfa7409c2029e765c38161280d103135 [89/111] PCI: Add pci_bus_isolation()
config: arm-randconfig-001-20250715 (https://download.01.org/0day-ci/archive/20250715/202507151912.onVtH7Ez-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project 16534d19bf50bde879a83f0ae62875e2c5120e64)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250715/202507151912.onVtH7Ez-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/202507151912.onVtH7Ez-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/iommu/iommu.c:24:
>> include/linux/pci.h:2067:10: error: use of undeclared identifier 'PCI_NON_ISOLATED'; did you mean 'PCIE_NON_ISOLATED'?
    2067 | { return PCI_NON_ISOLATED; }
         |          ^~~~~~~~~~~~~~~~
         |          PCIE_NON_ISOLATED
   include/linux/pci.h:850:2: note: 'PCIE_NON_ISOLATED' declared here
     850 |         PCIE_NON_ISOLATED,
         |         ^
   include/linux/pci.h:2066:24: warning: no previous prototype for function 'pci_bus_isolated' [-Wmissing-prototypes]
    2066 | enum pci_bus_isolation pci_bus_isolated(struct pci_bus *bus)
         |                        ^
   include/linux/pci.h:2066:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
    2066 | enum pci_bus_isolation pci_bus_isolated(struct pci_bus *bus)
         | ^
         | static 
   1 warning and 1 error generated.


vim +2067 include/linux/pci.h

  2065	
  2066	enum pci_bus_isolation pci_bus_isolated(struct pci_bus *bus)
> 2067	{ return PCI_NON_ISOLATED; }
  2068	

-- 
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:[~2025-07-15 11:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-15 11:45 [leon-rdma:rdma-next 89/111] include/linux/pci.h:2067:10: error: use of undeclared identifier 'PCI_NON_ISOLATED'; did you mean 'PCIE_NON_ISOLATED'? 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).