Re: [RESEND PATCH 2/2] audit: uninitialize variable audit_sig_sid

From: Paul Moore
Date: Mon Aug 17 2020 - 20:39:13 EST


On Thu, Aug 6, 2020 at 2:35 PM Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
>
> On Mon, Aug 3, 2020 at 8:35 AM Jules Irenge <jbi.octave@xxxxxxxxx> 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@xxxxxxxxx>
> > ---
> > 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.

... also merged this patch into audit/next. Thanks again.

--
paul moore
www.paul-moore.com