Re: [PATCH 02/14] mm/hmm: fix header file if/else/endif maze

From: Jerome Glisse
Date: Fri Mar 16 2018 - 17:18:13 EST


On Fri, Mar 16, 2018 at 02:09:59PM -0700, Andrew Morton wrote:
> On Fri, 16 Mar 2018 15:14:07 -0400 jglisse@xxxxxxxxxx wrote:
>
> > From: Jérôme Glisse <jglisse@xxxxxxxxxx>
> >
> > The #if/#else/#endif for IS_ENABLED(CONFIG_HMM) were wrong.
>
> "were wrong" is not a sufficient explanation of the problem, especially
> if we're requesting a -stable backport. Please fully describe the
> effects of a bug when fixing it?

Build issue (compilation failure) if you have multiple includes of
hmm.h through different headers is the most obvious issue. So it
will be very obvious with any big driver that include the file in
different headers.

I can respin with that. Sorry again for not being more explanatory
it is always hard for me to figure what is not obvious to others.

Cheers,
Jérôme