Skip to contentSkip to conversation

nvme-common: mark nvme_tls_psk_prio static

PATCH Applied Christoph Hellwig 3 participants 3 messages Dec 26, 2023 – Jan 2, 2024 NVMe

lore
Share & tools
lore

Christoph Hellwig

author maintainer
#0 lore raw

PATCH 1/1 nvme-common: mark nvme_tls_psk_prio static

---
 drivers/nvme/common/keyring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvme/common/keyring.c +1 -1
index ee341b83eebaf5..a5c0431c101cf3 100644
@@ -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[] = {
Signature · 1 line
2.39.2