Re: [PATCH] net: netfilter: fix GCC uninitialized warning
From: Pablo Neira Ayuso
Date: Tue Nov 10 2015 - 07:46:04 EST
On Fri, Nov 06, 2015 at 10:13:16PM +0300, Dmitry Safonov wrote:
> I thought, it was decided to use 0/NULL/whatever, than uninitialized_var()?
> Is right now?
> http://thread.gmane.org/gmane.linux.kernel/1383415
I overlook that one. We should stick to mainstream policies as much as
possible.
Arnd just sent a patch to address one of this by initializing the
variable: http://patchwork.ozlabs.org/patch/542259/
Please follow up with a patch to initialize the variable to avoid the
warning in other spots.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/