Re: [PATCH 1/2] audit: remove redundant data_len check

From: Paul Moore
Date: Sun May 15 2022 - 19:35:41 EST


On Sun, May 15, 2022 at 3:31 AM Shreenidhi Shedi <yesshedi@xxxxxxxxx> wrote:
>
> data_len is already getting checked if it's less than 2 earlier in this
> function.
>
> Signed-off-by: Shreenidhi Shedi <sshedi@xxxxxxxxxx>
> ---
> kernel/audit.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, this patch looks okay, but since we are already at v5.18-rc7
this patch will have to wait until after the upcoming merge window as
it isn't a critical bug fix.

--
paul-moore.com