Re: [PATCH v2 1/1] kunit: Replace kernel.h with the necessary inclusions

From: Brendan Higgins
Date: Tue Dec 14 2021 - 16:56:43 EST


On Mon, Dec 13, 2021 at 3:44 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> 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>

Reviewed-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>
Tested-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>

> ---
> Andrew, please take it through your tree since KUnit maintainer is non-responsive
> by unknown (to me) reasons.

Sorry, I did not see the previous version of this patch. But this
looks fine, and does not appear to break any tests.