tree:
https://github.com/alibaba/cloud-kernel.git linux-next
head: e07b931e8ed58352ad4839243454571b6ce59222
commit: dd1253a5eb346d75f6908a2ae713ec6169e5bea6 [207/644] block: remove ->poll_fn
config: x86_64-alicloud-customedconfig-4.19.y (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
git checkout dd1253a5eb346d75f6908a2ae713ec6169e5bea6
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
Note: the alibaba-cloud/linux-next HEAD e07b931e8ed58352ad4839243454571b6ce59222 builds
fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
drivers/nvme/host/multipath.c: In function 'nvme_ns_head_poll':
> drivers/nvme/host/multipath.c:230:22: error: 'struct
request_queue' has no member named 'poll_fn'; did you mean 'poll_cb'?
found = ns->queue->poll_fn(q, qc, spin);
^~~~~~~
poll_cb
drivers/nvme/host/multipath.c: In function 'nvme_mpath_alloc_disk':
drivers/nvme/host/multipath.c:281:5: error: 'struct request_queue' has no
member named 'poll_fn'; did you mean 'poll_cb'?
q->poll_fn = nvme_ns_head_poll;
^~~~~~~
poll_cb
vim +230 drivers/nvme/host/multipath.c
32acab3181c705 Christoph Hellwig 2017-11-02 219
7244851b406749 Jens Axboe 2018-11-26 220 static int nvme_ns_head_poll(struct
request_queue *q, blk_qc_t qc, bool spin)
32acab3181c705 Christoph Hellwig 2017-11-02 221 {
32acab3181c705 Christoph Hellwig 2017-11-02 222 struct nvme_ns_head *head =
q->queuedata;
32acab3181c705 Christoph Hellwig 2017-11-02 223 struct nvme_ns *ns;
35118adb8d4ab3 Jens Axboe 2018-11-06 224 int found = 0;
32acab3181c705 Christoph Hellwig 2017-11-02 225 int srcu_idx;
32acab3181c705 Christoph Hellwig 2017-11-02 226
32acab3181c705 Christoph Hellwig 2017-11-02 227 srcu_idx =
srcu_read_lock(&head->srcu);
32acab3181c705 Christoph Hellwig 2017-11-02 228 ns =
srcu_dereference(head->current_path, &head->srcu);
0d0b660f214dc4 Christoph Hellwig 2018-05-14 229 if (likely(ns &&
nvme_path_is_optimized(ns)))
7244851b406749 Jens Axboe 2018-11-26 @230 found = ns->queue->poll_fn(q,
qc, spin);
32acab3181c705 Christoph Hellwig 2017-11-02 231 srcu_read_unlock(&head->srcu,
srcu_idx);
32acab3181c705 Christoph Hellwig 2017-11-02 232 return found;
32acab3181c705 Christoph Hellwig 2017-11-02 233 }
32acab3181c705 Christoph Hellwig 2017-11-02 234
:::::: The code at line 230 was first introduced by commit
:::::: 7244851b406749561344f0d9093e1a2c1b825ebd block: make blk_poll() take a parameter on
whether to spin or not
:::::: TO: Jens Axboe <axboe(a)kernel.dk>
:::::: CC: Caspar Zhang <caspar(a)linux.alibaba.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org