netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vipul Pandya <vipul@chelsio.com>
To: David Miller <davem@davemloft.net>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: You have to fix this
Date: Fri, 28 Sep 2012 17:29:22 +0530	[thread overview]
Message-ID: <5065911A.3000509@chelsio.com> (raw)
In-Reply-To: <20120927.183406.962014014858457666.davem@davemloft.net>



On 28-09-2012 04:04, David Miller wrote:
> 
> 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?
> 

Thanks for pointing this out. We will send a patch for this soon.
I am not ignoring any warnings. I did build my tree different way as
shown below but did not get above warning message.
#> make
#> make allmodconfig
#> make allnoconfig

Please let me know how else would I get above warning message?

I missed doing make checkstack which doesn't display warning message but
lists the function names.

Thanks,
Vipul Pandya

  reply	other threads:[~2012-09-28 11:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-27 22:34 You have to fix this David Miller
2012-09-28 11:59 ` Vipul Pandya [this message]
2012-09-28 17:43   ` David Miller
2012-10-03 10:12     ` Vipul Pandya
2012-10-03 21:17       ` Randy Dunlap

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=5065911A.3000509@chelsio.com \
    --to=vipul@chelsio.com \
    --cc=davem@davemloft.net \
    --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 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).