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]
Date:   Thu, 4 Aug 2022 13:24:43 +0800
From:   kernel test robot <lkp@...el.com>
To:     Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org,
        "Martin K. Petersen" <martin.petersen@...cle.com>,
        Davidlohr Bueso <dave@...olabs.net>
Subject: drivers/scsi/fcoe/fcoe_ctlr.c:1871:13: warning: stack frame size
 (1032) exceeds limit (1024) in 'fcoe_ctlr_recv_work'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   b44f2fd87919b5ae6e1756d4c7ba2cbba22238e1
commit: a912460efafea8ba763717b083347d5b33495bfa scsi: fcoe: Use per-CPU API to update per-CPU statistics
date:   3 months ago
config: mips-randconfig-r035-20220804
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 26dd42705c2af0b8f6e5d6cdb32c9bd5ed9524eb)
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 mips cross compiling tool for clang build
        # apt-get install binutils-mipsel-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a912460efafea8ba763717b083347d5b33495bfa
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a912460efafea8ba763717b083347d5b33495bfa
        # 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=mips SHELL=/bin/bash drivers/scsi/fcoe/

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/scsi/fcoe/fcoe_ctlr.c:1871:13: warning: stack frame size (1032) exceeds limit (1024) in 'fcoe_ctlr_recv_work' [-Wframe-larger-than]
   static void fcoe_ctlr_recv_work(struct work_struct *recv_work)
               ^
   1 warning generated.


vim +/fcoe_ctlr_recv_work +1871 drivers/scsi/fcoe/fcoe_ctlr.c

97c8389d54b966 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2009-03-17  1866  
97c8389d54b966 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2009-03-17  1867  /**
70b51aabf3b03f drivers/scsi/fcoe/libfcoe.c Robert Love 2009-11-03  1868   * fcoe_ctlr_recv_work() - Worker thread function for receiving FIP frames
70b51aabf3b03f drivers/scsi/fcoe/libfcoe.c Robert Love 2009-11-03  1869   * @recv_work: Handle to a FCoE controller
97c8389d54b966 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2009-03-17  1870   */
97c8389d54b966 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2009-03-17 @1871  static void fcoe_ctlr_recv_work(struct work_struct *recv_work)
97c8389d54b966 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2009-03-17  1872  {
97c8389d54b966 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2009-03-17  1873  	struct fcoe_ctlr *fip;
97c8389d54b966 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2009-03-17  1874  	struct sk_buff *skb;
97c8389d54b966 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2009-03-17  1875  
97c8389d54b966 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2009-03-17  1876  	fip = container_of(recv_work, struct fcoe_ctlr, recv_work);
1f4aed818d26eb drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2009-11-03  1877  	while ((skb = skb_dequeue(&fip->fip_recv_list)))
97c8389d54b966 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2009-03-17  1878  		fcoe_ctlr_recv_handler(fip, skb);
97c8389d54b966 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2009-03-17  1879  }
97c8389d54b966 drivers/scsi/fcoe/libfcoe.c Joe Eykholt 2009-03-17  1880  

:::::: The code at line 1871 was first introduced by commit
:::::: 97c8389d54b9665c38105ea72a428a44b97ff2f6 [SCSI] fcoe, libfcoe: Add support for FIP. FCoE discovery and keep-alive.

:::::: TO: Joe Eykholt <jeykholt@...co.com>
:::::: CC: James Bottomley <James.Bottomley@...senPartnership.com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (108533 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ