OSDN Git Service

IB/core: Replace ib_query_gid with rdma_get_gid_attr
authorParav Pandit <parav@mellanox.com>
Tue, 5 Jun 2018 05:40:18 +0000 (08:40 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 18 Jun 2018 17:09:05 +0000 (11:09 -0600)
commit77e786fcbe2ecdac57ced610260ffb1f7cfeed00
treea18b393079e8b9aff39322a2cab82b9d7f44bc87
parentbf399c2cadfa66d399d01d5a92a7bb0a112f1568
IB/core: Replace ib_query_gid with rdma_get_gid_attr

These call sites have a use of ib_query_gid with a simple lifetime for the
struct gid_attr pointer, with an easy conversion.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/sysfs.c