diff options
author | Prarit Bhargava <prarit@redhat.com> | 2010-06-02 14:51:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-02 14:51:19 +0200 |
commit | 7dad171c39dc83bd267c4f98d8b02d38e0d65596 (patch) | |
tree | fa2d2808359069aaef576852cee7443323d78134 /net/packet | |
parent | net: CONFIG_NET_NS reduction (diff) | |
download | linux-7dad171c39dc83bd267c4f98d8b02d38e0d65596.tar.xz linux-7dad171c39dc83bd267c4f98d8b02d38e0d65596.zip |
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>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions