From: kernel test robot <lkp@intel.com>
To: "Ahmed S. Darwish" <a.darwish@linutronix.de>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org,
Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Subject: [rt-devel:linux-5.15.y-rt-rebase 45/158] net/sched/sch_gred.c:902:13: error: stack frame size (1184) exceeds limit (1024) in 'gred_destroy'
Date: Wed, 3 Nov 2021 03:47:40 +0800 [thread overview]
Message-ID: <202111030322.FZJyg4A2-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2947 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.15.y-rt-rebase
head: f44dccacf55b7d1e3a6541b19ab39a9c425b41c8
commit: 4502dc5ee9ba8aaf3ef291e8995443fdb70e8345 [45/158] net: sched: Protect Qdisc::bstats with u64_stats
config: hexagon-buildonly-randconfig-r005-20211101 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 264d3b6d4e08401c5b50a85bd76e80b3461d77e6)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/commit/?id=4502dc5ee9ba8aaf3ef291e8995443fdb70e8345
git remote add rt-devel https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
git fetch --no-tags rt-devel linux-5.15.y-rt-rebase
git checkout 4502dc5ee9ba8aaf3ef291e8995443fdb70e8345
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=hexagon
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> net/sched/sch_gred.c:902:13: error: stack frame size (1184) exceeds limit (1024) in 'gred_destroy' [-Werror,-Wframe-larger-than]
static void gred_destroy(struct Qdisc *sch)
^
>> net/sched/sch_gred.c:310:13: error: stack frame size (1184) exceeds limit (1024) in 'gred_offload' [-Werror,-Wframe-larger-than]
static void gred_offload(struct Qdisc *sch, enum tc_gred_command command)
^
2 errors generated.
vim +/gred_destroy +902 net/sched/sch_gred.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 901
^1da177e4c3f41 Linus Torvalds 2005-04-16 @902 static void gred_destroy(struct Qdisc *sch)
^1da177e4c3f41 Linus Torvalds 2005-04-16 903 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 904 struct gred_sched *table = qdisc_priv(sch);
^1da177e4c3f41 Linus Torvalds 2005-04-16 905 int i;
^1da177e4c3f41 Linus Torvalds 2005-04-16 906
^1da177e4c3f41 Linus Torvalds 2005-04-16 907 for (i = 0; i < table->DPs; i++) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 908 if (table->tab[i])
6639607ed9deae Thomas Graf 2005-11-05 909 gred_destroy_vq(table->tab[i]);
^1da177e4c3f41 Linus Torvalds 2005-04-16 910 }
890d8d23ec3c9e Jakub Kicinski 2018-11-19 911 gred_offload(sch, TC_GRED_DESTROY);
^1da177e4c3f41 Linus Torvalds 2005-04-16 912 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 913
:::::: The code at line 902 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33831 bytes --]
reply other threads:[~2021-11-02 19:47 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=202111030322.FZJyg4A2-lkp@intel.com \
--to=lkp@intel.com \
--cc=a.darwish@linutronix.de \
--cc=bigeasy@linutronix.de \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@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
all inboxes | Powered by JetHome®