All of lore.kernel.org
 help / color / mirror / Atom feed
* [anolis-intel-cloud:devel-5.10 9/9] ./include/linux/iommu.h:1152:17: warning: 'iommu_get_pasid_from_domain' defined but not used
@ 2026-10-28 12:51 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-28 12:51 UTC (permalink / raw)
  To: aubrey.li; +Cc: oe-kbuild-all

Hi Jacob,

FYI, the error/warning still remains.

tree:   https://gitee.com/anolis/intel-cloud-kernel.git devel-5.10
head:   e404899677bc470e620572471a562f09ea3de082
commit: ae98886a907851615758c891a5e488f1add0c69d [9/9] iommu: Add a helper to do PASID lookup from domain
config: x86_64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20261028/202610281354.OaDqIDLG-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261028/202610281354.OaDqIDLG-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/202610281354.OaDqIDLG-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from arch/x86/kernel/pci-dma.c:4:
>> ./include/linux/iommu.h:1152:17: warning: 'iommu_get_pasid_from_domain' defined but not used [-Wunused-function]
    1152 | static ioasid_t iommu_get_pasid_from_domain(struct device *dev,
         |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/iommu_get_pasid_from_domain +1152 ./include/linux/iommu.h

  1147	
  1148	static inline void iommu_detach_device_pasid(struct iommu_domain *domain,
  1149						     struct device *dev, ioasid_t pasid)
  1150	{
  1151	}
> 1152	static ioasid_t iommu_get_pasid_from_domain(struct device *dev,
  1153						    struct iommu_domain *domain)
  1154	{
  1155		return INVALID_IOASID;
  1156	}
  1157	#endif /* CONFIG_IOMMU_API */
  1158	

--
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:[~2026-10-28 12:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-28 12:51 [anolis-intel-cloud:devel-5.10 9/9] ./include/linux/iommu.h:1152:17: warning: 'iommu_get_pasid_from_domain' defined but not used 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.