* [jgunthorpe:smmuv3_nesting 16/17] drivers/iommu/intel/svm.c:614:10: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'struct iommu_domain *'
@ 2024-10-19 11:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-19 11:27 UTC (permalink / raw)
To: Jason Gunthorpe; +Cc: llvm, oe-kbuild-all
tree: https://github.com/jgunthorpe/linux smmuv3_nesting
head: fa1528253d221071f2c743b194d5aebad4b55a93
commit: 5675560a272cf55e51613638426723221922c75a [16/17] iommu/vt-d: Check if SVA is supported when attaching the SVA domain
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20241019/202410191934.kB3gdW2G-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241019/202410191934.kB3gdW2G-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/202410191934.kB3gdW2G-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/iommu/intel/svm.c:614:10: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'struct iommu_domain *' [-Wint-conversion]
614 | return ret;
| ^~~
1 error generated.
vim +614 drivers/iommu/intel/svm.c
605
606 struct iommu_domain *intel_svm_domain_alloc(struct device *dev,
607 struct mm_struct *mm)
608 {
609 struct dmar_domain *domain;
610 int ret;
611
612 ret = intel_iommu_sva_supported(dev);
613 if (ret)
> 614 return ret;
--
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-19 11:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-19 11:27 [jgunthorpe:smmuv3_nesting 16/17] drivers/iommu/intel/svm.c:614:10: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'struct iommu_domain *' 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