Commit 70daa5c8 authored by Tom Rix's avatar Tom Rix Committed by Christoph Hellwig

nvme-auth: mark nvme_auth_wq static

Fix a smatch report for the newly added nvme_auth_wq.
Signed-off-by: default avatarTom Rix <trix@redhat.com>
Reviewed-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent e02bbac7
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment