Re: [PATCH 1/2] iommufd: import IOMMUFD_INTERNAL namespace
From: Nicolin Chen
Date: Mon Mar 24 2025 - 18:09:38 EST
On Mon, Mar 24, 2025 at 10:03:22PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> Building the iommufd driver as a loadable module causes a failure now:
>
> ERROR: modpost: module iommufd_driver uses symbol iommu_attach_handle_get from namespace IOMMUFD_INTERNAL, but does not import it.
>
> Import the namespace as needed here.
>
> Fixes: 916a207692ce ("iommufd: Move iommufd_sw_msi and related functions to driver.c")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
Tested-by: Nicolin Chen <nicolinc@xxxxxxxxxx>
Thanks!