]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/netlink: Reduce exposure of RDMA netlink functions
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 14 May 2017 12:49:57 +0000 (15:49 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 1 Jun 2017 21:20:11 +0000 (17:20 -0400)
commit233c1955835bd8649003be9bb3d8e79788b08be1
treee736935cff41e5a5b4f1c34b449fd5f960e5548b
parent95c2ef50c726a51d580c35ae8dccd383abaa8701
RDMA/netlink: Reduce exposure of RDMA netlink functions

RDMA netlink is part of ib_core, hence ibnl_chk_listeners(),
ibnl_init() and ibnl_cleanup() don't need to be published
in public header file.

Let's remove EXPORT_SYMBOL from ibnl_chk_listeners() and move all these
functions to private header file.

CC: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/core_priv.h
drivers/infiniband/core/netlink.c
include/rdma/rdma_netlink.h