[rdma:k.o/for-4.11-dma_ops-merged 1/2] drivers/infiniband/hw/bnxt_re/main.c:439:7: error: 'struct ib_device' has no member named 'dma_device'; did you mean 'query_device'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma.git k.o/for-4.11-dma_ops-merged
head:   87a5da90d0c69de7102a3617115e0bb21e43ebfb
commit: 805f7a3a583f9153364cf61ddb1253f1b520b8fd [1/2] Merge branch 'k.o/for-4.11-dma_ops'
config: s390-allyesconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 805f7a3a583f9153364cf61ddb1253f1b520b8fd
        # save the attached .config to linux build tree
        make.cross ARCH=s390 

Note: the rdma/k.o/for-4.11-dma_ops-merged HEAD 87a5da90d0c69de7102a3617115e0bb21e43ebfb builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/infiniband/hw/bnxt_re/main.c: In function 'bnxt_re_register_ib':
>> drivers/infiniband/hw/bnxt_re/main.c:439:7: error: 'struct ib_device' has no member named 'dma_device'; did you mean 'query_device'?
     ibdev->dma_device = &rdev->en_dev->pdev->dev;
          ^~

vim +439 drivers/infiniband/hw/bnxt_re/main.c

1ac5a404 Selvin Xavier 2017-02-10  433  		strlen(BNXT_RE_DESC) + 5);
1ac5a404 Selvin Xavier 2017-02-10  434  	ibdev->phys_port_cnt = 1;
1ac5a404 Selvin Xavier 2017-02-10  435  
1ac5a404 Selvin Xavier 2017-02-10  436  	bnxt_qplib_get_guid(rdev->netdev->dev_addr, (u8 *)&ibdev->node_guid);
1ac5a404 Selvin Xavier 2017-02-10  437  
1ac5a404 Selvin Xavier 2017-02-10  438  	ibdev->num_comp_vectors	= 1;
1ac5a404 Selvin Xavier 2017-02-10 @439  	ibdev->dma_device = &rdev->en_dev->pdev->dev;
1ac5a404 Selvin Xavier 2017-02-10  440  	ibdev->local_dma_lkey = BNXT_QPLIB_RSVD_LKEY;
1ac5a404 Selvin Xavier 2017-02-10  441  
1ac5a404 Selvin Xavier 2017-02-10  442  	/* User space */

:::::: The code at line 439 was first introduced by commit
:::::: 1ac5a404797523cedaf424a3aaa3cf8f9548dff8 RDMA/bnxt_re: Add bnxt_re RoCE driver

:::::: TO: Selvin Xavier <selvin.xavier@xxxxxxxxxxxx>
:::::: CC: Doug Ledford <dledford@xxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux