[PATCH v3 3/7] iommu/arm-smmu-v3: Introduce a per-domain arm_smmu_invs array
Nicolin Chen
nicolinc at nvidia.com
Mon Oct 27 09:38:54 PDT 2025
On Mon, Oct 27, 2025 at 08:06:03PM +0800, kernel test robot wrote:
> >> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:1062:23: error: static declaration of 'arm_smmu_invs_merge' follows non-static declaration
> 1062 | struct arm_smmu_invs *arm_smmu_invs_merge(struct arm_smmu_invs *invs,
> | ^~~~~~~~~~~~~~~~~~~
> In file included from drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:34:
> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h:731:23: note: previous declaration of 'arm_smmu_invs_merge' with type 'struct arm_smmu_invs *(struct arm_smmu_invs *, struct arm_smmu_invs *)'
> 731 | struct arm_smmu_invs *arm_smmu_invs_merge(struct arm_smmu_invs *invs,
> | ^~~~~~~~~~~~~~~~~~~
These should be added under "#if IS_ENABLED(CONFIG_KUNIT)" in the
header.
I will fix this and send a v4 today.
Nicolin
More information about the linux-arm-kernel
mailing list