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-remove-done-callback 17/85] drivers/scsi/aacraid/aachba.c:523:12: error: no member named 'request' in 'struct scsi_cmnd'
Date: Fri, 10 Sep 2021 20:43:09 +0800 [thread overview]
Message-ID: <202109102004.aGF4ikQM-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2371 bytes --]
tree: https://github.com/bvanassche/linux scsi-remove-done-callback
head: 8bedc411325739a6dcbe565b45c04ad9f6ff1871
commit: cae50990aff05541e946e7779e47442aaae2d59f [17/85] aacraid: Call scsi_done() directly
config: x86_64-randconfig-a005-20210910 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 261cbe98c38f8c1ee1a482fe76511110e790f58a)
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/cae50990aff05541e946e7779e47442aaae2d59f
git remote add bvanassche https://github.com/bvanassche/linux
git fetch --no-tags bvanassche scsi-remove-done-callback
git checkout cae50990aff05541e946e7779e47442aaae2d59f
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/scsi/aacraid/
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/aacraid/aachba.c:523:12: error: no member named 'request' in 'struct scsi_cmnd'
if (scmd->request) {
~~~~ ^
drivers/scsi/aacraid/aachba.c:2236:38: warning: shift count >= width of type [-Wshift-count-overflow]
if (!dma_set_mask(&dev->pdev->dev, 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 +523 drivers/scsi/aacraid/aachba.c
520
521 static void aac_scsi_done(struct scsi_cmnd *scmd)
522 {
> 523 if (scmd->request) {
524 /* SCSI command has been submitted by the SCSI mid-layer. */
525 scsi_done(scmd);
526 } else {
527 /* SCSI command has been submitted by aac_probe_container(). */
528 aac_probe_container_scsi_done(scmd);
529 }
530 }
531
---
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: 34448 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [bvanassche:scsi-remove-done-callback 17/85] drivers/scsi/aacraid/aachba.c:523:12: error: no member named 'request' in 'struct scsi_cmnd'
Date: Fri, 10 Sep 2021 20:43:09 +0800 [thread overview]
Message-ID: <202109102004.aGF4ikQM-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2424 bytes --]
tree: https://github.com/bvanassche/linux scsi-remove-done-callback
head: 8bedc411325739a6dcbe565b45c04ad9f6ff1871
commit: cae50990aff05541e946e7779e47442aaae2d59f [17/85] aacraid: Call scsi_done() directly
config: x86_64-randconfig-a005-20210910 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 261cbe98c38f8c1ee1a482fe76511110e790f58a)
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/cae50990aff05541e946e7779e47442aaae2d59f
git remote add bvanassche https://github.com/bvanassche/linux
git fetch --no-tags bvanassche scsi-remove-done-callback
git checkout cae50990aff05541e946e7779e47442aaae2d59f
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/scsi/aacraid/
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/aacraid/aachba.c:523:12: error: no member named 'request' in 'struct scsi_cmnd'
if (scmd->request) {
~~~~ ^
drivers/scsi/aacraid/aachba.c:2236:38: warning: shift count >= width of type [-Wshift-count-overflow]
if (!dma_set_mask(&dev->pdev->dev, 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 +523 drivers/scsi/aacraid/aachba.c
520
521 static void aac_scsi_done(struct scsi_cmnd *scmd)
522 {
> 523 if (scmd->request) {
524 /* SCSI command has been submitted by the SCSI mid-layer. */
525 scsi_done(scmd);
526 } else {
527 /* SCSI command has been submitted by aac_probe_container(). */
528 aac_probe_container_scsi_done(scmd);
529 }
530 }
531
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34448 bytes --]
next reply other threads:[~2021-09-10 12:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-10 12:43 kernel test robot [this message]
2021-09-10 12:43 ` [bvanassche:scsi-remove-done-callback 17/85] drivers/scsi/aacraid/aachba.c:523:12: error: no member named 'request' in 'struct scsi_cmnd' 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=202109102004.aGF4ikQM-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.