Re: [PATCH 1/4] nvme: factor out pci abort handling into core

From: kbuild test robot
Date: Thu Jul 19 2018 - 12:30:00 EST


Hi Johannes,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v4.18-rc5 next-20180719]
[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/Rework-NVMe-abort-handling/20180719-230642
config: x86_64-randconfig-x011-201828 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/nvme/host/core.c: In function 'abort_endio':
>> drivers/nvme/host/core.c:711:40: error: 'struct nvme_request' has no member named 'ctrl'
struct nvme_ctrl *ctrl = nvme_req(req)->ctrl;
^~

vim +711 drivers/nvme/host/core.c

707
708
709 static void abort_endio(struct request *req, blk_status_t error)
710 {
> 711 struct nvme_ctrl *ctrl = nvme_req(req)->ctrl;
712
713 dev_warn(ctrl->device,
714 "Abort status: 0x%x", nvme_req(req)->status);
715 atomic_inc(&ctrl->abort_limit);
716 blk_mq_free_request(req);
717 }
718

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

Attachment: .config.gz
Description: application/gzip