[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHC9VhQA0JZNLZbfUUecrTbMvnD3S7sRMOAoW5eeeK-jpZeEWw@mail.gmail.com>
Date: Thu, 6 Aug 2020 14:35:13 -0400
From: Paul Moore <paul@...l-moore.com>
To: Jules Irenge <jbi.octave@...il.com>
Cc: linux-kernel@...r.kernel.org, Eric Paris <eparis@...hat.com>,
"moderated list:AUDIT SUBSYSTEM" <linux-audit@...hat.com>
Subject: Re: [RESEND PATCH 2/2] audit: uninitialize variable audit_sig_sid
On Mon, Aug 3, 2020 at 8:35 AM Jules Irenge <jbi.octave@...il.com> wrote:
>
> Checkpatch tool reports
>
> "ERROR: do not initialise globals/statics to 0"
>
> To fix this, audit_sig_sid is uninitialized
> As this is stored in the .bss section,
> the compiler can initialize the variable automatically.
>
> Signed-off-by: Jules Irenge <jbi.octave@...il.com>
> ---
> kernel/audit.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Similar to patch 1/2, this will need to wait until after the merge
window closes.
--
paul moore
www.paul-moore.com
Powered by blists - more mailing lists