Re: 2.6.14 assorted warnings

From: Jens Axboe
Date: Fri Oct 28 2005 - 03:29:20 EST


On Fri, Oct 28 2005, Arnd Bergmann wrote:
> In the example, bvec_alloc_bs does not initialize &idx when nr is not
> between 1 and BIO_MAX_PAGES, so gcc is telling the truth here.

Wrong. idx is always initialized if being used.

--
Jens Axboe

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