From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Subject: Re: [PATCH 3/3 V2] crypto: Simplify the ahash_finup implementation Date: Thu, 13 Mar 2014 02:21:47 +0100 Message-ID: <201403130221.47172.marex@denx.de> References: <1389720829-5963-1-git-send-email-marex@denx.de> <1393806108-6374-3-git-send-email-marex@denx.de> <20140312121101.GB25881@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, "David S. Miller" , Fabio Estevam , Shawn Guo , Tom Lendacky To: Herbert Xu Return-path: Received: from mail-out.m-online.net ([212.18.0.9]:35189 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752008AbaCMBVt (ORCPT ); Wed, 12 Mar 2014 21:21:49 -0400 In-Reply-To: <20140312121101.GB25881@gondor.apana.org.au> Sender: linux-crypto-owner@vger.kernel.org List-ID: On Wednesday, March 12, 2014 at 01:11:01 PM, Herbert Xu wrote: > On Mon, Mar 03, 2014 at 01:21:48AM +0100, Marek Vasut wrote: > > -static void ahash_def_finup_done2(struct crypto_async_request *req, int > > err) +static void ahash_def_finup_done2(struct crypto_async_request > > *areq, int err) > > Please keep the existing name to be consistent with the rest > of the crypto API code. You should also use the same name in > your second patch for consistency. Done. Moreover, the original code this patch changes still has a bug I think. The invocation of areq->base.complete() is wrong in the original code here. I will post V3 of the patches where I explain the problem in detail. Best regards, Marek Vasut From mboxrd@z Thu Jan 1 00:00:00 1970 From: marex@denx.de (Marek Vasut) Date: Thu, 13 Mar 2014 02:21:47 +0100 Subject: [PATCH 3/3 V2] crypto: Simplify the ahash_finup implementation In-Reply-To: <20140312121101.GB25881@gondor.apana.org.au> References: <1389720829-5963-1-git-send-email-marex@denx.de> <1393806108-6374-3-git-send-email-marex@denx.de> <20140312121101.GB25881@gondor.apana.org.au> Message-ID: <201403130221.47172.marex@denx.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wednesday, March 12, 2014 at 01:11:01 PM, Herbert Xu wrote: > On Mon, Mar 03, 2014 at 01:21:48AM +0100, Marek Vasut wrote: > > -static void ahash_def_finup_done2(struct crypto_async_request *req, int > > err) +static void ahash_def_finup_done2(struct crypto_async_request > > *areq, int err) > > Please keep the existing name to be consistent with the rest > of the crypto API code. You should also use the same name in > your second patch for consistency. Done. Moreover, the original code this patch changes still has a bug I think. The invocation of areq->base.complete() is wrong in the original code here. I will post V3 of the patches where I explain the problem in detail. Best regards, Marek Vasut