]> git.baikalelectronics.ru Git - kernel.git/commit
Yama: mark local symbols as static
authorJann Horn <jannh@google.com>
Thu, 28 Mar 2019 00:21:42 +0000 (17:21 -0700)
committerJames Morris <james.morris@microsoft.com>
Thu, 28 Mar 2019 17:02:29 +0000 (10:02 -0700)
commit4265352c1dcdb3b19a8bf945eff01d370ef00de9
treebd146382cca05e6425d796141ed6b7c814486a2a
parent5d617601827752e0c81e9c9dad9364a4a7a6a669
Yama: mark local symbols as static

sparse complains that Yama defines functions and a variable as non-static
even though they don't exist in any header. Fix it by making them static.

Co-developed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Jann Horn <jannh@google.com>
[kees: merged similar static-ness fixes into a single patch]
Link: https://lkml.kernel.org/r/20190326230841.87834-1-jannh@google.com
Link: https://lkml.kernel.org/r/1553673018-19234-1-git-send-email-mojha@codeaurora.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.morris@microsoft.com>
security/yama/yama_lsm.c