On Tue, Nov 05, 2024 at 12:04:18PM -0800, Nicolin Chen wrote: > --- a/drivers/iommu/iommufd/Makefile > +++ b/drivers/iommu/iommufd/Makefile > @@ -13,3 +13,4 @@ iommufd-$(CONFIG_IOMMUFD_TEST) += selftest.o > > obj-$(CONFIG_IOMMUFD) += iommufd.o > obj-$(CONFIG_IOMMUFD_DRIVER) += iova_bitmap.o > +obj-$(CONFIG_IOMMUFD_DRIVER_CORE) += driver.o This gives a wonky module name of "driver.ko", I'm going to adjust it to this: -obj-$(CONFIG_IOMMUFD_DRIVER_CORE) += driver.o + +iommufd_driver-y := driver.o +obj-$(CONFIG_IOMMUFD_DRIVER_CORE) += iommufd_driver.o Thanks, Jason