Skip to content

Commit 2abd2c3

Browse files
Christoph Hellwigkeithbusch
authored andcommitted
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>
1 parent 2ad28ce commit 2abd2c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/nvme/common/keyring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ static struct key *nvme_tls_psk_lookup(struct key *keyring,
111111
* should be preferred to 'generated' PSKs,
112112
* and SHA-384 should be preferred to SHA-256.
113113
*/
114-
struct nvme_tls_psk_priority_list {
114+
static struct nvme_tls_psk_priority_list {
115115
bool generated;
116116
enum nvme_tcp_tls_cipher cipher;
117117
} nvme_tls_psk_prio[] = {

0 commit comments

Comments
 (0)