]> 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)
commitf591e8b4fc5b58a2edbbb15623022b756fb0613d
treee736935cff41e5a5b4f1c34b449fd5f960e5548b
parentb9b5c6bdb75f8fe53c506bf9986cd43ec614431c
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