Re: [PATCH] ide_dma_speed() fixes

From: Alan Cox
Date: Mon May 15 2006 - 09:55:51 EST


On Llu, 2006-05-15 at 17:44 +0400, Sergei Shtylyov wrote:
> That's what gcc thinks. The code is 100% correct -- it will never reach
> the switch statement with mode > 0 (in which case ultra_mask isn't used) and
> ultra_mask unitialized. I may add an explicit initializer in the declaration
> if you like...

Please leave the warning, this was discussed recently in other threads
and hiding warnings is very dangerous.

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