audit: Make audit_log_cap and audit_copy_inode static
authorYueHaibing <yuehaibing@huawei.com>
Wed, 20 Mar 2019 13:59:22 +0000 (21:59 +0800)
committerPaul Moore <paul@paul-moore.com>
Thu, 21 Mar 2019 01:04:32 +0000 (21:04 -0400)
commit2efa48fec0c344a6ca1bba66b15d63d38cf20199
treeb5b050f783d3e3a441ce78d4f5566d5246f3f25b
parent73e65b88feb919f95bdb77c4ed35f69588cf27ee
audit: Make audit_log_cap and audit_copy_inode static

Fix sparse warning:

kernel/auditsc.c:1150:6: warning: symbol 'audit_log_cap' was not declared. Should it be static?
kernel/auditsc.c:1908:6: warning: symbol 'audit_copy_inode' was not declared. Should it be static?

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/auditsc.c