OpenCloudOS-Kernel/drivers/net/vxge
Prarit Bhargava 7dad171c39 vxge: Fix checkstack warning in vxge_probe()
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@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-06-02 05:51:19 -07:00
..
Makefile Neterion: New driver: Kconfig and Makefile 2009-04-02 00:33:46 -07:00
vxge-config.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
vxge-config.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-04-11 14:53:53 -07:00
vxge-ethtool.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-04-11 14:53:53 -07:00
vxge-ethtool.h Neterion: New driver: Ethtool related 2009-04-02 00:33:44 -07:00
vxge-main.c vxge: Fix checkstack warning in vxge_probe() 2010-06-02 05:51:19 -07:00
vxge-main.h vxge: Pass correct number of VFs value to pci_sriov_enable(). 2010-04-08 01:48:57 -07:00
vxge-reg.h vxge: Removed accessing non-supported registers. 2009-10-06 15:22:52 -07:00
vxge-traffic.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
vxge-traffic.h vxge: Fixed MSIX interrupt configuration. 2010-03-29 16:57:22 -07:00
vxge-version.h vxge: Version update. 2010-04-08 01:49:19 -07:00