Messages in this thread | | | Date | Thu, 30 Jan 2014 15:05:23 -0800 (PST) | From | David Rientjes <> | Subject | Re: [PATCH] x86, cpu hotplug, Fix stack frame warning in check_irq_vectors_for_cpu_disable() |
| |
On Tue, 28 Jan 2014, Prarit Bhargava wrote:
> Further discussion here: http://marc.info/?l=linux-kernel&m=139073901101034&w=2 > > kbuild, 0day kernel build service, outputs the warning: > > arch/x86/kernel/irq.c:333:1: warning: the frame size of 2056 bytes > is larger than 2048 bytes [-Wframe-larger-than=] > > because check_irq_vectors_for_cpu_disable() allocates two cpumasks on the > stack. Fix this by moving the two cpumasks to a global file context. > > Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Reported-by: Fengguang Wu <fengguang.wu@intel.com> Tested-by: David Rientjes <rientjes@google.com>
| |