Skip to content

nvme: fixup module compilation

Hannes Reinecke linux-nvme 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 13 repliesIn review
  2. v32 patches 7 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nvme: common: make keyring and auth separate modulesdrivers/nvme/Makefile drivers/nvme/common/Kconfig drivers/nvme/common/Makefile +3 more+9 -130 replies
2/2nvme: keyring: fix conditional compilationdrivers/nvme/common/Kconfig drivers/nvme/common/keyring.c drivers/nvme/host/Kconfig +3 more+9 -2313 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH 0/2] [v4] nvme: fixup module compilation

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(-)
Signature · 1 line
2.35.3