On Sun, Feb 13, 2022 at 07:51:37PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: b81b1829e7e39f6cebdf6e4d5484eacbceda8554
> commit: e0c1b49f5b674cca7b10549c53b3791d0bbc90a8 lib: zstd: Upgrade to latest upstream zstd version 1.4.10
> date: 3 months ago
> config: powerpc-randconfig-r035-20220213 (https://download.01.org/0day-ci/archive/20220213/[email protected]/config)
> compiler: powerpc-linux-gcc (GCC) 11.2.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=e0c1b49f5b674cca7b10549c53b3791d0bbc90a8
> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout e0c1b49f5b674cca7b10549c53b3791d0bbc90a8
> # save the config file to linux build tree
> mkdir build_dir
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/mtd/devices/ lib/zstd/
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <[email protected]>
>
> All warnings (new ones prefixed by >>):
>
> lib/zstd/common/entropy_common.c: In function 'HUF_readStats':
> >> lib/zstd/common/entropy_common.c:257:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Sorry for the false positive, kindly ignore this report.
> 257 | }
> | ^
>
>
> vim +257 lib/zstd/common/entropy_common.c
>
> 242
> 243
> 244 /*! HUF_readStats() :
> 245 Read compact Huffman tree, saved by HUF_writeCTable().
> 246 `huffWeight` is destination buffer.
> 247 `rankStats` is assumed to be a table of at least HUF_TABLELOG_MAX U32.
> 248 @return : size read from `src` , or an error Code .
> 249 Note : Needed by HUF_readCTable() and HUF_readDTableX?() .
> 250 */
> 251 size_t HUF_readStats(BYTE* huffWeight, size_t hwSize, U32* rankStats,
> 252 U32* nbSymbolsPtr, U32* tableLogPtr,
> 253 const void* src, size_t srcSize)
> 254 {
> 255 U32 wksp[HUF_READ_STATS_WORKSPACE_SIZE_U32];
> 256 return HUF_readStats_wksp(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, wksp, sizeof(wksp), /* bmi2 */ 0);
> > 257 }
> 258
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/[email protected]