Content-Type: multipart/mixed; boundary="===============3993920812841550920==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] Audit: __audit_log_end() can be static Date: Fri, 04 Feb 2022 06:33:11 +0800 Message-ID: <20220203223311.GA38319@906dedf1231f> In-Reply-To: <20220202235323.23929-25-casey@schaufler-ca.com> List-Id: --===============3993920812841550920== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable kernel/audit.c:2399:6: warning: symbol '__audit_log_end' was not declared. = Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- audit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/audit.c b/kernel/audit.c index 559fb14e038067..8edfa8208d4b7e 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -2396,7 +2396,7 @@ int audit_signal_info(int sig, struct task_struct *t) * queue and a kthread is scheduled to remove them from the queue outside = the * irq context. May be called in any context. */ -void __audit_log_end(struct audit_buffer *ab) +static void __audit_log_end(struct audit_buffer *ab) { struct sk_buff *skb; struct nlmsghdr *nlh; --===============3993920812841550920==--