Message ID | E1pMlbO-005vvP-V3@formenos.hmeau.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Herbert Xu |
Headers | show
Return-Path: <linux-crypto-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59E2EC636CD for <linux-crypto@archiver.kernel.org>; Tue, 31 Jan 2023 10:22:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230271AbjAaKWW (ORCPT <rfc822;linux-crypto@archiver.kernel.org>); Tue, 31 Jan 2023 05:22:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231295AbjAaKWU (ORCPT <rfc822;linux-crypto@vger.kernel.org>); Tue, 31 Jan 2023 05:22:20 -0500 Received: from formenos.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFA6118AB4 for <linux-crypto@vger.kernel.org>; Tue, 31 Jan 2023 02:22:17 -0800 (PST) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1pMlbO-005vvP-V3; Tue, 31 Jan 2023 16:02:52 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Tue, 31 Jan 2023 16:02:50 +0800 From: "Herbert Xu" <herbert@gondor.apana.org.au> Date: Tue, 31 Jan 2023 16:02:50 +0800 Subject: [PATCH 32/32] crypto: talitos - Use request_complete helpers References: <Y9jKmRsdHsIwfFLo@gondor.apana.org.au> To: Linux Crypto Mailing List <linux-crypto@vger.kernel.org>, Tudor Ambarus <tudor.ambarus@microchip.com>, Jesper Nilsson <jesper.nilsson@axis.com>, Lars Persson <lars.persson@axis.com>, linux-arm-kernel@axis.com, Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>, George Cherian <gcherian@marvell.com>, Tom Lendacky <thomas.lendacky@amd.com>, John Allen <john.allen@amd.com>, Ayush Sawal <ayush.sawal@chelsio.com>, Kai Ye <yekai13@huawei.com>, Longfang Liu <liulongfang@huawei.com>, Antoine Tenart <atenart@kernel.org>, Corentin Labbe <clabbe@baylibre.com>, Boris Brezillon <bbrezillon@kernel.org>, Arnaud Ebalard <arno@natisbad.org>, Srujana Challa <schalla@marvell.com>, Giovanni Cabiddu <giovanni.cabiddu@intel.com>, qat-linux@intel.com, Thara Gopinath <thara.gopinath@gmail.com>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Vladimir Zapolskiy <vz@mleia.com> Message-Id: <E1pMlbO-005vvP-V3@formenos.hmeau.com> Precedence: bulk List-ID: <linux-crypto.vger.kernel.org> X-Mailing-List: linux-crypto@vger.kernel.org |
Series |
crypto: api - Prepare to change callback argument to void star
|
expand
|
diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index d62ec68e3183..bb27f011cf31 100644 --- a/drivers/crypto/talitos.c +++ b/drivers/crypto/talitos.c @@ -1560,7 +1560,7 @@ static void skcipher_done(struct device *dev, kfree(edesc); - areq->base.complete(&areq->base, err); + skcipher_request_complete(areq, err); } static int common_nonsnoop(struct talitos_edesc *edesc, @@ -1759,7 +1759,7 @@ static void ahash_done(struct device *dev, kfree(edesc); - areq->base.complete(&areq->base, err); + ahash_request_complete(areq, err); } /*
Use the request_complete helpers instead of calling the completion function directly. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> --- drivers/crypto/talitos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)