lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 22 Jul 2021 21:46:10 +0800
From:   kernel test robot <>
To:     Benjamin Gaignard <>
        Mauro Carvalho Chehab <>,,
        Adrian Ratiu <>,
        Ezequiel Garcia <>,
        Hans Verkuil <>
Subject: drivers/staging/media/hantro/hantro_g2_hevc_dec.c:536:5: warning:
 stack frame size (1248) exceeds limit (1024) in function

Hi Benjamin,

FYI, the error/warning still remains.

tree: master
head:   3d5895cd351757f69c9a66fb5fc8cf19f454d773
commit: cb5dd5a0fa518dff14ff2b90837c3c8f98f4dd5c media: hantro: Introduce G2/HEVC decoder
date:   6 weeks ago
config: powerpc64-randconfig-r013-20210722 (attached as .config)
compiler: clang version 13.0.0 ( 9625ca5b602616b2f5584e8a49ba93c52c141e40)
reproduce (this is a W=1 build):
        wget -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install powerpc64 cross compiling tool for clang build
        # apt-get install binutils-powerpc64-linux-gnu
        git remote add linus
        git fetch --no-tags linus master
        git checkout cb5dd5a0fa518dff14ff2b90837c3c8f98f4dd5c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <>

All warnings (new ones prefixed by >>):

   In file included from drivers/staging/media/hantro/hantro_g2_hevc_dec.c:8:
   In file included from drivers/staging/media/hantro/hantro_hw.h:12:
   In file included from include/linux/interrupt.h:6:
   In file included from include/linux/kernel.h:12:
   In file included from include/linux/bitops.h:32:
   In file included from arch/powerpc/include/asm/bitops.h:62:
   arch/powerpc/include/asm/barrier.h:49:9: warning: '__lwsync' macro redefined [-Wmacro-redefined]
   #define __lwsync()      __asm__ __volatile__ (stringify_in_c(LWSYNC) : : :"memory")
   <built-in>:310:9: note: previous definition is here
   #define __lwsync __builtin_ppc_lwsync
>> drivers/staging/media/hantro/hantro_g2_hevc_dec.c:536:5: warning: stack frame size (1248) exceeds limit (1024) in function 'hantro_g2_hevc_dec_run' [-Wframe-larger-than]
   int hantro_g2_hevc_dec_run(struct hantro_ctx *ctx)
   2 warnings generated.

vim +/hantro_g2_hevc_dec_run +536 drivers/staging/media/hantro/hantro_g2_hevc_dec.c

 > 536	int hantro_g2_hevc_dec_run(struct hantro_ctx *ctx)

0-DAY CI Kernel Test Service, Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (42962 bytes)

Powered by blists - more mailing lists