commit | 1aa176ef5a451adc0546d5aaa3fb107975c786b7 | [log] [tgz] |
---|---|---|
author | Jann Horn <jannh@google.com> | Wed Mar 27 17:21:42 2019 -0700 |
committer | James Morris <james.morris@microsoft.com> | Thu Mar 28 10:02:29 2019 -0700 |
tree | bd146382cca05e6425d796141ed6b7c814486a2a | |
parent | 8c7ae38d1ce12a0eaeba655df8562552b3596c7f [diff] |
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>