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-for-next 2/2] drivers/scsi/smartpqi/smartpqi_init.c:6952:22: error: use of undeclared identifier 'pqi_sdev_attr_groups'; did you mean 'pqi_shost_attr_groups'?
Date: Fri, 1 Oct 2021 16:38:06 +0800 [thread overview]
Message-ID: <202110011600.V648K2PG-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3141 bytes --]
tree: https://github.com/bvanassche/linux scsi-for-next
head: 3d4f1af1fe85f0f2cc435ea177d25f9bad454965
commit: 3d4f1af1fe85f0f2cc435ea177d25f9bad454965 [2/2] scsi: Register SCSI device sysfs attributes earlier
config: arm-randconfig-r034-20211001 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 962e503cc8bc411f7523cc393acae8aae425b1c4)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://github.com/bvanassche/linux/commit/3d4f1af1fe85f0f2cc435ea177d25f9bad454965
git remote add bvanassche https://github.com/bvanassche/linux
git fetch --no-tags bvanassche scsi-for-next
git checkout 3d4f1af1fe85f0f2cc435ea177d25f9bad454965
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/scsi/smartpqi/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/scsi/smartpqi/smartpqi_init.c:6952:22: error: use of undeclared identifier 'pqi_sdev_attr_groups'; did you mean 'pqi_shost_attr_groups'?
.sdev_attr_groups = pqi_sdev_attr_groups,
^~~~~~~~~~~~~~~~~~~~
pqi_shost_attr_groups
drivers/scsi/smartpqi/smartpqi_init.c:6652:38: note: 'pqi_shost_attr_groups' declared here
static const struct attribute_group *pqi_shost_attr_groups[] = {
^
drivers/scsi/smartpqi/smartpqi_init.c:8028:10: warning: shift count >= width of type [-Wshift-count-overflow]
mask = DMA_BIT_MASK(64);
^~~~~~~~~~~~~~~~
include/linux/dma-mapping.h:76:54: note: expanded from macro 'DMA_BIT_MASK'
#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
^ ~~~
1 warning and 1 error generated.
vim +6952 drivers/scsi/smartpqi/smartpqi_init.c
6937
6938 static struct scsi_host_template pqi_driver_template = {
6939 .module = THIS_MODULE,
6940 .name = DRIVER_NAME_SHORT,
6941 .proc_name = DRIVER_NAME_SHORT,
6942 .queuecommand = pqi_scsi_queue_command,
6943 .scan_start = pqi_scan_start,
6944 .scan_finished = pqi_scan_finished,
6945 .this_id = -1,
6946 .eh_device_reset_handler = pqi_eh_device_reset_handler,
6947 .ioctl = pqi_ioctl,
6948 .slave_alloc = pqi_slave_alloc,
6949 .slave_configure = pqi_slave_configure,
6950 .slave_destroy = pqi_slave_destroy,
6951 .map_queues = pqi_map_queues,
> 6952 .sdev_attr_groups = pqi_sdev_attr_groups,
6953 .shost_attr_groups = pqi_shost_attr_groups,
6954 };
6955
---
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: 42046 bytes --]
reply other threads:[~2021-10-01 8:38 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=202110011600.V648K2PG-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
all inboxes | Powered by JetHome®