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: <202107230714.PuplNFNL-lkp@intel.com>
Date:   Fri, 23 Jul 2021 07:23:20 +0800
From:   kernel test robot <lkp@...el.com>
To:     Christoph Hellwig <hch@....de>
Cc:     clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [hch-block:scsi-ioctl 14/24] drivers/scsi/scsi_bsg.c:92:5: warning:
 no previous prototype for function 'scsi_bsg_register_queue'

tree:   git://git.infradead.org/users/hch/block.git scsi-ioctl
head:   0d6e95412bd07b6406be6d368ea60513807caf83
commit: 075e28806125ae286114e55557067e340f30a93a [14/24] bsg: move bsg_scsi_ops to drivers/scsi/
config: powerpc64-randconfig-r011-20210722 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9625ca5b602616b2f5584e8a49ba93c52c141e40)
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
        git remote add hch-block git://git.infradead.org/users/hch/block.git
        git fetch --no-tags hch-block scsi-ioctl
        git checkout 075e28806125ae286114e55557067e340f30a93a
        # 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 <lkp@...el.com>

All warnings (new ones prefixed by >>):

>> drivers/scsi/scsi_bsg.c:92:5: warning: no previous prototype for function 'scsi_bsg_register_queue' [-Wmissing-prototypes]
   int scsi_bsg_register_queue(struct request_queue *q, struct device *parent)
       ^
   drivers/scsi/scsi_bsg.c:92:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int scsi_bsg_register_queue(struct request_queue *q, struct device *parent)
   ^
   static 
   1 warning generated.


vim +/scsi_bsg_register_queue +92 drivers/scsi/scsi_bsg.c

    91	
  > 92	int scsi_bsg_register_queue(struct request_queue *q, struct device *parent)

---
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" (34241 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ