On Friday 03 April 2009, Borislav Petkov wrote: [...] > > > @@ -614,14 +589,15 @@ static ide_startstop_t cdrom_newpc_intr(ide_drive_t *drive) > > > struct request *rq = hwif->rq; > > > ide_expiry_t *expiry = NULL; > > > int dma_error = 0, dma, thislen, uptodate = 0; > > > - int write = (rq_data_dir(rq) == WRITE) ? 1 : 0, rc, nsectors; > > > + int write, uninitialized_var(rc), nsectors; > > > > Why is uninitialized_var() here now? > > because gcc is whining that it might be uninitialized although I've > doublechecked all codepaths returning a valid error. It is there to shut > up this warning, actually. It is gcc's fault (version dependent on top of it). However since it may affect other people and workarounding it costs us absolutely nothing lets be pragmatic about it. Please resend this change in a separate patch so it can be applied. -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html