linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Jason A. Donenfeld" <zx2c4@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	0day robot <lkp@intel.com>
Subject: lib/crypto/blake2s-selftest.c:630:1: warning: the frame size of 1032 bytes is larger than 1024 bytes
Date: Sat, 28 May 2022 21:20:29 +0800	[thread overview]
Message-ID: <202205282155.LdL0Vb6J-lkp@intel.com> (raw)

tree:   https://github.com/intel-lab-lkp/linux/commits/UPDATE-20220528-180939/Jason-A-Donenfeld/crypto-blake2s-remove-shash-module/20220526-172214
head:   54e31fb223170c2e7f3a6c3b1f3b438e32788f43
commit: 54e31fb223170c2e7f3a6c3b1f3b438e32788f43 crypto: blake2s - remove shash module
date:   3 hours ago
config: h8300-randconfig-r015-20220524 (https://download.01.org/0day-ci/archive/20220528/202205282155.LdL0Vb6J-lkp@intel.com/config)
compiler: h8300-linux-gcc (GCC) 11.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://github.com/intel-lab-lkp/linux/commit/54e31fb223170c2e7f3a6c3b1f3b438e32788f43
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review UPDATE-20220528-180939/Jason-A-Donenfeld/crypto-blake2s-remove-shash-module/20220526-172214
        git checkout 54e31fb223170c2e7f3a6c3b1f3b438e32788f43
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=h8300 SHELL=/bin/bash lib/crypto/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   lib/crypto/blake2s-selftest.c: In function 'blake2s_selftest':
>> lib/crypto/blake2s-selftest.c:630:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
     630 | }
         | ^

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for DRM_GEM_SHMEM_HELPER
   Depends on HAS_IOMEM && DRM && MMU
   Selected by
   - DRM_SSD130X && HAS_IOMEM && DRM


vim +630 lib/crypto/blake2s-selftest.c

54e31fb223170c Jason A. Donenfeld 2022-05-28  612  
54e31fb223170c Jason A. Donenfeld 2022-05-28  613  		memcpy(&state1, &state, sizeof(state1));
54e31fb223170c Jason A. Donenfeld 2022-05-28  614  		blake2s_compress(&state1, blocks, 1, BLAKE2S_BLOCK_SIZE);
54e31fb223170c Jason A. Donenfeld 2022-05-28  615  		for (l = 1; l < sizeof(long); ++l) {
54e31fb223170c Jason A. Donenfeld 2022-05-28  616  			memcpy(unaligned_block + l, blocks,
54e31fb223170c Jason A. Donenfeld 2022-05-28  617  			       BLAKE2S_BLOCK_SIZE);
54e31fb223170c Jason A. Donenfeld 2022-05-28  618  			memcpy(&state2, &state, sizeof(state2));
54e31fb223170c Jason A. Donenfeld 2022-05-28  619  			blake2s_compress(&state2, unaligned_block + l, 1,
54e31fb223170c Jason A. Donenfeld 2022-05-28  620  					 BLAKE2S_BLOCK_SIZE);
54e31fb223170c Jason A. Donenfeld 2022-05-28  621  			if (memcmp(&state1, &state2, sizeof(state1))) {
54e31fb223170c Jason A. Donenfeld 2022-05-28  622  				pr_err("blake2s random compress align %d self-test %d: FAIL\n",
54e31fb223170c Jason A. Donenfeld 2022-05-28  623  				       l, i + 1);
54e31fb223170c Jason A. Donenfeld 2022-05-28  624  				success = false;
54e31fb223170c Jason A. Donenfeld 2022-05-28  625  			}
54e31fb223170c Jason A. Donenfeld 2022-05-28  626  		}
54e31fb223170c Jason A. Donenfeld 2022-05-28  627  	}
54e31fb223170c Jason A. Donenfeld 2022-05-28  628  
66d7fb94e4ffe5 Jason A. Donenfeld 2019-11-08  629  	return success;
66d7fb94e4ffe5 Jason A. Donenfeld 2019-11-08 @630  }

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

                 reply	other threads:[~2022-05-28 13:20 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=202205282155.LdL0Vb6J-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zx2c4@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).