diff options
author | Geliang Tang <geliangtang@163.com> | 2015-09-27 23:10:25 +0800 |
---|---|---|
committer | Casey Schaufler <casey@schaufler-ca.com> | 2015-10-09 15:13:08 -0700 |
commit | 8b549ef42a26f4ef604a9ede84f0260103942727 (patch) | |
tree | 54df3addbf04a8ead64b406af473eed18c48b731 /security | |
parent | 5f2bfe2f1de8b745dc294acaf2ca2ad68e09b374 (diff) | |
download | linux-8b549ef42a26f4ef604a9ede84f0260103942727.tar.bz2 |
smack: smk_ipv6_port_list should be static
Fixes the following sparse warning:
security/smack/smack_lsm.c:55:1: warning: symbol 'smk_ipv6_port_list'
was not declared. Should it be static?
Signed-off-by: Geliang Tang <geliangtang@163.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/smack/smack_lsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index 996c88956438..f02438cc6d29 100644 --- a/security/smack/smack_lsm.c +++ b/security/smack/smack_lsm.c @@ -52,7 +52,7 @@ #define SMK_SENDING 2 #ifdef SMACK_IPV6_PORT_LABELING -LIST_HEAD(smk_ipv6_port_list); +static LIST_HEAD(smk_ipv6_port_list); #endif static struct kmem_cache *smack_inode_cache; int smack_enabled; |