mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02:00
nvme-fabrics: typo in nvmf_parse_key()
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>
This commit is contained in:
parent
f7e0a545f7
commit
5f5ea0e491
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user