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)
commitdf8441c668f70573f4706bb59a18fc67dc5d20dc
tree3f5eb9e20805758fb254b06ac6afce4f27aeaa94
parent56d0a7d9a0f045ee27a001762deac28c7d28e2e4
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