Skip to content

Commit 70daa5c

Browse files
Tom RixChristoph Hellwig
authored andcommitted
nvme-auth: mark nvme_auth_wq static
Fix a smatch report for the newly added nvme_auth_wq. Signed-off-by: Tom Rix <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
1 parent e02bbac commit 70daa5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/nvme/host/auth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ struct nvme_dhchap_queue_context {
4545
int sess_key_len;
4646
};
4747

48-
struct workqueue_struct *nvme_auth_wq;
48+
static struct workqueue_struct *nvme_auth_wq;
4949

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

0 commit comments

Comments
 (0)