[PATCH] iommu/arm-smmu-v3: Import IOMMUFD module namespace
Jason Gunthorpe
jgg at ziepe.ca
Thu Nov 14 17:07:56 PST 2024
On Thu, Nov 14, 2024 at 10:42:29AM -0700, Nathan Chancellor wrote:
> Commit 69d9b312f38a ("iommu/arm-smmu-v3: Support IOMMU_VIOMMU_ALLOC")
> started using _iommufd_object_alloc() without importing the IOMMUFD
> module namespace, resulting in a modpost warning:
>
> WARNING: modpost: module arm_smmu_v3 uses symbol _iommufd_object_alloc from namespace IOMMUFD, but does not import it.
>
> Commit d68beb276ba2 ("iommu/arm-smmu-v3: Support IOMMU_HWPT_INVALIDATE
> using a VIOMMU object") added another warning by using
> iommufd_viommu_find_dev():
>
> WARNING: modpost: module arm_smmu_v3 uses symbol iommufd_viommu_find_dev from namespace IOMMUFD, but does not import it.
>
> Import the IOMMUFD module namespace to resolve the warnings.
>
> Fixes: 69d9b312f38a ("iommu/arm-smmu-v3: Support IOMMU_VIOMMU_ALLOC")
> Signed-off-by: Nathan Chancellor <nathan at kernel.org>
> ---
> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-iommufd.c | 2 ++
> 1 file changed, 2 insertions(+)
I guess the build bots don't run ARM64 all mod config?
Thanks, applied
Jason
More information about the linux-arm-kernel
mailing list