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

From: Ard Biesheuvel
Date: Thu Dec 16 2021 - 12:14:56 EST


On Thu, 16 Dec 2021 at 16:05, Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> 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.
>
> Any comments on this?
>

I am not crazy about the need for forward declarations of struct
scatterlist and struct device. Other than that, I think this is an
improvement