linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Nathan Chancellor <nathan@kernel.org>,
	Kees Cook <keescook@chromium.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.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'
Date: Sat, 21 Aug 2021 00:45:02 +0800	[thread overview]
Message-ID: <202108210050.5ZbB1xyC-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3975 bytes --]

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@intel.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@qlogic.com>
:::::: CC: James Bottomley <JBottomley@Parallels.com>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 39590 bytes --]

                 reply	other threads:[~2021-08-20 16:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202108210050.5ZbB1xyC-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=arnd@arndb.de \
    --cc=clang-built-linux@googlegroups.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@lists.01.org \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=nathan@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).