From: Adrian Bunk <bunk@stusta.de>
To: amitkale@netxen.com
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jgarzik@pobox.com
Subject: drivers/net/netxen/netxen_nic_hw.c: stack usage problem
Date: Wed, 13 Dec 2006 14:05:26 +0100 [thread overview]
Message-ID: <20061213130526.GC3851@stusta.de> (raw)
<-- snip -->
...
void netxen_nic_flash_print(struct netxen_adapter *adapter)
{
...
struct netxen_new_user_info user_info;
...
<-- snip -->
This allocates 2108 bytes on the stack.
That's too much considering that the complete stack might be only 4 kB.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
reply other threads:[~2006-12-13 13:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061213130526.GC3851@stusta.de \
--to=bunk@stusta.de \
--cc=amitkale@netxen.com \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.