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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -45,7 +45,7 @@ struct nvme_dhchap_queue_context {
	int sess_key_len;
	int sess_key_len;
};
};


struct workqueue_struct *nvme_auth_wq;
static struct workqueue_struct *nvme_auth_wq;


#define nvme_auth_flags_from_qid(qid) \
#define nvme_auth_flags_from_qid(qid) \
	(qid == 0) ? 0 : BLK_MQ_REQ_NOWAIT | BLK_MQ_REQ_RESERVED
	(qid == 0) ? 0 : BLK_MQ_REQ_NOWAIT | BLK_MQ_REQ_RESERVED