tree:
https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git wip/jgg-for-next
head: db0b8c51d6a83a358dd2b723fce85f960ef2b1cd
commit: db0b8c51d6a83a358dd2b723fce85f960ef2b1cd [97/97] RDMa/qedr: Add support for user
mode XRC-SRQ's
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
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
git checkout db0b8c51d6a83a358dd2b723fce85f960ef2b1cd
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/infiniband/hw/qedr/main.c:183:18: error: initialization
of 'int (*)(struct ib_xrcd *, struct ib_udata *)' from incompatible pointer type
'void (*)(struct ib_xrcd *, struct ib_udata *)'
[-Werror=incompatible-pointer-types]
183 | .dealloc_xrcd = qedr_dealloc_xrcd,
| ^~~~~~~~~~~~~~~~~
drivers/infiniband/hw/qedr/main.c:183:18: note: (near initialization for
'qedr_roce_dev_ops.dealloc_xrcd')
cc1: some warnings being treated as errors
#
https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/commit/?id=...
git remote add rdma-rdma
https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git
git fetch --no-tags rdma-rdma wip/jgg-for-next
git checkout db0b8c51d6a83a358dd2b723fce85f960ef2b1cd
vim +183 drivers/infiniband/hw/qedr/main.c
178
179 static const struct ib_device_ops qedr_roce_dev_ops = {
180 .get_port_immutable = qedr_roce_port_immutable,
181 .query_pkey = qedr_query_pkey,
182 .alloc_xrcd = qedr_alloc_xrcd,
183 .dealloc_xrcd = qedr_dealloc_xrcd,
184 };
185
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org