netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* You have to fix this
@ 2012-09-27 22:34 David Miller
  2012-09-28 11:59 ` Vipul Pandya
  0 siblings, 1 reply; 5+ messages in thread
From: David Miller @ 2012-09-27 22:34 UTC (permalink / raw)
  To: vipul; +Cc: netdev


You cannot put such monster sized local data objects on the stack:

drivers/net/ethernet/chelsio/cxgb4/t4_hw.c: In function ‘t4_memory_rw.constprop.6’:
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:484:1: warning: the frame size of 2056 bytes is larger than 2048 bytes [-Wframe-larger-than=]

That's because of this thing:

		__be32 data[MEMWIN0_APERTURE/sizeof(__be32)];

I'm really surprised this didn't show up in any of your test builds.
Or are you ignoring warnings that your changes add?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-10-03 21:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-27 22:34 You have to fix this David Miller
2012-09-28 11:59 ` Vipul Pandya
2012-09-28 17:43   ` David Miller
2012-10-03 10:12     ` Vipul Pandya
2012-10-03 21:17       ` Randy Dunlap

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