Skip to content
Snippets Groups Projects
Commit f4a0d5ab authored by Mimi Zohar's avatar Mimi Zohar
Browse files

encrypted-keys: fix error return code


Fix request_master_key() error return code.

Signed-off-by: default avatarMimi Zohar <zohar@us.ibm.com>
parent ff0ff780
No related branches found
No related tags found
No related merge requests found
......@@ -444,7 +444,7 @@ static struct key *request_master_key(struct encrypted_key_payload *epayload,
goto out;
if (IS_ERR(mkey)) {
int ret = PTR_ERR(epayload);
int ret = PTR_ERR(mkey);
if (ret == -ENOTSUPP)
pr_info("encrypted_key: key %s not supported",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment