X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=crypto%2Falgboss.c;h=412241ce4cfae25822a6beccf9360c9f52ccc89f;hb=227423904c709a8e60245c97081bbeb4fb500655;hp=9908dd830c2631041c3a681b3efae8b4eb687e39;hpb=78efd1ddd95d2fac1ed8d5fadd9dab885ea70e55;p=firefly-linux-kernel-4.4.55.git diff --git a/crypto/algboss.c b/crypto/algboss.c index 9908dd830c26..412241ce4cfa 100644 --- a/crypto/algboss.c +++ b/crypto/algboss.c @@ -68,6 +68,11 @@ static int cryptomgr_probe(void *data) goto err; do { + if (tmpl->create) { + err = tmpl->create(tmpl, param->tb); + continue; + } + inst = tmpl->alloc(param->tb); if (IS_ERR(inst)) err = PTR_ERR(inst);