[PATCH -next] LSM: Make some functions static
James Morris
jmorris at namei.org
Fri Jan 18 19:47:15 UTC 2019
On Wed, 16 Jan 2019, Wei Yongjun wrote:
> 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: f4ad8f2c4076 ("LSM: Infrastructure management of the task security")
> Signed-off-by: Wei Yongjun <weiyongjun1 at huawei.com>
Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-general
--
James Morris
<jmorris at namei.org>
More information about the Linux-security-module-archive
mailing list