From: kernel test robot <lkp@intel.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
linux-kernel@vger.kernel.org, Jakub Kicinski <kuba@kernel.org>,
Matthieu Baerts <matthieu.baerts@tessares.net>
Subject: net/xfrm/xfrm_output.c:506:5: warning: stack frame size of 2128 bytes in function 'xfrm_output_resume'
Date: Sun, 7 Feb 2021 08:53:53 +0800 [thread overview]
Message-ID: <202102070848.nLwrRPhY-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4127 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 61556703b610a104de324e4f061dc6cf7b218b46
commit: 010b430d5df556d5d232e3751ac691ba9e88c041 mptcp: MPTCP_IPV6 should depend on IPV6 instead of selecting it
date: 4 months ago
config: powerpc64-randconfig-r025-20210205 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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
# install powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=010b430d5df556d5d232e3751ac691ba9e88c041
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 010b430d5df556d5d232e3751ac691ba9e88c041
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> net/xfrm/xfrm_output.c:506:5: warning: stack frame size of 2128 bytes in function 'xfrm_output_resume' [-Wframe-larger-than=]
int xfrm_output_resume(struct sk_buff *skb, int err)
^
1 warning generated.
vim +/xfrm_output_resume +506 net/xfrm/xfrm_output.c
862b82c6f960cc Herbert Xu 2007-11-13 505
c6581a457e661b Herbert Xu 2007-11-13 @506 int xfrm_output_resume(struct sk_buff *skb, int err)
862b82c6f960cc Herbert Xu 2007-11-13 507 {
29a26a56803855 Eric W. Biederman 2015-09-15 508 struct net *net = xs_net(skb_dst(skb)->xfrm);
be10de0a322ded Eric W. Biederman 2015-09-17 509
c6581a457e661b Herbert Xu 2007-11-13 510 while (likely((err = xfrm_output_one(skb, err)) == 0)) {
895b5c9f206eb7 Florian Westphal 2019-09-29 511 nf_reset_ct(skb);
862b82c6f960cc Herbert Xu 2007-11-13 512
cf91a99daa4651 Eric W. Biederman 2015-10-07 513 err = skb_dst(skb)->ops->local_out(net, skb->sk, skb);
862b82c6f960cc Herbert Xu 2007-11-13 514 if (unlikely(err != 1))
c6581a457e661b Herbert Xu 2007-11-13 515 goto out;
862b82c6f960cc Herbert Xu 2007-11-13 516
adf30907d63893 Eric Dumazet 2009-06-02 517 if (!skb_dst(skb)->xfrm)
13206b6bff3b15 Eric W. Biederman 2015-10-07 518 return dst_output(net, skb->sk, skb);
862b82c6f960cc Herbert Xu 2007-11-13 519
adf30907d63893 Eric Dumazet 2009-06-02 520 err = nf_hook(skb_dst(skb)->ops->family,
29a26a56803855 Eric W. Biederman 2015-09-15 521 NF_INET_POST_ROUTING, net, skb->sk, skb,
adf30907d63893 Eric Dumazet 2009-06-02 522 NULL, skb_dst(skb)->dev, xfrm_output2);
862b82c6f960cc Herbert Xu 2007-11-13 523 if (unlikely(err != 1))
c6581a457e661b Herbert Xu 2007-11-13 524 goto out;
862b82c6f960cc Herbert Xu 2007-11-13 525 }
862b82c6f960cc Herbert Xu 2007-11-13 526
c6581a457e661b Herbert Xu 2007-11-13 527 if (err == -EINPROGRESS)
c6581a457e661b Herbert Xu 2007-11-13 528 err = 0;
c6581a457e661b Herbert Xu 2007-11-13 529
c6581a457e661b Herbert Xu 2007-11-13 530 out:
862b82c6f960cc Herbert Xu 2007-11-13 531 return err;
862b82c6f960cc Herbert Xu 2007-11-13 532 }
c6581a457e661b Herbert Xu 2007-11-13 533 EXPORT_SYMBOL_GPL(xfrm_output_resume);
862b82c6f960cc Herbert Xu 2007-11-13 534
:::::: The code at line 506 was first introduced by commit
:::::: c6581a457e661b7070e484ad723bbf555b17aca2 [IPSEC]: Add async resume support on output
:::::: TO: Herbert Xu <herbert@gondor.apana.org.au>
:::::: CC: David S. Miller <davem@davemloft.net>
---
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: 37008 bytes --]
reply other threads:[~2021-02-07 0:56 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=202102070848.nLwrRPhY-lkp@intel.com \
--to=lkp@intel.com \
--cc=clang-built-linux@googlegroups.com \
--cc=geert@linux-m68k.org \
--cc=kbuild-all@lists.01.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matthieu.baerts@tessares.net \
/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®