Re: [PATCH] x86/numa: Use cpumask_available instead of hardcoded NULL check
From: Ingo Molnar
Date: Wed Aug 03 2022 - 05:08:30 EST
* Siddh Raman Pant <code@xxxxxxxx> wrote:
> > Does 'allmodconfig' reproduce the warning for you:
> >
> > $ make allmodconfig
> > $ make arch/x86/mm/numa.o
> >
> > ?
> >
> > If yes, then this could be due to gcc-12, as it doesn't reproduce with
> > gcc-11 for me:
> >
> > gcc version 11.2.0 (Ubuntu 11.2.0-19ubuntu1)
> >
> > Thanks,
> >
> > Ingo
> >
>
> There is no reason why allmodconfig would trigger the warning, [...]
Well, unless I'm misreading your changelog, all the warning needs to
trigger is CONFIG_CPUMASK_OFFSTACK=y.
> as it has CONFIG_CPUMASK_OFFSTACK=y, but the warning is because of the
> other case.
What 'other case'? I've re-read the discussion and don't see it, but maybe
I'm a bit daft this morning ...
> Did you try the config file I had linked to earlier?
Yes, and it didn't trigger the warning.
Thanks,
Ingo