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 23:37:41 +0800 [thread overview]
Message-ID: <202201162349.t2n6wgaH-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-a002 (https://download.01.org/0day-ci/archive/20220116/202201162349.t2n6wgaH-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
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.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 23:37:41 +0800 [thread overview]
Message-ID: <202201162349.t2n6wgaH-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2156 bytes --]
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-a002 (https://download.01.org/0day-ci/archive/20220116/202201162349.t2n6wgaH-lkp(a)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(a)lists.01.org
next reply other threads:[~2022-01-16 15:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-16 15:37 kernel test robot [this message]
2022-01-16 15:37 ` [bvanassche:scsi-move-scsi-pointer 16/18] drivers/scsi/fdomain.c:122:22: warning: no previous prototype for function 'fdomain_scsi_pointer' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2022-01-16 14:57 kernel test robot
2022-01-16 14:57 ` 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=202201162349.t2n6wgaH-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.