git.samba.org
/
sfrench
/
cifs-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7e0a54
)
nvme-fabrics: typo in nvmf_parse_key()
author
Hannes Reinecke
<hare@suse.de>
Wed, 21 Feb 2024 13:45:30 +0000
(14:45 +0100)
committer
Keith Busch
<kbusch@kernel.org>
Mon, 4 Mar 2024 16:26:30 +0000
(08:26 -0800)
Of course we should use the key if there is no error ...
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/fabrics.c
patch
|
blob
|
history
diff --git
a/drivers/nvme/host/fabrics.c
b/drivers/nvme/host/fabrics.c
index 3499acbf6a822fc1a45d93894f4870a9a5f7857c..ab5ac219b70a865fda8bbe8e4e557920f68862e7 100644
(file)
--- a/
drivers/nvme/host/fabrics.c
+++ b/
drivers/nvme/host/fabrics.c
@@
-637,7
+637,7
@@
static struct key *nvmf_parse_key(int key_id)
}
key = key_lookup(key_id);
- if (
!
IS_ERR(key))
+ if (IS_ERR(key))
pr_err("key id %08x not found\n", key_id);
else
pr_debug("Using key id %08x\n", key_id);