* [axboe-block:perf-wip 5/13] drivers/nvme/host/rdma.c:2217:11: error: incompatible function pointer types initializing 'int (*)(struct blk_mq_hw_ctx *, struct io_batch *)' with an expression of type 'int (struct blk_mq_hw_ctx *)'
@ 2021-10-09 11:22 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-09 11:22 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2983 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git perf-wip
head: 907a3e0cb99f9b83122756806ef04bc787dff0d7
commit: 42f4357de7d6626e20e7b86e9cf762b82137081f [5/13] block: add a struct io_batch argument to fops->iopoll()
config: x86_64-randconfig-a001-20211008 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 30caca39f401ae17927439c0a0bd6d1b1916dd6a)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?id=42f4357de7d6626e20e7b86e9cf762b82137081f
git remote add axboe-block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
git fetch --no-tags axboe-block perf-wip
git checkout 42f4357de7d6626e20e7b86e9cf762b82137081f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/nvme/host/rdma.c:2217:11: error: incompatible function pointer types initializing 'int (*)(struct blk_mq_hw_ctx *, struct io_batch *)' with an expression of type 'int (struct blk_mq_hw_ctx *)' [-Werror,-Wincompatible-function-pointer-types]
.poll = nvme_rdma_poll,
^~~~~~~~~~~~~~
1 error generated.
vim +2217 drivers/nvme/host/rdma.c
0b36658ca8b15b Sagi Grimberg 2017-07-13 2208
f363b089be0a39 Eric Biggers 2017-03-30 2209 static const struct blk_mq_ops nvme_rdma_mq_ops = {
71102307196028 Christoph Hellwig 2016-07-06 2210 .queue_rq = nvme_rdma_queue_rq,
71102307196028 Christoph Hellwig 2016-07-06 2211 .complete = nvme_rdma_complete_rq,
71102307196028 Christoph Hellwig 2016-07-06 2212 .init_request = nvme_rdma_init_request,
71102307196028 Christoph Hellwig 2016-07-06 2213 .exit_request = nvme_rdma_exit_request,
71102307196028 Christoph Hellwig 2016-07-06 2214 .init_hctx = nvme_rdma_init_hctx,
71102307196028 Christoph Hellwig 2016-07-06 2215 .timeout = nvme_rdma_timeout,
0b36658ca8b15b Sagi Grimberg 2017-07-13 2216 .map_queues = nvme_rdma_map_queues,
ff8519f9e91170 Sagi Grimberg 2018-12-14 @2217 .poll = nvme_rdma_poll,
71102307196028 Christoph Hellwig 2016-07-06 2218 };
71102307196028 Christoph Hellwig 2016-07-06 2219
:::::: The code at line 2217 was first introduced by commit
:::::: ff8519f9e91170cd24ed503aa77d144e71bd4d92 nvme-rdma: implement polling queue map
:::::: TO: Sagi Grimberg <sagi@grimberg.me>
:::::: CC: Christoph Hellwig <hch@lst.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 39595 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-09 11:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-09 11:22 [axboe-block:perf-wip 5/13] drivers/nvme/host/rdma.c:2217:11: error: incompatible function pointer types initializing 'int (*)(struct blk_mq_hw_ctx *, struct io_batch *)' with an expression of type 'int (struct blk_mq_hw_ctx *)' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.