Re: [PATCH v2] ARM: atags_to_fdt: don't warn about stack size

From: Arnd Bergmann
Date: Fri Feb 19 2016 - 11:59:38 EST


On Thursday 18 February 2016 17:26:56 Arnd Bergmann wrote:
> On Thursday 18 February 2016 11:13:52 Nicolas Pitre wrote:
> > What about setting the warning to 2048 instead?
>
> Sure, actually 1280 is more than enough I think.
>
It turns out that doesn't fix the problem though, as the new
argument gets prepended and the existing flag overrides it.

I have modified the patch now to do both:

CFLAGS_REMOVE_atags_to_fdt.o += -Wframe-larger-than=${CONFIG_FRAME_WARN}
CFLAGS_atags_to_fdt.o += -Wframe-larger-than=1280

Arnd