Skip to content

nvme: fixup module compilation

Keith Busch linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v5 Latest0 of 2 patches 0 repliesNew

Patches in v5 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchChristoph Hellwig
SeriesR-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

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

From: Keith Busch <[email protected]>

Trying to sort this out before rc1, here's my take on bringing this together after reading through the history on it.

Changes from previous version:

I updated patch one's keyring stub check to use IS_ENABLED rather than ifdef. The patch makes CONFIG_NVME_SYMBOL possible to be a module now, so ifdef doesn't work correctly with that.

For patch 2, I removed all the Kconfig stuff from the previous, otherwise it's the same. nvme-keyring will not be built-in unless a dependency is also built-in, otherwise it will be a module if another module depends on it.

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   |  7 ++-----
 drivers/nvme/common/Makefile  |  7 ++++---
 drivers/nvme/common/keyring.c | 11 +++++++----
 drivers/nvme/host/Kconfig     |  2 --
 drivers/nvme/host/core.c      |  9 +--------
 drivers/nvme/target/Kconfig   |  2 --
 include/linux/nvme-keyring.h  | 10 +---------
 8 files changed, 16 insertions(+), 34 deletions(-)
Signature · 1 line
2.34.1