]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Avoid exporting module internal function
authorParav Pandit <parav@mellanox.com>
Tue, 14 Nov 2017 12:51:51 +0000 (14:51 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 18 Dec 2017 20:49:43 +0000 (13:49 -0700)
commitbb133af73fbfcf3c6a4a7127add8c99f79e2b96c
tree3f5eb9e20805758fb254b06ac6afce4f27aeaa94
parent35bd6bc6b47b08fc4112a1bbc25689f3010b97f2
IB/core: Avoid exporting module internal function

ib_security_modify_qp and ib_security_pkey_access are core internal
function. So avoid exporting them.
ib_security_pkey_access is used only when secuirty hooks are enabled so
avoid defining it otherwise.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/core_priv.h
drivers/infiniband/core/security.c