Re: [PATCH] nfp: Remove kernel.h when not needed

From: Simon Horman
Date: Sat Jun 04 2022 - 05:17:33 EST


On Sat, Jun 04, 2022 at 07:33:00AM +0200, Christophe JAILLET wrote:
> When kernel.h is used in the headers it adds a lot into dependency hell,
> especially when there are circular dependencies are involved.
>
> Remove kernel.h when it is not needed.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Thanks for improving the NFP driver.

I think the contents of this patch looks good.

Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>

I also think this patch is appropriate for net-next
("[PATCH net-next] ..." in subject) and should thus be re-submitted
once net-next re-opens for the v5.20 development cycle, which I would
expect to happen in the coming days, after v5.19-rc1 has been released.

I'm happy to handle re-submitting it if you prefer.