mirror-linux/drivers/scsi/aacraid
Bart Van Assche e414748b7e scsi: aacraid: Improve code readability
aac_queuecommand() is a scsi_host_template.queuecommand()
implementation.  Any value returned by this function other than one of
the following values is translated into SCSI_MLQUEUE_HOST_BUSY:

* 0
* SCSI_MLQUEUE_HOST_BUSY
* SCSI_MLQUEUE_DEVICE_BUSY
* SCSI_MLQUEUE_EH_RETRY
* SCSI_MLQUEUE_TARGET_BUSY

Improve readability of aac_queuecommand() by returning
SCSI_MLQUEUE_HOST_BUSY instead of FAILED.

Cc: Gilbert Wu <gilbert.wu@microchip.com>
Cc: Sagar Biradar <Sagar.Biradar@microchip.com>
Cc: John Garry <john.g.garry@oracle.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Link: https://patch.msgid.link/20251021201743.3539900-1-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2025-10-23 23:01:00 -04:00
..
Makefile
aachba.c scsi: usb: Rename the RESERVE and RELEASE constants 2025-02-12 22:20:55 -05:00
aacraid.h scsi: aacraid: Remove useless code 2025-05-27 22:03:29 -04:00
commctrl.c scsi: aacraid: struct {user,}sgmap{,64,raw}: Replace 1-element arrays with flexible arrays 2024-08-02 21:38:08 -04:00
comminit.c scsi: aacraid: Stop using PCI_IRQ_AFFINITY 2025-07-24 21:18:00 -04:00
commsup.c scsi: aacraid: Remove useless code 2025-05-27 22:03:29 -04:00
dpcsup.c
linit.c scsi: aacraid: Improve code readability 2025-10-23 23:01:00 -04:00
nark.c
rkt.c
rx.c scsi: aacraid: Fix misspelling of _aac_rx_init() 2021-03-15 22:14:53 -04:00
sa.c
src.c scsi: aacraid: union aac_init: Replace 1-element array with flexible array 2024-08-02 21:28:25 -04:00