[PATCH] soc: imx: Kconfig: force using OF when COMPILE_TEST
shawnguo at kernel.org
Tue Jun 23 23:27:49 EDT 2020
On Wed, Jun 24, 2020 at 01:54:42AM +0000, Peng Fan wrote:
> > > ok, I'll use __maybe_unused in v2, but it actually not make sense to
> > > compile this file for x86_64.
> > This is wrong in a subtle way. It makes sense to compile the driver on
> > x86_64 (and other archs) for QA reasons. It doesn't make sense to use a
> > kernel on an x86 machine with this driver enabled. That's why we have
> > COMPILE_TEST which you disable if you want to create a kernel to actually
> > run it.
> What's your idea? I am not very clear on which path to go.
I think we agreed on __maybe_unused. What Uwe was questioning is the
second part of your statement - "it actually not make sense to compile
this file for x86_64."
More information about the linux-arm-kernel