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

tree:   https://github.com/jgunthorpe/linux pcie_switch_groups
head:   44fc32b44e9100467bc59704d09b5aca075ccb06
commit: 1ef9f1a958f948a7ed5a60048c5fc668838007d7 [2/12] PCI: Add pci_bus_isolation()
config: hexagon-allnoconfig (https://download.01.org/0day-ci/archive/20250701/202507011838.9E2bMQpg-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project e04c938cc08a90ae60440ce22d072ebc69d67ee8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250701/202507011838.9E2bMQpg-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/202507011838.9E2bMQpg-lkp@intel.com/

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

   In file included from kernel/dma/direct.c:16:
   In file included from include/linux/pci-p2pdma.h:14:
>> 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 
   kernel/dma/direct.c:148:20: warning: shift count >= width of type [-Wshift-count-overflow]
     148 |                     phys_limit < DMA_BIT_MASK(64) &&
         |                                  ^~~~~~~~~~~~~~~~
   include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK'
      73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
         |                                                      ^ ~~~
   2 warnings 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-01 10:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-01 10:11 [jgunthorpe:pcie_switch_groups 2/12] 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).