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 A89E4C433EF for ; Fri, 17 Dec 2021 08:39:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233909AbhLQIjl (ORCPT ); Fri, 17 Dec 2021 03:39:41 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:58076 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229502AbhLQIji (ORCPT ); Fri, 17 Dec 2021 03:39:38 -0500 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1my8m3-00011y-VG; Fri, 17 Dec 2021 19:39:33 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 17 Dec 2021 19:39:31 +1100 Date: Fri, 17 Dec 2021 19:39:31 +1100 From: Herbert Xu To: Andy Shevchenko Cc: Ard Biesheuvel , Eric Biggers , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" , Steffen Klassert Subject: Re: [PATCH v1 1/1] crypto: Replace kernel.h with the necessary inclusions Message-ID: <20211217083931.GE7018@gondor.apana.org.au> References: <20211210143009.4770-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211210143009.4770-1-andriy.shevchenko@linux.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 10, 2021 at 04:30:09PM +0200, Andy Shevchenko wrote: > When kernel.h is used in the headers it adds a lot into dependency hell, > especially when there are circular dependencies are involved. > > Replace kernel.h inclusion with the list of what is really being used. > > Signed-off-by: Andy Shevchenko > --- > include/crypto/aead.h | 4 +++- > include/crypto/algapi.h | 5 ++++- > include/crypto/blake2b.h | 1 - > include/crypto/blake2s.h | 2 +- > include/crypto/cryptd.h | 3 ++- > include/crypto/engine.h | 6 +++++- > include/crypto/pcrypt.h | 2 +- > include/crypto/scatterwalk.h | 3 ++- > include/crypto/skcipher.h | 6 +++++- > 9 files changed, 23 insertions(+), 9 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