Re: [PATCH v1 1/1] crypto: Replace kernel.h with the necessary inclusions

From: Herbert Xu
Date: Fri Dec 17 2021 - 03:39:42 EST


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 <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> 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 <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt