Re: [PATCH v1 1/1] crypto: Replace kernel.h with the necessary inclusions
From: Ard Biesheuvel <ardb@kernel.org>
Date: 2021-12-16 17:14:56
Also in:
lkml
From: Ard Biesheuvel <ardb@kernel.org>
Date: 2021-12-16 17:14:56
Also in:
lkml
On Thu, 16 Dec 2021 at 16:05, Andy Shevchenko [off-list ref] wrote:
On Fri, Dec 10, 2021 at 04:30:09PM +0200, Andy Shevchenko wrote:quoted
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