aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-12-26 08:14:12 +0000
committerKeith Busch <kbusch@kernel.org>2024-01-03 08:09:40 -0800
commit2abd2c39ada8200ca5f02d483dccfa82799f51a7 (patch)
tree86ddec010f43864016065f33db21fba0d5ccf18f /drivers/nvme
parent2ad28ce9b98f8b22feaecc0966c706a8ef59cbf0 (diff)
downloadlinux-2abd2c39ada8200ca5f02d483dccfa82799f51a7.tar.gz
nvme-common: mark nvme_tls_psk_prio static
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/nvme')
-rw-r--r--drivers/nvme/common/keyring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/common/keyring.c b/drivers/nvme/common/keyring.c
index ee341b83eebaf..a5c0431c101cf 100644
--- a/drivers/nvme/common/keyring.c
+++ b/drivers/nvme/common/keyring.c
@@ -111,7 +111,7 @@ static struct key *nvme_tls_psk_lookup(struct key *keyring,
* should be preferred to 'generated' PSKs,
* and SHA-384 should be preferred to SHA-256.
*/
-struct nvme_tls_psk_priority_list {
+static struct nvme_tls_psk_priority_list {
bool generated;
enum nvme_tcp_tls_cipher cipher;
} nvme_tls_psk_prio[] = {