Re: [PATCH] init/Kconfig: Add ENDIAN attributes for all architectures using

From: Arnd Bergmann
Date: Mon Sep 15 2014 - 09:55:39 EST


On Sunday 14 September 2014, Chen Gang wrote:
> Hello Maintainers:
>
> Is this patch worthy enough to be applied?
>
> Welcome any ideas, suggestions or completions.

I find it hard to judge whether it's worth it or not. You gave one example
for a driver that needs this, but what would be your estimate on how
many other drivers have the same problem, either producing a #warning
or misbehaving if neither symbol is set?

Having all architectures consistently report the endianess would be nice,
but we have to weigh the advantages (currently broken code, potential
simplifications) against the regression risk.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/