Re: [PATCH v2] audit: Make audit_filter_syscall() return void

From: Paul Moore
Date: Wed Jan 27 2021 - 22:01:05 EST


On Tue, Jan 26, 2021 at 9:52 PM <menglong8.dong@xxxxxxxxx> wrote:
>
> From: Yang Yang <yang.yang29@xxxxxxxxxx>
>
> No invoker uses the return value of audit_filter_syscall().
> So make it return void, and amend the comment of
> audit_filter_syscall().
>
> Changes since v1:
> - amend the comment of audit_filter_syscall().
>
> Signed-off-by: Yang Yang <yang.yang29@xxxxxxxxxx>
> Reviewed-by: Richard Guy Briggs <rgb@xxxxxxxxxx>
> ---
> kernel/auditsc.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)

This is a simple enough patch so I think merging it during -rc5 should
be okay; merged into audit/next - thanks!

--
paul moore
www.paul-moore.com