mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
nvme-auth: mark nvme_auth_wq static
Fix a smatch report for the newly added nvme_auth_wq. Signed-off-by: Tom Rix <trix@redhat.com> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
committed by
Christoph Hellwig
parent
e02bbac74c
commit
70daa5c8f0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user