[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100602.055131.135985480.davem@davemloft.net>
Date: Wed, 02 Jun 2010 05:51:31 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: prarit@...hat.com
Cc: netdev@...r.kernel.org, mschmidt@...hat.com
Subject: Re: [PATCH]: vxge: Fix checkstack warning in vxge_probe()
From: Prarit Bhargava <prarit@...hat.com>
Date: Fri, 28 May 2010 14:01:49 -0400
> Linux 2.6.33 reports this checkstack warning:
>
> drivers/net/vxge/vxge-main.c: In function 'vxge_probe':
> drivers/net/vxge/vxge-main.c:4409: warning: the frame size of 1028 bytes is larger than 1024 bytes
>
> This warning does not occur in the latest linux-2.6 or linux-next, however,
> when I do a 'make -j32 CONFIG_FRAME_WARN=512' instead of 1024 I see
>
> drivers/net/vxge/vxge-main.c: In function ‘vxge_probe’:
> drivers/net/vxge/vxge-main.c:4423: warning: the frame size of 1024 bytes is larger than 512 bytes
>
> This patch moves the large vxge_config struct off the stack.
>
> Signed-off-by: Prarit Bhargava <prarit@...hat.com>
Applied to net-next-2.6, thanks.
Powered by blists - more mailing lists