lkml.org 
[lkml]   [2014]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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>


\
 
 \ /
  Last update: 2014-01-31 00:41    [W:0.044 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site