linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kees Cook <keescook@chromium.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: lib/crypto/curve25519-hacl64.c:601:1: warning: the frame size of 3168 bytes is larger than 2048 bytes
Date: Thu, 19 Nov 2020 12:36:13 +0800	[thread overview]
Message-ID: <202011191208.csAQP6ac-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3063 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   c2e7554e1b85935d962127efa3c2a76483b0b3b6
commit: 8d58f222e85f01da0c0e1fc1e77986c86de889e2 ubsan: disable UBSAN_ALIGNMENT under COMPILE_TEST
date:   7 months ago
config: arm64-randconfig-r024-20201119 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
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/torvalds/linux.git/commit/?id=8d58f222e85f01da0c0e1fc1e77986c86de889e2
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 8d58f222e85f01da0c0e1fc1e77986c86de889e2
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

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

   lib/crypto/curve25519-hacl64.c: In function 'ladder_cmult.constprop':
>> lib/crypto/curve25519-hacl64.c:601:1: warning: the frame size of 3168 bytes is larger than 2048 bytes [-Wframe-larger-than=]
     601 | }
         | ^
   lib/crypto/curve25519-hacl64.c: In function 'curve25519_generic':
   lib/crypto/curve25519-hacl64.c:788:1: warning: the frame size of 2704 bytes is larger than 2048 bytes [-Wframe-larger-than=]
     788 | }
         | ^

vim +601 lib/crypto/curve25519-hacl64.c

0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  589  
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  590  static void ladder_cmult(u64 *result, u8 *n1, u64 *q)
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  591  {
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  592  	u64 point_buf[40] = { 0 };
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  593  	u64 *nq = point_buf;
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  594  	u64 *nqpq = point_buf + 10;
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  595  	u64 *nq2 = point_buf + 20;
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  596  	u64 *nqpq2 = point_buf + 30;
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  597  	point_copy(nqpq, q);
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  598  	nq[0] = 1;
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  599  	ladder_bigloop_cmult_big_loop(n1, nq, nqpq, nq2, nqpq2, q, 32);
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  600  	point_copy(result, nq);
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08 @601  }
0ed42a6f431e930 Jason A. Donenfeld 2019-11-08  602  

:::::: The code at line 601 was first introduced by commit
:::::: 0ed42a6f431e930b2e8fae21955406e09fe75d70 crypto: curve25519 - generic C library implementations

:::::: TO: Jason A. Donenfeld <Jason@zx2c4.com>
:::::: CC: Herbert Xu <herbert@gondor.apana.org.au>

---
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: 33885 bytes --]

                 reply	other threads:[~2020-11-19  4:36 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=202011191208.csAQP6ac-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=kbuild-all@lists.01.org \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.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).