Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D1426C10F0E for ; Thu, 18 Apr 2019 14:28:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A898220835 for ; Thu, 18 Apr 2019 14:28:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389146AbfDRO2R (ORCPT ); Thu, 18 Apr 2019 10:28:17 -0400 Received: from [5.180.42.13] ([5.180.42.13]:55246 "EHLO deadmen.hmeau.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2389135AbfDRO2R (ORCPT ); Thu, 18 Apr 2019 10:28:17 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1hH7wv-0004kN-SE; Thu, 18 Apr 2019 22:23:37 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1hH7wm-0004B7-WD; Thu, 18 Apr 2019 22:23:29 +0800 Date: Thu, 18 Apr 2019 22:23:28 +0800 From: Herbert Xu To: Lionel Debieve Cc: "David S . Miller" , Maxime Coquelin , Alexandre Torgue , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Benjamin Gaignard , Fabien Dessenne , Ludovic Barre , linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH 1/1] crypto: stm32/hash - Fix self test issue during export Message-ID: <20190418142328.g2wmr3kueaj6h55g@gondor.apana.org.au> References: <1554709318-25389-1-git-send-email-lionel.debieve@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1554709318-25389-1-git-send-email-lionel.debieve@st.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Apr 08, 2019 at 09:41:58AM +0200, Lionel Debieve wrote: > Change the wait condition to check if the hash is busy. > Context can be saved as soon as hash has finishing processing > data. Remove unused lock in the device structure. > > Signed-off-by: Lionel Debieve > --- > drivers/crypto/stm32/stm32-hash.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt