[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <543AA8BF.7090809@myspectrum.nl>
Date: Sun, 12 Oct 2014 18:13:51 +0200
From: Jeroen Hofstee <jeroen@...pectrum.nl>
To: Hans de Goede <hdegoede@...hat.com>,
"Yann E. MORIN" <yann.morin.1998@...e.fr>, u-boot@...ts.denx.de
CC: linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org
Subject: Re: [U-Boot] [PATCH resend] kconfig: Fix compiler warning in menu.c
Hello Hans,
On 12-10-14 12:25, Hans de Goede wrote:
> Hi,
>
> This one seems to have fallen through the cracks.
>
> Regards,
>
> Hans
>
(for U-boot)
nope, you replace an innocent warning (_might_ be) with
bad code, without any comment it is just because gcc failed
to recognize it is fine. Nor did you respond to the suggestion
if it helps gcc to recognize that if the two booleans are merged
into a single one. [or even split it in an if () if ()]. With this patch
you prevent any serious warning in case the variable is actually
used but not initialized, which is even worse if you ask me.
Regards,
Jeroen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists