Re: [PATCH v2] NVMe: silence GCC warning on 32 bit

From: Geert Uytterhoeven
Date: Mon Mar 24 2014 - 11:49:46 EST


Hi Paul,

On Mon, Mar 24, 2014 at 4:36 PM, Paul Bolle <pebolle@xxxxxxxxxx> wrote:
> And as this is now unlikely to be in time for v3.14, we might decide to
> dig deeper. It won't be the first time that a rather small change (say,
> converting a variable from signed to unsigned) turns out be enough to
> make GCC understand the flow of the code.

Anything we can do with factoring out the "if (!first)" in both branches?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
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/