summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2025-10-21 23:17:43 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-10-24 06:01:00 +0300
commite414748b7e83673cc777ce33e44d90e5157d687f (patch)
treef42f0a6bb05b65b4a6482af8b7ee74a951c7ca33 /scripts/objdiff
parentbb798c1f43c0010d792b93dc9cbb9cef7a052f61 (diff)
downloadlinux-e414748b7e83673cc777ce33e44d90e5157d687f.tar.xz
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>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions