Re: [PATCH] bio: gcc warning fix.
From: Luiz Fernando Capitulino
Date: Fri Jan 06 2006 - 13:58:34 EST
On Fri, 6 Jan 2006 19:48:11 +0100
Jens Axboe <axboe@xxxxxxx> wrote:
| > having assigned a value we know that gcc's warning is wrong, idx can
| > never *actually* be used uninitialized.
|
| Indeed, that's the whole point. For the original submitter, you are not
| the first to submit this. See archives for basically the same thread as
| this one...
Al Viro got it: I just wanted to make gcc not complain. But
'obfuscate correct code' for it is wrong.
The code is right, the patch is bad. That's it.
--
Luiz Fernando N. Capitulino
-
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/