projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e02bbac
)
nvme-auth: mark nvme_auth_wq static
author
Tom Rix
<trix@redhat.com>
Mon, 6 Feb 2023 14:57:00 +0000
(06:57 -0800)
committer
Christoph Hellwig
<hch@lst.de>
Wed, 8 Feb 2023 06:28:16 +0000
(07:28 +0100)
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>
drivers/nvme/host/auth.c
patch
|
blob
|
history
diff --git
a/drivers/nvme/host/auth.c
b/drivers/nvme/host/auth.c
index b57630d1d3b8bda0ef8c5f947bbe39b7eeed885f..bdb97496ba2d1acea330bcfcc7d61f42c01d095d 100644
(file)
--- 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;
+st
atic st
ruct workqueue_struct *nvme_auth_wq;
#define nvme_auth_flags_from_qid(qid) \
(qid == 0) ? 0 : BLK_MQ_REQ_NOWAIT | BLK_MQ_REQ_RESERVED