Re: [PATCH v6 10/10] nvme: use ctrl->device consistently for logging

From: kbuild test robot
Date: Thu Jun 08 2017 - 11:11:57 EST


Hi Johannes,

[auto build test ERROR on block/for-next]
[also build test ERROR on v4.12-rc4 next-20170608]
[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/Johannes-Thumshirn/Implement-NVMe-Namespace-Descriptor-Identification/20170608-203614
base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
config: i386-randconfig-x018-201723 (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 errors (new ones prefixed by >>):

drivers/nvme/host/fc.c: In function 'nvme_fc_connect_admin_queue':
>> drivers/nvme/host/fc.c:932:15: error: 'struct nvme_fc_ctrl' has no member named 'device'; did you mean 'dev'?
dev_err(ctrl->device,
^~
drivers/nvme/host/fc.c:947:15: error: 'struct nvme_fc_ctrl' has no member named 'device'; did you mean 'dev'?
dev_err(ctrl->device,
^~
drivers/nvme/host/fc.c: In function 'nvme_fc_connect_queue':
drivers/nvme/host/fc.c:1031:15: error: 'struct nvme_fc_ctrl' has no member named 'device'; did you mean 'dev'?
dev_err(ctrl->device,
^~
drivers/nvme/host/fc.c:1044:15: error: 'struct nvme_fc_ctrl' has no member named 'device'; did you mean 'dev'?
dev_err(ctrl->device,
^~
drivers/nvme/host/fc.c: In function '__nvme_fc_init_request':
drivers/nvme/host/fc.c:1412:15: error: 'struct nvme_fc_ctrl' has no member named 'device'; did you mean 'dev'?
dev_err(ctrl->device,
^~
drivers/nvme/host/fc.c:1422:15: error: 'struct nvme_fc_ctrl' has no member named 'device'; did you mean 'dev'?
dev_err(ctrl->device,
^~

vim +932 drivers/nvme/host/fc.c

926 else if (assoc_acc->connectid.desc_len !=
927 fcnvme_lsdesc_len(sizeof(struct fcnvme_lsdesc_conn_id)))
928 fcret = VERR_CONN_ID_LEN;
929
930 if (fcret) {
931 ret = -EBADF;
> 932 dev_err(ctrl->device,
933 "q %d connect failed: %s\n",
934 queue->qnum, validation_errors[fcret]);
935 } else {

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip