From: kernel test robot <lkp@intel.com>
To: Johannes Berg <johannes.berg@intel.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-kernel@vger.kernel.org,
Gregory Greenman <gregory.greenman@intel.com>
Subject: net/mac80211/util.c:2507:5: warning: stack frame size (2096) exceeds limit (2048) in 'ieee80211_reconfig'
Date: Mon, 24 Jul 2023 09:13:25 +0800 [thread overview]
Message-ID: <202307240925.c84SraKs-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6eaae198076080886b9e7d57f4ae06fa782f90ef
commit: 61403414e1719f929386dda8fb954bb302628ef3 wifi: mac80211: implement proper AP MLD HW restart
date: 7 weeks ago
config: riscv-randconfig-r042-20230724 (https://download.01.org/0day-ci/archive/20230724/202307240925.c84SraKs-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce: (https://download.01.org/0day-ci/archive/20230724/202307240925.c84SraKs-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307240925.c84SraKs-lkp@intel.com/
All warnings (new ones prefixed by >>):
net/mac80211/util.c:995:1: warning: stack frame size (2672) exceeds limit (2048) in '_ieee802_11_parse_elems_full' [-Wframe-larger-than]
995 | _ieee802_11_parse_elems_full(struct ieee80211_elems_parse_params *params,
| ^
>> net/mac80211/util.c:2507:5: warning: stack frame size (2096) exceeds limit (2048) in 'ieee80211_reconfig' [-Wframe-larger-than]
2507 | int ieee80211_reconfig(struct ieee80211_local *local)
| ^
2 warnings generated.
vim +/ieee80211_reconfig +2507 net/mac80211/util.c
61403414e1719f Johannes Berg 2023-05-04 2506
f2753ddbadb087 Johannes Berg 2009-04-14 @2507 int ieee80211_reconfig(struct ieee80211_local *local)
f2753ddbadb087 Johannes Berg 2009-04-14 2508 {
f2753ddbadb087 Johannes Berg 2009-04-14 2509 struct ieee80211_hw *hw = &local->hw;
f2753ddbadb087 Johannes Berg 2009-04-14 2510 struct ieee80211_sub_if_data *sdata;
55de908ab292c0 Johannes Berg 2012-07-26 2511 struct ieee80211_chanctx *ctx;
f2753ddbadb087 Johannes Berg 2009-04-14 2512 struct sta_info *sta;
2683d65bb016a0 Eliad Peller 2011-07-14 2513 int res, i;
d888130a024d1d Johannes Berg 2013-01-10 2514 bool reconfig_due_to_wowlan = false;
d43c6b6e6f2fca David Spinadel 2013-12-08 2515 struct ieee80211_sub_if_data *sched_scan_sdata;
6ea0a69ca21bbd Johannes Berg 2014-11-19 2516 struct cfg80211_sched_scan_request *sched_scan_req;
d43c6b6e6f2fca David Spinadel 2013-12-08 2517 bool sched_scan_stopped = false;
b0485e9f3defbe Eliad Peller 2015-07-08 2518 bool suspended = local->suspended;
7d352ccf1e9935 Youghandhar Chintala 2022-03-08 2519 bool in_reconfig = false;
d888130a024d1d Johannes Berg 2013-01-10 2520
0f8b82456178d5 Eliad Peller 2014-12-14 2521 /* nothing to do if HW shouldn't run */
0f8b82456178d5 Eliad Peller 2014-12-14 2522 if (!local->open_count)
0f8b82456178d5 Eliad Peller 2014-12-14 2523 goto wake_up;
0f8b82456178d5 Eliad Peller 2014-12-14 2524
:::::: The code at line 2507 was first introduced by commit
:::::: f2753ddbadb0873a98421415882318251bbd9eaa mac80211: add hardware restart function
:::::: TO: Johannes Berg <johannes@sipsolutions.net>
:::::: CC: John W. Linville <linville@tuxdriver.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-07-24 1:14 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=202307240925.c84SraKs-lkp@intel.com \
--to=lkp@intel.com \
--cc=gregory.greenman@intel.com \
--cc=johannes.berg@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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