We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7a4142 commit 795f85fCopy full SHA for 795f85f
crypto/algboss.c
@@ -51,7 +51,7 @@ static int cryptomgr_probe(void *data)
51
{
52
struct cryptomgr_param *param = data;
53
struct crypto_template *tmpl;
54
- int err;
+ int err = -ENOENT;
55
56
tmpl = crypto_lookup_template(param->template);
57
if (!tmpl)
@@ -64,6 +64,7 @@ static int cryptomgr_probe(void *data)
64
crypto_tmpl_put(tmpl);
65
66
out:
67
+ param->larval->adult = ERR_PTR(err);
68
param->larval->alg.cra_flags |= CRYPTO_ALG_DEAD;
69
complete_all(¶m->larval->completion);
70
crypto_alg_put(¶m->larval->alg);
0 commit comments