From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 65DFEC433F5 for ; Fri, 18 Feb 2022 05:38:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229717AbiBRFiO (ORCPT ); Fri, 18 Feb 2022 00:38:14 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:37128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230155AbiBRFiO (ORCPT ); Fri, 18 Feb 2022 00:38:14 -0500 Received: from fornost.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D3B01A8CEA; Thu, 17 Feb 2022 21:37:56 -0800 (PST) Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1nKvxm-0005Fg-Mk; Fri, 18 Feb 2022 16:37:51 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 18 Feb 2022 16:37:50 +1100 Date: Fri, 18 Feb 2022 16:37:50 +1100 From: Herbert Xu To: Julia Lawall Cc: kernel-janitors@vger.kernel.org, "David S. Miller" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/9] crypto: use GFP_KERNEL Message-ID: References: <20220210204223.104181-1-Julia.Lawall@inria.fr> <20220210204223.104181-5-Julia.Lawall@inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220210204223.104181-5-Julia.Lawall@inria.fr> Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Feb 10, 2022 at 09:42:18PM +0100, Julia Lawall wrote: > Platform_driver probe functions aren't called with locks held > and thus don't need GFP_ATOMIC. Use GFP_KERNEL instead. > > Problem found with Coccinelle. > > Signed-off-by: Julia Lawall > > --- > drivers/crypto/ux500/cryp/cryp_core.c | 2 +- > drivers/crypto/ux500/hash/hash_core.c | 2 +- > 2 files changed, 2 insertions(+), 2 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