-
- Downloads
nvme: common: make keyring and auth separate modules
When only the keyring module is included but auth is not, modpost complains about the lack of a module license tag: ERROR: modpost: missing MODULE_LICENSE() in drivers/nvme/common/nvme-common.o Address this by making both modules buildable standalone, removing the now unnecessary CONFIG_NVME_COMMON symbol in the process. Also, now that NVME_KEYRING config symbol can be either a module or built-in, the stubs need to check for '#if IS_ENABLED' rather than a simple '#ifdef'. Fixes: 9d77eb52 ("nvme-keyring: register '.nvme' keyring") Signed-off-by:Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Hannes Reinecke <hare@suse.de> Signed-off-by:
Christoph Hellwig <hch@lst.de> Signed-off-by:
Keith Busch <kbusch@kernel.org>
Showing
- drivers/nvme/Makefile 1 addition, 1 deletiondrivers/nvme/Makefile
- drivers/nvme/common/Kconfig 2 additions, 5 deletionsdrivers/nvme/common/Kconfig
- drivers/nvme/common/Makefile 4 additions, 3 deletionsdrivers/nvme/common/Makefile
- drivers/nvme/common/keyring.c 2 additions, 0 deletionsdrivers/nvme/common/keyring.c
- drivers/nvme/host/Kconfig 0 additions, 2 deletionsdrivers/nvme/host/Kconfig
- drivers/nvme/target/Kconfig 0 additions, 2 deletionsdrivers/nvme/target/Kconfig
- include/linux/nvme-keyring.h 1 addition, 1 deletioninclude/linux/nvme-keyring.h
Loading
Please register or sign in to comment