From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Reinecke Subject: Re: [PATCH 3/3] [SCSI] Fix command result state propagation Date: Mon, 31 Mar 2014 09:00:22 +0200 Message-ID: <53391286.9020007@suse.de> References: <1396028874.15365.30.camel@dabdike> <1396029075.15365.33.camel@dabdike> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1396029075.15365.33.camel@dabdike> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: James Bottomley , SCSI development list Cc: USB list , Alan Stern List-Id: linux-scsi@vger.kernel.org On 03/28/2014 06:51 PM, James Bottomley wrote: > From: Alan Stern >=20 > We're seeing a case where the contents of scmd->result isn't being re= set after > a SCSI command encounters an error, is resubmitted, times out and the= n gets > handled. The error handler acts on the stale result of the previous = error > instead of the timeout. Fix this by properly zeroing the scmd->statu= s before > the command is resubmitted. >=20 > Signed-off-by: Alan Stern > Signed-off-by: James Bottomley Acked-by: Hannes Reinecke Cheers, Hannes --=20 Dr. Hannes Reinecke zSeries & Storage hare-l3A5Bk7waGM@public.gmane.org +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg GF: J. Hawn, J. Guild, F. Imend=F6rffer, HRB 16746 (AG N=FCrnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html