Messages in this thread | | | From | Jeff Moyer <> | Subject | Re: [GIT PULL] First round of SCSI updates for 2.6.38 merge window | Date | Tue, 22 Mar 2011 08:59:14 -0400 |
| |
"Martin K. Petersen" <martin.petersen@oracle.com> writes:
>>>>>> "Geert" == Geert Uytterhoeven <geert@linux-m68k.org> 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@oracle.com> > Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
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@redhat.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |