[PATCH] powerpc: Add configurable -Werror for arch/powerpc
Benjamin Herrenschmidt
benh at kernel.crashing.org
Mon Jun 15 19:40:07 EST 2009
> Currently this appears to break only one of the defconfigs, chrp32.
>
> http://kisskb.ellerman.id.au/kisskb/head/1907/
>
> And that's a legitimate error AFAICT:
>
> arch/powerpc/platforms/chrp/setup.c:378: error: the frame size of 1040 bytes is larger than 1024 bytes
>
> From:
>
> 367 void
> 368 chrp_event_scan(unsigned long unused)
> 369 {
> 370 unsigned char log[1024];
> 371 int ret = 0;
I wonder to what extent we could merge that with the pSeries
event-scan...
We can have a closer look tomorrow. In any case, stack alloc for that is
indeed fishy.
Cheers,
Ben.
More information about the Linuxppc-dev
mailing list