Re: [PATCH] kfifo: don't include dma-mapping.h in kfifo.h

From: Christoph Hellwig
Date: Tue Oct 15 2024 - 03:57:19 EST


On Tue, Oct 15, 2024 at 09:55:06AM +0200, Jiri Slaby wrote:
>> Because it would not comple with out it. To be specific: asm/io.h is
>> where __raw_readl and __raw_writel are defined, and we generally prefer
>> the Linux over the asm headers.
>
> OK, but how does this relate to "kfifo: don't include dma-mapping.h in
> kfifo.h"?

Because before that it get io.h pulled in through our batshit crazy
header depency chain.