From: kernel test robot <lkp@intel.com>
To: Christoph Hellwig <hch@lst.de>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
linux-kernel@vger.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'
Date: Fri, 23 Jul 2021 07:23:20 +0800 [thread overview]
Message-ID: <202107230714.PuplNFNL-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1888 bytes --]
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@intel.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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34241 bytes --]
reply other threads:[~2021-07-22 23:24 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=202107230714.PuplNFNL-lkp@intel.com \
--to=lkp@intel.com \
--cc=clang-built-linux@googlegroups.com \
--cc=hch@lst.de \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.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