From: Hannes Reinecke Date: Thu, 8 May 2014 06:09:56 +0000 (+0200) Subject: scsi: set correct completion code in scsi_send_eh_cmnd() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~75^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac61d1955934;p=pandora-kernel.git scsi: set correct completion code in scsi_send_eh_cmnd() ->queuecommand returns '0' for successful command submission, so we need to set the correct SCSI midlayer return value when calling scsi_log_completion(). Signed-off-by: Hannes Reinecke Reported-by: Robert Elliott Cc: Stephen Cameron Tested-by: Robert Elliott Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed