]> 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)
commit02ffa222687cb1374e04d2c36398c222acf4e885
tree3f5eb9e20805758fb254b06ac6afce4f27aeaa94
parent889c5e6b088d0cd05866a01097c8abc88b37c010
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