All of lore.kernel.org
 help / color / mirror / Atom feed
* [yiliu1765-iommufd:wip/iommufd_pasid-20240910 19/37] drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:3044:26: error: initialization of 'int (*)(struct iommu_domain *, struct device *, ioasid_t,  struct iommu_domain *)' {aka 'int (*)(struct iommu_domain *, struct device *, unsigned int,  struct iommu_domain *)'}...
@ 2024-09-11 13:18 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-11 13:18 UTC (permalink / raw)
  To: Yi Liu, Kevin Tian; +Cc: oe-kbuild-all

tree:   https://github.com/yiliu1765/iommufd.git wip/iommufd_pasid-20240910
head:   47bd94563684b36d40cac3c558ca963539dd5980
commit: 40f580261cf35cef57fc7ad2060f485e104a0967 [19/37] iommu/arm-smmu-v3: Make smmuv3 blocked domain support PASID
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20240911/202409112127.PDP6dDp0-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240911/202409112127.PDP6dDp0-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/202409112127.PDP6dDp0-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:3044:26: error: initialization of 'int (*)(struct iommu_domain *, struct device *, ioasid_t,  struct iommu_domain *)' {aka 'int (*)(struct iommu_domain *, struct device *, unsigned int,  struct iommu_domain *)'} from incompatible pointer type 'int (*)(struct iommu_domain *, struct iommu_domain *, struct device *, ioasid_t)' {aka 'int (*)(struct iommu_domain *, struct iommu_domain *, struct device *, unsigned int)'} [-Wincompatible-pointer-types]
    3044 |         .set_dev_pasid = arm_smmu_blocking_set_dev_pasid,
         |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:3044:26: note: (near initialization for 'arm_smmu_blocked_ops.set_dev_pasid')


vim +3044 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c

  3041	
  3042	static const struct iommu_domain_ops arm_smmu_blocked_ops = {
  3043		.attach_dev = arm_smmu_attach_dev_blocked,
> 3044		.set_dev_pasid = arm_smmu_blocking_set_dev_pasid,
  3045	};
  3046	

-- 
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-09-11 13:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-11 13:18 [yiliu1765-iommufd:wip/iommufd_pasid-20240910 19/37] drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:3044:26: error: initialization of 'int (*)(struct iommu_domain *, struct device *, ioasid_t, struct iommu_domain *)' {aka 'int (*)(struct iommu_domain *, struct device *, unsigned int, struct iommu_domain *)'} 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.