linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the rdma-leon tree
@ 2016-05-13  0:08 Stephen Rothwell
  2016-05-13  0:33 ` Stephen Rothwell
  2016-05-13 17:09 ` Doug Ledford
  0 siblings, 2 replies; 4+ messages in thread
From: Stephen Rothwell @ 2016-05-13  0:08 UTC (permalink / raw)
  To: Leon Romanovsky, Doug Ledford; +Cc: linux-next, linux-kernel

Hi Leon,

After merging the rdma-leon tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

ERROR: ".rdma_addr_size" [drivers/infiniband/core/rdma_ucm.ko] undefined!
ERROR: ".rdma_addr_register_client" [drivers/infiniband/core/rdma_cm.ko] undefined!
ERROR: ".rdma_addr_size" [drivers/infiniband/core/rdma_cm.ko] undefined!
ERROR: ".rdma_addr_unregister_client" [drivers/infiniband/core/rdma_cm.ko] undefined!
ERROR: ".rdma_translate_ip" [drivers/infiniband/core/rdma_cm.ko] undefined!
ERROR: ".rdma_copy_addr" [drivers/infiniband/core/rdma_cm.ko] undefined!
ERROR: ".rdma_resolve_ip" [drivers/infiniband/core/rdma_cm.ko] undefined!
ERROR: ".rdma_addr_cancel" [drivers/infiniband/core/rdma_cm.ko] undefined!
ERROR: ".rdma_resolve_ip_route" [drivers/infiniband/core/ib_sa.ko] undefined!
ERROR: ".addr_init" [drivers/infiniband/core/ib_core.ko] undefined!
ERROR: ".rdma_addr_find_l2_eth_by_grh" [drivers/infiniband/core/ib_core.ko] undefined!
ERROR: ".addr_cleanup" [drivers/infiniband/core/ib_core.ko] undefined!

I don't know what has caused this, but the rdma-leon tree shares a lot
of patches (but not commits) with the rdma tree and so needs to be
cleaned up. Please sort out your work flow.

I have dropped the rdma-leon tree for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 4+ messages in thread
* linux-next: build failure after merge of the rdma-leon tree
@ 2017-01-04  0:27 Stephen Rothwell
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2017-01-04  0:27 UTC (permalink / raw)
  To: Leon Romanovsky; +Cc: linux-next, linux-kernel, Majd Dibbiny, Kamal Heib

Hi Leon,

After merging the rdma-leon tree, today's linux-next build (x86_64
allmodconfig build) failed like this:

In file included from include/linux/swab.h:4:0,
                 from include/uapi/linux/byteorder/little_endian.h:12,
                 from include/linux/byteorder/little_endian.h:4,
                 from arch/x86/include/uapi/asm/byteorder.h:4,
                 from include/asm-generic/bitops/le.h:5,
                 from arch/x86/include/asm/bitops.h:517,
                 from include/linux/bitops.h:36,
                 from include/linux/kernel.h:10,
                 from include/linux/list.h:8,
                 from include/linux/module.h:9,
                 from drivers/infiniband/hw/mlx5/qp.c:33:
drivers/infiniband/hw/mlx5/qp.c: In function 'mlx5_ib_modify_wq':
drivers/infiniband/hw/mlx5/qp.c:4910:48: error: 'struct mlx5_ib_port' has no member named 'q_cnt_id'
    MLX5_SET(rqc, rqc, counter_set_id, dev->port->q_cnt_id);
                                                ^
include/uapi/linux/swab.h:113:54: note: in definition of macro '__swab32'
 #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x))
                                                      ^
include/linux/byteorder/generic.h:93:21: note: in expansion of macro '__cpu_to_be32'
 #define cpu_to_be32 __cpu_to_be32  
                     ^
drivers/infiniband/hw/mlx5/qp.c:4910:4: note: in expansion of macro 'MLX5_SET'
    MLX5_SET(rqc, rqc, counter_set_id, dev->port->q_cnt_id);
    ^

Caused by commit

  cbd0624cc927 ("IB/mlx5: Expose Q counters groups only when they are supported by FW")

interacting with commit

  fbcb2b5c3749 ("B/mlx5: Add port counter support for Receive WQs")

This needed to be fixed up in the merge commit

  3064f9066da1 ("Merge branch 'topic/q_counters' into rdma-next")

I have dropped the rdma-leon tree again for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-04  0:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-13  0:08 linux-next: build failure after merge of the rdma-leon tree Stephen Rothwell
2016-05-13  0:33 ` Stephen Rothwell
2016-05-13 17:09 ` Doug Ledford
2017-01-04  0:27 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).