tree:
https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git
testing/rdma-next
head: 203ac2aa1f214d1b0fc22618ceab73f393352fdf
commit: 203ac2aa1f214d1b0fc22618ceab73f393352fdf [2/2] Merge branch 'rdma-next'
into testing/rdma-next
config: x86_64-randconfig-a004-20210418 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
1c10201d9660c1d6f43a7226ca7381bfa255105d)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git/commi...
git remote add leon-rdma
https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git
git fetch --no-tags leon-rdma testing/rdma-next
git checkout 203ac2aa1f214d1b0fc22618ceab73f393352fdf
# 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(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/infiniband/hw/hfi1/exp_rcv.c:49:
In file included from drivers/infiniband/hw/hfi1/trace.h:63:
In file included from drivers/infiniband/hw/hfi1/trace_tx.h:56:
In file included from drivers/infiniband/hw/hfi1/ipoib.h:25:
> drivers/infiniband/hw/hfi1/netdev.h:67:13: error: no member named
'netdev_rx' in 'struct hfi1_devdata'
return
dd->netdev_rx->num_rx_q;
~~ ^
drivers/infiniband/hw/hfi1/netdev.h:73:13: error: no member named 'netdev_rx'
in 'struct hfi1_devdata'
return dd->netdev_rx->rxq[ctxt].rcd;
~~ ^
drivers/infiniband/hw/hfi1/netdev.h:79:13: error: no member named 'netdev_rx'
in 'struct hfi1_devdata'
return dd->netdev_rx->rmt_start;
~~ ^
drivers/infiniband/hw/hfi1/netdev.h:85:6: error: no member named 'netdev_rx' in
'struct hfi1_devdata'
dd->netdev_rx->rmt_start = rmt_idx;
~~ ^
4 errors generated.
--
In file included from drivers/infiniband/hw/hfi1/netdev_rx.c:13:
> drivers/infiniband/hw/hfi1/netdev.h:67:13: error: no member named
'netdev_rx' in 'struct hfi1_devdata'
return
dd->netdev_rx->num_rx_q;
~~ ^
drivers/infiniband/hw/hfi1/netdev.h:73:13: error: no member named 'netdev_rx'
in 'struct hfi1_devdata'
return dd->netdev_rx->rxq[ctxt].rcd;
~~ ^
drivers/infiniband/hw/hfi1/netdev.h:79:13: error: no member named 'netdev_rx'
in 'struct hfi1_devdata'
return dd->netdev_rx->rmt_start;
~~ ^
drivers/infiniband/hw/hfi1/netdev.h:85:6: error: no member named 'netdev_rx' in
'struct hfi1_devdata'
dd->netdev_rx->rmt_start = rmt_idx;
~~ ^
> drivers/infiniband/hw/hfi1/netdev_rx.c:309:34: error: no member
named 'netdev_rx' in 'struct hfi1_devdata'
struct
hfi1_netdev_rx *rx = dd->netdev_rx;
~~ ^
drivers/infiniband/hw/hfi1/netdev_rx.c:329:34: error: no member named
'netdev_rx' in 'struct hfi1_devdata'
struct hfi1_netdev_rx *rx = dd->netdev_rx;
~~ ^
drivers/infiniband/hw/hfi1/netdev_rx.c:368:6: error: no member named
'netdev_rx' in 'struct hfi1_devdata'
dd->netdev_rx = rx;
~~ ^
drivers/infiniband/hw/hfi1/netdev_rx.c:375:10: error: no member named
'netdev_rx' in 'struct hfi1_devdata'
if (dd->netdev_rx) {
~~ ^
drivers/infiniband/hw/hfi1/netdev_rx.c:377:13: error: no member named
'netdev_rx' in 'struct hfi1_devdata'
kfree(dd->netdev_rx);
~~ ^
drivers/infiniband/hw/hfi1/netdev_rx.c:378:7: error: no member named
'netdev_rx' in 'struct hfi1_devdata'
dd->netdev_rx = NULL;
~~ ^
drivers/infiniband/hw/hfi1/netdev_rx.c:395:11: error: no member named
'netdev_rx' in 'struct hfi1_devdata'
if (!dd->netdev_rx)
~~ ^
drivers/infiniband/hw/hfi1/netdev_rx.c:398:11: error: no member named
'netdev_rx' in 'struct hfi1_devdata'
rx = dd->netdev_rx;
~~ ^
drivers/infiniband/hw/hfi1/netdev_rx.c:411:11: error: no member named
'netdev_rx' in 'struct hfi1_devdata'
if (!dd->netdev_rx)
~~ ^
drivers/infiniband/hw/hfi1/netdev_rx.c:414:11: error: no member named
'netdev_rx' in 'struct hfi1_devdata'
rx = dd->netdev_rx;
~~ ^
drivers/infiniband/hw/hfi1/netdev_rx.c:435:34: error: no member named
'netdev_rx' in 'struct hfi1_devdata'
struct hfi1_netdev_rx *rx = dd->netdev_rx;
~~ ^
drivers/infiniband/hw/hfi1/netdev_rx.c:449:34: error: no member named
'netdev_rx' in 'struct hfi1_devdata'
struct hfi1_netdev_rx *rx = dd->netdev_rx;
~~ ^
drivers/infiniband/hw/hfi1/netdev_rx.c:462:34: error: no member named
'netdev_rx' in 'struct hfi1_devdata'
struct hfi1_netdev_rx *rx = dd->netdev_rx;
~~ ^
drivers/infiniband/hw/hfi1/netdev_rx.c:475:34: error: no member named
'netdev_rx' in 'struct hfi1_devdata'
struct hfi1_netdev_rx *rx = dd->netdev_rx;
~~ ^
18 errors generated.
vim +67 drivers/infiniband/hw/hfi1/netdev.h
6991abcb993cf6 Kaike Wan 2020-05-11 63
6991abcb993cf6 Kaike Wan 2020-05-11 64 static inline
6991abcb993cf6 Kaike Wan 2020-05-11 65 int hfi1_netdev_ctxt_count(struct
hfi1_devdata *dd)
6991abcb993cf6 Kaike Wan 2020-05-11 66 {
780278c2c8bb50 Mike Marciniszyn 2021-03-29 @67 return dd->netdev_rx->num_rx_q;
6991abcb993cf6 Kaike Wan 2020-05-11 68 }
6991abcb993cf6 Kaike Wan 2020-05-11 69
:::::: The code at line 67 was first introduced by commit
:::::: 780278c2c8bb50fc01b70a7392af6ab3ba360074 IB/hfi1: Rework AIP and VNIC dummy netdev
usage
:::::: TO: Mike Marciniszyn <mike.marciniszyn(a)cornelisnetworks.com>
:::::: CC: Jason Gunthorpe <jgg(a)nvidia.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org