提交 8b549ef4 编写于 作者: G Geliang Tang 提交者: Casey Schaufler

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: NGeliang Tang <geliangtang@163.com>
Acked-by: NCasey Schaufler <casey@schaufler-ca.com>
上级 5f2bfe2f
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册