]> git.baikalelectronics.ru Git - kernel.git/commit
LSM: Make some functions static
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 16 Jan 2019 05:44:32 +0000 (05:44 +0000)
committerJames Morris <james.morris@microsoft.com>
Fri, 18 Jan 2019 19:46:44 +0000 (11:46 -0800)
commitec8045faf68e97b50a6d3889312f7ad8598c7893
treee21ca9a80022c6b4938fb1398ff2b90158823a1f
parent0bb39ebceafbd9afb9f855c1ba0c966f6769b869
LSM: Make some functions static

Fixes the following sparse warnings:

security/security.c:533:5: warning:
 symbol 'lsm_task_alloc' was not declared. Should it be static?
security/security.c:554:5: warning:
 symbol 'lsm_ipc_alloc' was not declared. Should it be static?
security/security.c:575:5: warning:
 symbol 'lsm_msg_msg_alloc' was not declared. Should it be static?

Fixes: 33f9a2416da5 ("LSM: Infrastructure management of the task security")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: James Morris <james.morris@microsoft.com>
security/security.c