lists.openwall.net   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  linux-cve-announce  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]
Message-ID: <202108210050.5ZbB1xyC-lkp@intel.com>
Date:   Sat, 21 Aug 2021 00:45:02 +0800
From:   kernel test robot <lkp@...el.com>
To:     Arnd Bergmann <arnd@...db.de>
Cc:     clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Nathan Chancellor <nathan@...nel.org>,
        Kees Cook <keescook@...omium.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Linux Memory Management List <linux-mm@...ck.org>
Subject: [linux-stable-rc:linux-5.10.y 3189/3969]
 drivers/scsi/qla4xxx/ql4_nx.c:3239:6: warning: stack frame size (2320)
 exceeds limit (2048) in function 'qla4_8xxx_get_minidump'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
head:   65f1995ea1e930674e76c5888b4643581e11434c
commit: 5f2f616343b1d62d26f24316fbfc107ecf0983a9 [3189/3969] linux/compiler-clang.h: define HAVE_BUILTIN_BSWAP*
config: powerpc64-randconfig-r014-20210820 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d9c5613e856cf2addfbf892fc4c1ce9ef9feceaa)
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 powerpc64 cross compiling tool for clang build
        # apt-get install binutils-powerpc64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=5f2f616343b1d62d26f24316fbfc107ecf0983a9
        git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
        git fetch --no-tags linux-stable-rc linux-5.10.y
        git checkout 5f2f616343b1d62d26f24316fbfc107ecf0983a9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc 

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

All warnings (new ones prefixed by >>):

   In file included from drivers/scsi/qla4xxx/ql4_nx.c:6:
   In file included from include/linux/delay.h:22:
   In file included from include/linux/kernel.h:12:
   In file included from include/linux/bitops.h:29:
   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/scsi/qla4xxx/ql4_nx.c:3651:1: warning: unused function 'flash_data_addr' [-Wunused-function]
   flash_data_addr(struct ql82xx_hw_data *hw, uint32_t faddr)
   ^
>> drivers/scsi/qla4xxx/ql4_nx.c:3239:6: warning: stack frame size (2320) exceeds limit (2048) in function 'qla4_8xxx_get_minidump' [-Wframe-larger-than]
   void qla4_8xxx_get_minidump(struct scsi_qla_host *ha)
        ^
   3 warnings generated.


vim +/qla4_8xxx_get_minidump +3239 drivers/scsi/qla4xxx/ql4_nx.c

068237c87c6474 Tej Parkash     2012-05-18  3238  
6e7b429259fc0b Vikas Chaudhary 2012-08-22 @3239  void qla4_8xxx_get_minidump(struct scsi_qla_host *ha)
aec07caedbb769 Vikas Chaudhary 2012-08-22  3240  {
aec07caedbb769 Vikas Chaudhary 2012-08-22  3241  	if (ql4xenablemd && test_bit(AF_FW_RECOVERY, &ha->flags) &&
aec07caedbb769 Vikas Chaudhary 2012-08-22  3242  	    !test_bit(AF_82XX_FW_DUMPED, &ha->flags)) {
aec07caedbb769 Vikas Chaudhary 2012-08-22  3243  		if (!qla4_8xxx_collect_md_data(ha)) {
aec07caedbb769 Vikas Chaudhary 2012-08-22  3244  			qla4_8xxx_uevent_emit(ha, QL4_UEVENT_CODE_FW_DUMP);
aec07caedbb769 Vikas Chaudhary 2012-08-22  3245  			set_bit(AF_82XX_FW_DUMPED, &ha->flags);
aec07caedbb769 Vikas Chaudhary 2012-08-22  3246  		} else {
aec07caedbb769 Vikas Chaudhary 2012-08-22  3247  			ql4_printk(KERN_INFO, ha, "%s: Unable to collect minidump\n",
aec07caedbb769 Vikas Chaudhary 2012-08-22  3248  				   __func__);
aec07caedbb769 Vikas Chaudhary 2012-08-22  3249  		}
aec07caedbb769 Vikas Chaudhary 2012-08-22  3250  	}
aec07caedbb769 Vikas Chaudhary 2012-08-22  3251  }
aec07caedbb769 Vikas Chaudhary 2012-08-22  3252  

:::::: The code at line 3239 was first introduced by commit
:::::: 6e7b429259fc0b7f2d9b1147466656b34d114815 [SCSI] qla4xxx: Added support for ISP83XX

:::::: TO: Vikas Chaudhary <vikas.chaudhary@...gic.com>
:::::: CC: James Bottomley <JBottomley@...allels.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ