netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/net/netxen/netxen_nic_hw.c: stack usage problem
@ 2006-12-13 13:05 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-12-13 13:05 UTC (permalink / raw)
  To: amitkale; +Cc: netdev, linux-kernel, jgarzik

<--  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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-13 13:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-13 13:05 drivers/net/netxen/netxen_nic_hw.c: stack usage problem Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).