Hi Hannes, [auto build test ERROR on mkp-scsi/for-next] [also build test ERROR on next-20170623] [cannot apply to v4.12-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Hannes-Reinecke/SCSI-EH-argument-reshuffling/20170624-071433 base: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next config: x86_64-randconfig-x005-201725 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): In file included from drivers/block/cciss.c:374:0: drivers/block/cciss_scsi.c: In function 'cciss_eh_device_reset_handler': >> drivers/block/cciss_scsi.c:1605:27: error: 'sdev' undeclared (first use in this function) rc = lookup_scsi3addr(h, sdev->channel, sdev->id, sdev->lun, lunaddr); ^~~~ drivers/block/cciss_scsi.c:1605:27: note: each undeclared identifier is reported only once for each function it appears in vim +/sdev +1605 drivers/block/cciss_scsi.c 1599 1600 /* find the controller to which the command to be aborted was sent */ 1601 h = (ctlr_info_t *) scsidev->host->hostdata[0]; 1602 if (h == NULL) /* paranoia */ 1603 return FAILED; 1604 dev_warn(&h->pdev->dev, "resetting tape drive or medium changer.\n"); > 1605 rc = lookup_scsi3addr(h, sdev->channel, sdev->id, sdev->lun, lunaddr); 1606 if (rc != 0) 1607 return FAILED; 1608 /* send a reset to the SCSI LUN which the command was sent to */ --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip