[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202205301302.qQvZPPBF-lkp@intel.com>
Date: Mon, 30 May 2022 13:18:33 +0800
From: kernel test robot <lkp@...el.com>
To: Jisheng Zhang <jszhang@...nel.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org,
Palmer Dabbelt <palmerdabbelt@...gle.com>
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'
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 <lkp@...el.com>
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 <benjamin.gaignard@...labora.com>
:::::: CC: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists