]> git.itanic.dy.fi Git - linux-stable/commitdiff
nvme-common: mark nvme_tls_psk_prio static
authorChristoph Hellwig <hch@lst.de>
Tue, 26 Dec 2023 08:14:12 +0000 (08:14 +0000)
committerKeith Busch <kbusch@kernel.org>
Wed, 3 Jan 2024 16:09:40 +0000 (08:09 -0800)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/common/keyring.c

index ee341b83eebaf553cbf91a045b048285d590157a..a5c0431c101cf3775509145e3bc7f12c6b64ccd0 100644 (file)
@@ -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[] = {