From: Darrick J. Wong Date: Tue, 30 Jan 2007 09:18:38 +0000 (-0800) Subject: [SCSI] sas_ata: sas_ata_qc_issue should return AC_ERR_* X-Git-Tag: v2.6.23-rc1~7^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35a7f2f698d309cc50d98e56312dd907427b7ba4;p=pandora-kernel.git [SCSI] sas_ata: sas_ata_qc_issue should return AC_ERR_* The sas_ata_qc_issue function was incorrectly written to return error codes such as -ENOMEM. Since libata OR's qc->err_mask with the return value, It is necessary to make my code return one of the AC_ERR_ codes instead. For now, use AC_ERR_SYSTEM because an error here means that the OS couldn't send the command to the controller. If anybody has a suggestion for a better AC_ERR_ code to use, please suggest it. Signed-off-by: Darrick J. Wong Signed-off-by: James Bottomley --- Reading git-diff-tree failed