Re: [PATCH v7 02/13] iommufd: Move _iommufd_object_alloc helper to a sharable file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux