drivers/media/platform/verisilicon/hantro_g2_hevc_dec.c:578:5: warning: stack frame size (2144) exceeds limit (2048) in 'hantro_g2_hevc_dec_run'

From: kernel test robot
Date: Mon Nov 06 2023 - 15:48:45 EST


Hi Rohan,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d2f51b3516dade79269ff45eae2a7668ae711b25
commit: 6f0926c00565a91f3bd7ca1aa05db307daed5e0f powerpc/kcsan: Add KCSAN Support
date: 9 months ago
config: powerpc64-allyesconfig (https://download.01.org/0day-ci/archive/20231107/202311070412.oRu9ZBhc-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231107/202311070412.oRu9ZBhc-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311070412.oRu9ZBhc-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/media/platform/verisilicon/hantro_g2_hevc_dec.c:578:5: warning: stack frame size (2144) exceeds limit (2048) in 'hantro_g2_hevc_dec_run' [-Wframe-larger-than]
578 | int hantro_g2_hevc_dec_run(struct hantro_ctx *ctx)
| ^
1 warning generated.
--
>> drivers/input/touchscreen/cyttsp4_core.c:1682:12: warning: stack frame size (2112) exceeds limit (2048) in 'cyttsp4_startup' [-Wframe-larger-than]
1682 | static int cyttsp4_startup(struct cyttsp4 *cd)
| ^
1 warning generated.
--
drivers/net/ethernet/ibm/ibmvnic.c:194:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
194 | int rc, i;
| ^
>> drivers/net/ethernet/ibm/ibmvnic.c:5970:13: warning: stack frame size (2320) exceeds limit (2048) in 'ibmvnic_tasklet' [-Wframe-larger-than]
5970 | static void ibmvnic_tasklet(struct tasklet_struct *t)
| ^
2 warnings generated.
--
>> drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c:1244:5: warning: stack frame size (2368) exceeds limit (2048) in 'qed_mfw_process_tlv_req' [-Wframe-larger-than]
1244 | int qed_mfw_process_tlv_req(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt)
| ^
1 warning generated.


vim +/hantro_g2_hevc_dec_run +578 drivers/media/platform/verisilicon/hantro_g2_hevc_dec.c

5523dc7b851849 drivers/staging/media/hantro/hantro_g2_hevc_dec.c Benjamin Gaignard 2021-07-15 577
cb5dd5a0fa518d drivers/staging/media/hantro/hantro_g2_hevc_dec.c Benjamin Gaignard 2021-06-03 @578 int hantro_g2_hevc_dec_run(struct hantro_ctx *ctx)

:::::: The code at line 578 was first introduced by commit
:::::: cb5dd5a0fa518dff14ff2b90837c3c8f98f4dd5c media: hantro: Introduce G2/HEVC decoder

:::::: TO: Benjamin Gaignard <benjamin.gaignard@xxxxxxxxxxxxx>
:::::: CC: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki