"Martin K. Petersen" <martin.petersen@xxxxxxxxxx> writes: >>>>>> "Geert" == Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> writes: > > Geert> drivers/scsi/sd.c: In function âsd_prep_fnâ: > Geert> drivers/scsi/sd.c:544: warning: âretâ may be used uninitialized > Geert> in this function > > Sorry about that. > > > sd: Fail discard requests when logical block provisioning has been disabled > > Ensure that we kill discard requests after logical block provisioning > has been disabled in sysfs. > > Signed-off-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx> > Reported-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> Tao Ma posted a similar patch. Anyway, either looks good to me. This one will avoid an unecessary extra setting of ret, but I doubt that matters. Reviewed-by: Jeff Moyer <jmoyer@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html