Re: [PATCH] SCSI: fix regression in scsi_send_eh_cmnd()

2014-11-21 Thread Hannes Reinecke
On 11/21/2014 04:44 PM, Alan Stern wrote: > Commit ac61d1955934 (scsi: set correct completion code in > scsi_send_eh_cmnd()) introduced a bug. It changed the stored return > value from a queuecommand call, but it didn't take into account that > the return value was used again later on. This patch

[PATCH] SCSI: fix regression in scsi_send_eh_cmnd()

2014-11-21 Thread Alan Stern
Commit ac61d1955934 (scsi: set correct completion code in scsi_send_eh_cmnd()) introduced a bug. It changed the stored return value from a queuecommand call, but it didn't take into account that the return value was used again later on. This patch fixes the bug by changing the later usage. There