summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-02-09 16:12:06 +0100
committerJens Axboe <axboe@kernel.dk>2023-02-09 16:12:06 +0100
commit38c33ece232019c5b18b4d5ec0254807cac06b7c (patch)
tree0a8b042e40bed0bdb249579dfc4defca06f0f291
parentMerge tag 'nvme-6.2-2023-02-02' of git://git.infradead.org/nvme into block-6.2 (diff)
parentnvme-auth: mark nvme_auth_wq static (diff)
downloadlinux-38c33ece232019c5b18b4d5ec0254807cac06b7c.tar.xz
linux-38c33ece232019c5b18b4d5ec0254807cac06b7c.zip
Merge tag 'nvme-6.2-2023-02-09' of git://git.infradead.org/nvme into block-6.2
Pull NVMe fix from Christoph: "nvme fixes for Linux 6.2 - fix a static checker warning for a variable introduces in the last pull request (Tom Rix)" * tag 'nvme-6.2-2023-02-09' of git://git.infradead.org/nvme: nvme-auth: mark nvme_auth_wq static
-rw-r--r--drivers/nvme/host/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/auth.c b/drivers/nvme/host/auth.c
index b57630d1d3b8..bdb97496ba2d 100644
--- a/drivers/nvme/host/auth.c
+++ b/drivers/nvme/host/auth.c
@@ -45,7 +45,7 @@ struct nvme_dhchap_queue_context {
int sess_key_len;
};
-struct workqueue_struct *nvme_auth_wq;
+static struct workqueue_struct *nvme_auth_wq;
#define nvme_auth_flags_from_qid(qid) \
(qid == 0) ? 0 : BLK_MQ_REQ_NOWAIT | BLK_MQ_REQ_RESERVED