Hi Hannes, [auto build test WARNING on scsi/for-next] [also build test WARNING on v4.9-rc4 next-20161111] [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/hpsa-scsi-mq-support/20161111-235235 base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next config: i386-randconfig-x016-201645 (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=i386 All warnings (new ones prefixed by >>): In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/linux/list.h:4, from include/linux/module.h:9, from drivers/scsi/hpsa.c:20: drivers/scsi/hpsa.c: In function 'hpsa_scsi_add_host': drivers/scsi/hpsa.c:5653:40: error: 'struct ctlr_info' has no member named 'msix_vectors'; did you mean 'msix_vector'? if (h->intr_mode == PERF_MODE_INT && h->msix_vectors > 0) ^ include/linux/compiler.h:149:30: note: in definition of macro '__trace_if' if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^~~~ >> drivers/scsi/hpsa.c:5653:2: note: in expansion of macro 'if' if (h->intr_mode == PERF_MODE_INT && h->msix_vectors > 0) ^~ drivers/scsi/hpsa.c:5653:40: error: 'struct ctlr_info' has no member named 'msix_vectors'; did you mean 'msix_vector'? if (h->intr_mode == PERF_MODE_INT && h->msix_vectors > 0) ^ include/linux/compiler.h:149:42: note: in definition of macro '__trace_if' if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^~~~ >> drivers/scsi/hpsa.c:5653:2: note: in expansion of macro 'if' if (h->intr_mode == PERF_MODE_INT && h->msix_vectors > 0) ^~ drivers/scsi/hpsa.c:5653:40: error: 'struct ctlr_info' has no member named 'msix_vectors'; did you mean 'msix_vector'? if (h->intr_mode == PERF_MODE_INT && h->msix_vectors > 0) ^ include/linux/compiler.h:160:16: note: in definition of macro '__trace_if' ______r = !!(cond); \ ^~~~ >> drivers/scsi/hpsa.c:5653:2: note: in expansion of macro 'if' if (h->intr_mode == PERF_MODE_INT && h->msix_vectors > 0) ^~ drivers/scsi/hpsa.c:5654:23: error: 'struct ctlr_info' has no member named 'msix_vectors'; did you mean 'msix_vector'? sh->nr_hw_queues = h->msix_vectors; ^~ drivers/scsi/hpsa.c: In function 'hpsa_get_cmd_index': drivers/scsi/hpsa.c:5687:19: error: 'struct ctlr_info' has no member named 'msix_vectors'; did you mean 'msix_vector'? msix_vectors = h->msix_vectors > 0 ? h->msix_vectors : 1; ^~ drivers/scsi/hpsa.c:5687:41: error: 'struct ctlr_info' has no member named 'msix_vectors'; did you mean 'msix_vector'? msix_vectors = h->msix_vectors > 0 ? h->msix_vectors : 1; ^~ vim +/if +5653 drivers/scsi/hpsa.c 5637 sh->cmd_per_lun = sh->can_queue; 5638 sh->sg_tablesize = h->maxsgentries; 5639 sh->transportt = hpsa_sas_transport_template; 5640 sh->hostdata[0] = (unsigned long) h; 5641 sh->irq = h->intr[h->intr_mode]; 5642 sh->unique_id = sh->irq; 5643 5644 h->scsi_host = sh; 5645 return 0; 5646 } 5647 5648 static int hpsa_scsi_add_host(struct ctlr_info *h) 5649 { 5650 int rv; 5651 struct Scsi_Host *sh = h->scsi_host; 5652 > 5653 if (h->intr_mode == PERF_MODE_INT && h->msix_vectors > 0) 5654 sh->nr_hw_queues = h->msix_vectors; 5655 else 5656 sh->nr_hw_queues = 1; 5657 5658 if (use_blk_mq) { 5659 sh->can_queue = sh->can_queue / sh->nr_hw_queues; 5660 sh->use_blk_mq = 1; 5661 } --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip