From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============8783087766882943024==" MIME-Version: 1.0 From: Philip Li To: kbuild-all@lists.01.org Subject: Re: lib/zstd/common/entropy_common.c:257:1: warning: the frame size of 1056 bytes is larger than 1024 bytes Date: Sun, 13 Feb 2022 21:11:38 +0800 Message-ID: In-Reply-To: <202202131904.0y0h7bnY-lkp@intel.com> List-Id: --===============8783087766882943024== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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.gi= t master > head: b81b1829e7e39f6cebdf6e4d5484eacbceda8554 > commit: e0c1b49f5b674cca7b10549c53b3791d0bbc90a8 lib: zstd: Upgrade to la= test upstream zstd version 1.4.10 > date: 3 months ago > config: powerpc-randconfig-r035-20220213 (https://download.01.org/0day-ci= /archive/20220213/202202131904.0y0h7bnY-lkp(a)intel.com/config) > compiler: powerpc-linux-gcc (GCC) 11.2.0 > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/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=3De0c1b49f5b674cca7b10549c53b3791d0bbc90a8 > 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=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cro= ss O=3Dbuild_dir ARCH=3Dpowerpc SHELL=3D/bin/bash drivers/mtd/devices/ lib/= zstd/ > = > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > = > 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 105= 6 bytes is larger than 1024 bytes [-Wframe-larger-than=3D] 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* rankSta= ts, > 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, nbSym= bolsPtr, tableLogPtr, src, srcSize, wksp, sizeof(wksp), /* bmi2 */ 0); > > 257 } > 258 = > = > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============8783087766882943024==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12019C433EF for ; Sun, 13 Feb 2022 13:13:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236228AbiBMNNF (ORCPT ); Sun, 13 Feb 2022 08:13:05 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:37576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229674AbiBMNNC (ORCPT ); Sun, 13 Feb 2022 08:13:02 -0500 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 447FB5AEF3 for ; Sun, 13 Feb 2022 05:12:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644757977; x=1676293977; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=yMEM7X/7nrrFn1z7/KbgGO708wO+6+qYnCm/lkiLXbE=; b=QM81wBQI4Sdt1YOuDtHQoDm0/nqcs3Pal+c3e3PrbCBl+gVWDn8HzkAm dixspS/RovDR23oKRUMvj696kbbDTDnjq7wBbGF6BlsSJYlzGCDypUMkk vaFgKq5hd3w4yXqRW9HQj3jscvO3Sy8xtjjW+AjghxQGjT1Z+GXqWOUL7 MknM+0MkSVRw3+zXPhxp0pzcvRflgSiRCH3j5HvL3FVBtkAN0XJ8jlC0O cGg/to4L4qc9vFoI4uvHegovB0FyJfYHIDdrgxMHiuzjD97S8mSKdCBfh TnOwPylaLSvpgA0qOClGmgluKTNiLL3RtE76ozubs4+X9V65LDFODsQci Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10256"; a="233498262" X-IronPort-AV: E=Sophos;i="5.88,365,1635231600"; d="scan'208";a="233498262" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2022 05:12:56 -0800 X-IronPort-AV: E=Sophos;i="5.88,365,1635231600"; d="scan'208";a="542738267" Received: from rli9-dbox.sh.intel.com (HELO rli9-dbox) ([10.239.159.142]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2022 05:12:55 -0800 Date: Sun, 13 Feb 2022 21:11:38 +0800 From: Philip Li To: kernel test robot Cc: Nick Terrell , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: lib/zstd/common/entropy_common.c:257:1: warning: the frame size of 1056 bytes is larger than 1024 bytes Message-ID: References: <202202131904.0y0h7bnY-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202202131904.0y0h7bnY-lkp@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/202202131904.0y0h7bnY-lkp@intel.com/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 > > 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/kbuild-all@lists.01.org