OSDN Git Service

IB/core: Fix comments of GID query functions
authorParav Pandit <parav@mellanox.com>
Tue, 13 Mar 2018 14:06:11 +0000 (16:06 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 15 Mar 2018 20:40:36 +0000 (14:40 -0600)
commit6612b4983f7e8d295a7503452719b113464b395f
treec7e14ae9bcb240789d6696e05d77194e146870f9
parenteeea6953c42f85d19e565a4d3a49c1530f602e22
IB/core: Fix comments of GID query functions

Exported symbol's comments should be with function definition and not in
the header file. Therefore comments of ib_find_cached_gid() and
ib_find_cached_gid_by_port() functions are moved closer to their
definitions.

The function name in then comment is different than the actual function
name, fix it to be same as ib_cache_gid_find_by_filter().

Also current comment section of ib_find_cached_gid_by_port() contains the
desciption of ib_find_cached_gid(), fix that as well.

Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
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/cache.c
include/rdma/ib_cache.h