From: kernel test robot <lkp@intel.com>
To: Bart Van Assche <bvanassche@acm.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [bvanassche:scsi-move-scsi-pointer 16/18] drivers/scsi/fdomain.c:122:22: warning: no previous prototype for function 'fdomain_scsi_pointer'
Date: Sun, 16 Jan 2022 22:57:06 +0800 [thread overview]
Message-ID: <202201162216.f5S0sjGW-lkp@intel.com> (raw)
tree: https://github.com/bvanassche/linux scsi-move-scsi-pointer
head: 7173550f8dd7130891118452742bb6e99b63fd27
commit: 6eea006091e2b2b428a910feb8041bbb99aa707d [16/18] fdomain: Move the SCSI pointer to private command data
config: i386-randconfig-a013 (https://download.01.org/0day-ci/archive/20220116/202201162216.f5S0sjGW-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c63a3175c2947e8c1a2d3bbe16a8586600705c54)
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
# https://github.com/bvanassche/linux/commit/6eea006091e2b2b428a910feb8041bbb99aa707d
git remote add bvanassche https://github.com/bvanassche/linux
git fetch --no-tags bvanassche scsi-move-scsi-pointer
git checkout 6eea006091e2b2b428a910feb8041bbb99aa707d
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/scsi/
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/fdomain.c:122:22: warning: no previous prototype for function 'fdomain_scsi_pointer' [-Wmissing-prototypes]
struct scsi_pointer *fdomain_scsi_pointer(struct scsi_cmnd *cmd)
^
drivers/scsi/fdomain.c:122:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
struct scsi_pointer *fdomain_scsi_pointer(struct scsi_cmnd *cmd)
^
static
1 warning generated.
vim +/fdomain_scsi_pointer +122 drivers/scsi/fdomain.c
121
> 122 struct scsi_pointer *fdomain_scsi_pointer(struct scsi_cmnd *cmd)
123 {
124 struct fdomain_priv *fcmd = scsi_cmd_priv(cmd);
125
126 return &fcmd->scsi_pointer;
127 }
128
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next reply other threads:[~2022-01-16 14:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-16 14:57 kernel test robot [this message]
2022-01-16 15:37 kernel test robot
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=202201162216.f5S0sjGW-lkp@intel.com \
--to=lkp@intel.com \
--cc=bvanassche@acm.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
/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
Powered by JetHome