[PATCH 1/3] fault-inject: improve build for CONFIG_FAULT_INJECTION=n

Andrew Morton akpm at linux-foundation.org
Wed Aug 14 19:12:20 UTC 2024


On Wed, 14 Aug 2024 09:57:31 +0300 Jani Nikula <jani.nikula at intel.com> wrote:

> > Removing a nested include exposes all those sites which were
> > erroneously depending upon that nested include.  Here's what I have
> > found so far, there will be more.
> 
> Right. I didn't hit them with the configs I tried... though I wonder why
> not, especially lib/fault-inject.c puzzles me.
> 
> How do you want to proceed? Arguably uncovering and fixing those places
> is good, but that's kind of an unintended consequence here.

Is OK, it's a good change.  I fixed everything which my usual build
testing covers.  Other things will be reported and I'll fix those also.
If you have time to eyeball the 36 files which include fault-inject.h
then that would help things along.



More information about the dri-devel mailing list