On Thu, Aug 27, 2015 at 02:41:03PM +0200, Hannes Reinecke wrote: > Fixup submit_rtpg() to always return a standard SCSI return code. Oh, this fixes the problems in the previous patch up. Maybe just skip the error handling changes in the previous patch and keep them purely in this one? > + if (driver_byte(retval) == DRIVER_BUSY) > + err = SCSI_DH_DEV_TEMP_BUSY; > + else > + err = SCSI_DH_IO; > + return err; This could be simplified to: if (driver_byte(retval) == DRIVER_BUSY) return SCSI_DH_DEV_TEMP_BUSY; return SCSI_DH_IO; -- 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