aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme/common/Makefile
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2023-08-24 16:39:08 +0200
committerKeith Busch <kbusch@kernel.org>2023-10-11 10:11:54 -0700
commit9d77eb52778499a97cab662aa96de4e2e4fa72d3 (patch)
treeb51a19b9742dacf3ff3b48bb7ed80d28259f6b4c /drivers/nvme/common/Makefile
parentnvmet-fc: Annotate struct nvmet_fc_tgt_queue with __counted_by (diff)
downloadlinux-9d77eb52778499a97cab662aa96de4e2e4fa72d3.tar.gz
linux-9d77eb52778499a97cab662aa96de4e2e4fa72d3.zip
nvme-keyring: register '.nvme' keyring
Register a '.nvme' keyring to hold keys for TLS and DH-HMAC-CHAP and add a new config option NVME_KEYRING. We need a separate keyring for NVMe as the configuration is done via individual commands (eg for configfs), and the usual per-session or per-process keyrings can't be used. Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/nvme/common/Makefile')
-rw-r--r--drivers/nvme/common/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/nvme/common/Makefile b/drivers/nvme/common/Makefile
index 720c625b8a52..0cbd0b0b8d49 100644
--- a/drivers/nvme/common/Makefile
+++ b/drivers/nvme/common/Makefile
@@ -4,4 +4,5 @@ ccflags-y += -I$(src)
obj-$(CONFIG_NVME_COMMON) += nvme-common.o
-nvme-common-y += auth.o
+nvme-common-$(CONFIG_NVME_AUTH) += auth.o
+nvme-common-$(CONFIG_NVME_KEYRING) += keyring.o