From: kernel test robot <lkp@intel.com>
To: Bart Van Assche <bvanassche@acm.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [bvanassche:scsi-remove-request-pointer 51/51] drivers/scsi/lpfc/lpfc_scsi.c:5428:9: error: 'struct scsi_cmnd' has no member named 'request'
Date: Sat, 10 Jul 2021 10:13:22 +0800 [thread overview]
Message-ID: <202107101013.AbxNfUre-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3399 bytes --]
tree: https://github.com/bvanassche/linux scsi-remove-request-pointer
head: 2fab108311c3945a49c45df8859e5c517923577d
commit: 2fab108311c3945a49c45df8859e5c517923577d [51/51] core: Remove the request member from struct scsi_cmnd
config: arm-buildonly-randconfig-r002-20210709 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
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/2fab108311c3945a49c45df8859e5c517923577d
git remote add bvanassche https://github.com/bvanassche/linux
git fetch --no-tags bvanassche scsi-remove-request-pointer
git checkout 2fab108311c3945a49c45df8859e5c517923577d
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash drivers/scsi/lpfc/
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/lpfc/lpfc_scsi.c: In function 'lpfc_is_command_vm_io':
>> drivers/scsi/lpfc/lpfc_scsi.c:5428:9: error: 'struct scsi_cmnd' has no member named 'request'
5428 | if (cmd->request) {
| ^~
drivers/scsi/lpfc/lpfc_scsi.c:5429:10: error: 'struct scsi_cmnd' has no member named 'request'
5429 | if (cmd->request->bio)
| ^~
drivers/scsi/lpfc/lpfc_scsi.c:5430:33: error: 'struct scsi_cmnd' has no member named 'request'
5430 | uuid = blkcg_get_fc_appid(cmd->request->bio);
| ^~
vim +5428 drivers/scsi/lpfc/lpfc_scsi.c
33c79741deaf09 Gaurav Srivastava 2021-06-08 5418
33c79741deaf09 Gaurav Srivastava 2021-06-08 5419 /*
33c79741deaf09 Gaurav Srivastava 2021-06-08 5420 * lpfc_is_command_vm_io - get the UUID from blk cgroup
33c79741deaf09 Gaurav Srivastava 2021-06-08 5421 * @cmd: Pointer to scsi_cmnd data structure
33c79741deaf09 Gaurav Srivastava 2021-06-08 5422 * Returns UUID if present, otherwise NULL
33c79741deaf09 Gaurav Srivastava 2021-06-08 5423 */
33c79741deaf09 Gaurav Srivastava 2021-06-08 5424 static char *lpfc_is_command_vm_io(struct scsi_cmnd *cmd)
33c79741deaf09 Gaurav Srivastava 2021-06-08 5425 {
33c79741deaf09 Gaurav Srivastava 2021-06-08 5426 char *uuid = NULL;
33c79741deaf09 Gaurav Srivastava 2021-06-08 5427
33c79741deaf09 Gaurav Srivastava 2021-06-08 @5428 if (cmd->request) {
33c79741deaf09 Gaurav Srivastava 2021-06-08 5429 if (cmd->request->bio)
33c79741deaf09 Gaurav Srivastava 2021-06-08 5430 uuid = blkcg_get_fc_appid(cmd->request->bio);
33c79741deaf09 Gaurav Srivastava 2021-06-08 5431 }
33c79741deaf09 Gaurav Srivastava 2021-06-08 5432 return uuid;
33c79741deaf09 Gaurav Srivastava 2021-06-08 5433 }
33c79741deaf09 Gaurav Srivastava 2021-06-08 5434
:::::: The code at line 5428 was first introduced by commit
:::::: 33c79741deaf09b50d56db4b22879d9557e846df scsi: lpfc: vmid: Introduce VMID in I/O path
:::::: TO: Gaurav Srivastava <gaurav.srivastava@broadcom.com>
:::::: CC: Martin K. Petersen <martin.petersen@oracle.com>
---
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: 32641 bytes --]
reply other threads:[~2021-07-10 2:17 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=202107101013.AbxNfUre-lkp@intel.com \
--to=lkp@intel.com \
--cc=bvanassche@acm.org \
--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
all inboxes | Powered by JetHome®