]> git.ipfire.org Git - thirdparty/linux.git/commit
drivers/virt: Drop VIRT_DRIVERS build dependency
authorDan Williams <dan.j.williams@intel.com>
Thu, 13 Nov 2025 02:14:39 +0000 (18:14 -0800)
committerDan Williams <dan.j.williams@intel.com>
Fri, 14 Nov 2025 01:05:08 +0000 (17:05 -0800)
commit110c155e8a684d8b2423a72cfde147903881f765
treeb0363e2c5d61b90b18e4a2e502174b63d726776b
parenta4438f06b1db15ce3d831ce82b8767665638aa2a
drivers/virt: Drop VIRT_DRIVERS build dependency

All of the objects in drivers/virt/ have their own configuration symbols to
gate compilation. I.e. nothing gets added to the kernel with
CONFIG_VIRT_DRIVERS=y in isolation.

Unconditionally descend into drivers/virt/ so that consumers do not need to
add an additional CONFIG_VIRT_DRIVERS dependency.

Fix warnings of the form:

    Kconfig warnings: (for reference only)
       WARNING: unmet direct dependencies detected for TSM
       Depends on [n]: VIRT_DRIVERS [=n]
       Selected by [y]:
       - PCI_TSM [=y] && PCI [=y]

...where PCI_TSM selects CONFIG_TSM, but fails to select
CONFIG_VIRT_DRIVERS.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202511041832.ylcgIiqN-lkp@intel.com/
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Link: https://patch.msgid.link/20251113021446.436830-2-dan.j.williams@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/Makefile