[PATCH 0/2] [v4] nvme: fixup module compilation
Hannes Reinecke
hare at suse.de
Thu Oct 26 06:08:02 PDT 2023
Hi all,
Arnd noticed that the module selection between keyring and
host/target code fails under certain combinations.
This patchset addresses this by making 'keyring' into a
'proper' module by adding module_init()/module_exit() functions
and ensure that the module will always be compiled in when
one of the dependent modules are selected.
Arnd Bergmann (1):
nvme: common: make keyring and auth separate modules
Hannes Reinecke (1):
nvme: keyring: fix conditional compilation
drivers/nvme/Makefile | 2 +-
drivers/nvme/common/Kconfig | 5 +----
drivers/nvme/common/Makefile | 7 ++++---
drivers/nvme/common/keyring.c | 11 +++++++----
drivers/nvme/host/Kconfig | 4 +---
drivers/nvme/host/core.c | 9 +--------
drivers/nvme/target/Kconfig | 4 +---
include/linux/nvme-keyring.h | 8 --------
8 files changed, 16 insertions(+), 34 deletions(-)
--
2.35.3
More information about the Linux-nvme
mailing list