diff options
author | Doug Ledford <dledford@redhat.com> | 2017-08-18 21:10:23 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-18 21:10:23 +0300 |
commit | d3cf4d9915c4fb60aeef580973aa77420e600746 (patch) | |
tree | 101f4c94eaa9d4c11673a41a7e5f2280fa59227d /drivers/infiniband/sw | |
parent | 3e5f0881f17525e3b49835947a5e0cf2d681b1e2 (diff) | |
parent | 9d6fd7aca149e2c95915447f76b125dc2123db45 (diff) | |
download | linux-d3cf4d9915c4fb60aeef580973aa77420e600746.tar.xz |
Merge branch 'misc' into k.o/for-next
Conflicts:
drivers/infiniband/core/iwcm.c - The rdma_netlink patches in
HEAD and the iwarp cm workqueue fix (don't use WQ_MEM_RECLAIM,
we aren't safe for that context) touched the same code.
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_av.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_av.c b/drivers/infiniband/sw/rxe/rxe_av.c index 5bddf469361b..1cc9e2e1365d 100644 --- a/drivers/infiniband/sw/rxe/rxe_av.c +++ b/drivers/infiniband/sw/rxe/rxe_av.c @@ -38,18 +38,13 @@ int rxe_av_chk_attr(struct rxe_dev *rxe, struct rdma_ah_attr *attr) { struct rxe_port *port; - if (rdma_ah_get_port_num(attr) != 1) { - pr_info("invalid port_num = %d\n", rdma_ah_get_port_num(attr)); - return -EINVAL; - } - port = &rxe->port; if (rdma_ah_get_ah_flags(attr) & IB_AH_GRH) { u8 sgid_index = rdma_ah_read_grh(attr)->sgid_index; if (sgid_index > port->attr.gid_tbl_len) { - pr_info("invalid sgid index = %d\n", sgid_index); + pr_warn("invalid sgid index = %d\n", sgid_index); return -EINVAL; } } |