Re: [rdma:k.o/for-4.11 115/115] drivers/infiniband/hw/bnxt_re/main.c:231:18: error: 'RING_ALLOC_REQ_RING_TYPE_L2_CMPL' undeclared

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

 



On 2/22/2017 8:22 PM, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma.git k.o/for-4.11
> head:   db690328a7df0b507f7d59de0c7e1bbe8f4b9e6a
> commit: db690328a7df0b507f7d59de0c7e1bbe8f4b9e6a [115/115] RDMA/bnxt_re: fix for "bnxt_en: Update to firmware interface spec 1.7.0."
> config: i386-allmodconfig (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
>         git checkout db690328a7df0b507f7d59de0c7e1bbe8f4b9e6a
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/infiniband/hw/bnxt_re/main.c: In function 'bnxt_re_net_ring_free':
>>> drivers/infiniband/hw/bnxt_re/main.c:231:18: error: 'RING_ALLOC_REQ_RING_TYPE_L2_CMPL' undeclared (first use in this function)
>      req.ring_type = RING_ALLOC_REQ_RING_TYPE_L2_CMPL;
>                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    drivers/infiniband/hw/bnxt_re/main.c:231:18: note: each undeclared identifier is reported only once for each function it appears in
>    drivers/infiniband/hw/bnxt_re/main.c: In function 'bnxt_re_net_ring_alloc':
>    drivers/infiniband/hw/bnxt_re/main.c:271:18: error: 'RING_ALLOC_REQ_RING_TYPE_L2_CMPL' undeclared (first use in this function)
>      req.ring_type = RING_ALLOC_REQ_RING_TYPE_L2_CMPL;
>                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This is an expected failure.  The patch that causes this failure, fixes
the same failure when combined with Dave Miller's net-next tree where
the ring type name has been renamed to match what this patch now uses.

> 
> vim +/RING_ALLOC_REQ_RING_TYPE_L2_CMPL +231 drivers/infiniband/hw/bnxt_re/main.c
> 
>    225		if (lock_wait) {
>    226			rtnl_lock();
>    227			do_unlock = true;
>    228		}
>    229	
>    230		bnxt_re_init_hwrm_hdr(rdev, (void *)&req, HWRM_RING_FREE, -1, -1);
>  > 231		req.ring_type = RING_ALLOC_REQ_RING_TYPE_L2_CMPL;
>    232		req.ring_id = cpu_to_le16(fw_ring_id);
>    233		bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp,
>    234				    sizeof(resp), DFLT_HWRM_CMD_TIMEOUT);
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
> 


-- 
Doug Ledford <dledford@xxxxxxxxxx>
    GPG Key ID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

Attachment: signature.asc
Description: OpenPGP digital signature


[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