Re: [PATCH 01/12] extarray: define helpers for arrays defined in linker scripts

From: Vegard Nossum
Date: Mon Oct 17 2016 - 07:28:52 EST


On 10/17/2016 11:09 AM, Peter Zijlstra wrote:
On Mon, Oct 17, 2016 at 11:01:13AM +0200, Jiri Slaby wrote:
On the top of that, it's incorrect C according to the standard.

According to the standard non of the kernel has any chance in hell of
working, so don't pretend you care about that :-)

I think that's a bit of a false dilemma. It's obviously true that kernel
code does not conform to the standards, but that doesn't mean it's not
something we should strive towards or care about in general. It helps
static analysis tools, compiler diversity, etc.


Vegard