Re: [PATCH] elfcore: um: Fix CONFIG_UM typo in linux/elfcore.h

From: Andrew Morton
Date: Wed Oct 06 2021 - 20:57:57 EST


On Wed, 6 Oct 2021 14:57:56 -0700 Nick Desaulniers <ndesaulniers@xxxxxxxxxx> wrote:

> On Wed, Oct 6, 2021 at 11:11 AM Catalin Marinas <catalin.marinas@xxxxxxx> wrote:
> >
> > There is no CONFIG_UM, only UML. In addition, the arch/x86/um/elfcore.c
> > file is only compiled if CONFIG_X86_32. Fix the #if conditions in the
> > linux/elfcore.h header accordingly.
> >
> > Fixes: 6e7b64b9dd6d ("elfcore: fix building with clang")
> > Signed-off-by: Catalin Marinas <catalin.marinas@xxxxxxx>
> > Cc: Arnd Bergmann <arnd@xxxxxxxx>
>
> Lukas noticed and sent a patch coincidentally just before you:
> https://lore.kernel.org/lkml/20211006082209.417-1-lukas.bulwahn@xxxxxxxxx/
>
> Let me cc' you and Arnd into that thread.

I grabbed Lukas's version, as it seemed more complete.

Also I added cc:stable.