Re: [PATCH] aoe: error printed 1 too early

From: David Miller
Date: Wed Mar 04 2009 - 03:08:35 EST


From: Roel Kluin <roel.kluin@xxxxxxxxx>
Date: Wed, 25 Feb 2009 14:38:54 +0100

> with while (i-- > 0); i reaches -1 after the loop, so the test below is printed
> one too early: 0 still means success.
>
> Signed-off-by: Roel Kluin <roel.kluin@xxxxxxxxx>

Applied, 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/