From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E11817D0 for ; Mon, 30 May 2022 05:18:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653887921; x=1685423921; h=date:from:to:cc:subject:message-id:mime-version; bh=0a/4uoP4JcOFCvsthsMIxeg4XlUrVnNXIKAS3SNDq2A=; b=BAEtF198wIaf1J4lVijAgn5E6XdlKHwCZnX1GuV31euE/DYkIcHMTUqT R34Gxny2eD4hpC/LWGdMezeP+wpajQPdNIGNptraiJ1ZcPvMviU9O0PZl SIvHMM+suf/xaqFENRYGxbFbWwEzreiNZhehM2HL5c6g7/3zGnNXsrKVt VJ9Pn6K8MF1HFXqo7QF/aDTVtp2XUJ82v7PXurtoRJrut61O7T5zg6Xc9 ARbsrH70HMonalIok4xGFgxb2WcNQdSDFNu4pSyJ4+QKv0Tmth/PuG4vt wd/PVkRKn5BuOd2O3DGmc7qHEakHNN03CUqqPhCMk5B98Kda2UKxe0737 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10362"; a="272465399" X-IronPort-AV: E=Sophos;i="5.91,262,1647327600"; d="scan'208";a="272465399" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 May 2022 22:18:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,262,1647327600"; d="scan'208";a="706004498" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 29 May 2022 22:18:39 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1nvXna-0001VG-EG; Mon, 30 May 2022 05:18:38 +0000 Date: Mon, 30 May 2022 13:18:33 +0800 From: kernel test robot To: Jisheng Zhang Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Palmer Dabbelt Subject: drivers/staging/media/hantro/hantro_g2_hevc_dec.c:536:5: warning: stack frame size (1232) exceeds limit (1024) in 'hantro_g2_hevc_dec_run' Message-ID: <202205301302.qQvZPPBF-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Jisheng, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b00ed48bb0a7c295facf9036135a573a5cdbe7de commit: 8341dcfbd8dda98a3b2836a421016f7d88e35b1c riscv: Enable Undefined Behavior Sanitizer UBSAN date: 9 months ago config: riscv-randconfig-r014-20220530 (https://download.01.org/0day-ci/archive/20220530/202205301302.qQvZPPBF-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0776c48f9b7e69fa447bee57c7c0985caa856be9) 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 riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8341dcfbd8dda98a3b2836a421016f7d88e35b1c git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 8341dcfbd8dda98a3b2836a421016f7d88e35b1c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/staging/media/hantro/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/staging/media/hantro/hantro_g2_hevc_dec.c:536:5: warning: stack frame size (1232) exceeds limit (1024) in 'hantro_g2_hevc_dec_run' [-Wframe-larger-than] int hantro_g2_hevc_dec_run(struct hantro_ctx *ctx) ^ 1 warning generated. vim +/hantro_g2_hevc_dec_run +536 drivers/staging/media/hantro/hantro_g2_hevc_dec.c cb5dd5a0fa518d Benjamin Gaignard 2021-06-03 535 cb5dd5a0fa518d Benjamin Gaignard 2021-06-03 @536 int hantro_g2_hevc_dec_run(struct hantro_ctx *ctx) :::::: The code at line 536 was first introduced by commit :::::: cb5dd5a0fa518dff14ff2b90837c3c8f98f4dd5c media: hantro: Introduce G2/HEVC decoder :::::: TO: Benjamin Gaignard :::::: CC: Mauro Carvalho Chehab -- 0-DAY CI Kernel Test Service https://01.org/lkp