Commit db9ff6ec authored by Zheng Bin's avatar Zheng Bin Committed by Paul Moore

audit: make symbol 'audit_nfcfgs' static

Fix sparse warnings:

kernel/auditsc.c:138:32: warning: symbol 'audit_nfcfgs' was not declared. Should it be static?
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZheng Bin <zhengbin13@huawei.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent a45d8853
......@@ -135,7 +135,7 @@ struct audit_nfcfgop_tab {
const char *s;
};
const struct audit_nfcfgop_tab audit_nfcfgs[] = {
static const struct audit_nfcfgop_tab audit_nfcfgs[] = {
{ AUDIT_XT_OP_REGISTER, "register" },
{ AUDIT_XT_OP_REPLACE, "replace" },
{ AUDIT_XT_OP_UNREGISTER, "unregister" },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment