Re: [PATCH] EDAC, {skx|i10nm}_edac: Fix randconfig build error

From: Arnd Bergmann
Date: Fri Mar 22 2019 - 10:00:47 EST


On Fri, Mar 15, 2019 at 10:28 PM Luck, Tony <tony.luck@xxxxxxxxx> wrote:
>
> > Basically I cheat Kconfig, so if one driver is built-in and
> > the other is a loadable module, we compile both as built-in.
>
> My mail client may have munged that path. Both "git am" and "patch -p1"
> barf when I try to apply it. Since it was small I tried to replicate manually,
> but I must have messed up something because Kconfig still seems content
> to let me have CONFIG_EDAC_SKX=y with CONFIG_EDAC_I10NM=m
>
> :-(

Sorry, this was my mistake, my email was garbled. The patch was
correct though: the idea here is not to change the Kconfig symbols
but to change the Makefile to do the right thing even when Kconfig
is set wrong.

Arnd