linux_dsm_epyc7002/drivers/scsi/libsas
Darrick J. Wong 35a7f2f698 [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 <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-07-18 11:15:05 -05:00
..
Kconfig
Makefile [SCSI] Migrate libsas ATA code into a separate file 2007-07-18 11:14:40 -05:00
sas_ata.c [SCSI] sas_ata: sas_ata_qc_issue should return AC_ERR_* 2007-07-18 11:15:05 -05:00
sas_discover.c [SCSI] libsas: fixup NCQ for SATA disks 2007-07-18 11:14:33 -05:00
sas_dump.c
sas_dump.h
sas_event.c
sas_expander.c [SCSI] libsas: better error handling in sas_ex_discover_end_dev() 2007-07-18 11:14:25 -05:00
sas_init.c
sas_internal.h
sas_phy.c
sas_port.c
sas_scsi_host.c [SCSI] sas_ata: Satisfy libata qc function locking requirements 2007-07-18 11:14:55 -05:00