summaryrefslogtreecommitdiffstats
path: root/security/smack/smackfs.c
diff options
context:
space:
mode:
authorCasey Schaufler <casey@schaufler-ca.com>2015-07-30 23:35:14 +0200
committerCasey Schaufler <casey@schaufler-ca.com>2015-07-31 21:12:17 +0200
commit1eddfe8edb8f85a0d7f793090abcbdf8741455de (patch)
treef8642c4f799bbe1bd94f6c9aa6f7442618909437 /security/smack/smackfs.c
parentSmack: IPv6 host labeling (diff)
downloadlinux-1eddfe8edb8f85a0d7f793090abcbdf8741455de.tar.xz
linux-1eddfe8edb8f85a0d7f793090abcbdf8741455de.zip
Smack: Three symbols that should be static
The kbuild test robot reported a couple of these, and the third showed up by inspection. Making the symbols static is proper. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security/smack/smackfs.c')
-rw-r--r--security/smack/smackfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/smack/smackfs.c b/security/smack/smackfs.c
index 11b752b366ea..c20b154a33f2 100644
--- a/security/smack/smackfs.c
+++ b/security/smack/smackfs.c
@@ -139,7 +139,7 @@ struct smack_master_list {
struct smack_rule *smk_rule;
};
-LIST_HEAD(smack_rule_list);
+static LIST_HEAD(smack_rule_list);
struct smack_parsed_rule {
struct smack_known *smk_subject;