]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - crypto/pcrypt.c
Merge tag 'iommu-updates-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/joro...
[mirror_ubuntu-jammy-kernel.git] / crypto / pcrypt.c
index d6696e2171280dd247cac890ed93016eadcae18f..1b632139a8c1ae5a20fb5b6d59b6b697225ac847 100644 (file)
@@ -258,9 +258,8 @@ static int pcrypt_create_aead(struct crypto_template *tmpl, struct rtattr **tb,
        if (!ctx->psdec)
                goto out_free_psenc;
 
-       crypto_set_aead_spawn(&ctx->spawn, aead_crypto_instance(inst));
-
-       err = crypto_grab_aead(&ctx->spawn, name, 0, 0);
+       err = crypto_grab_aead(&ctx->spawn, aead_crypto_instance(inst),
+                              name, 0, 0);
        if (err)
                goto out_free_psdec;