mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-19 08:29:42 +01:00
commitb60710ec7d("scsi: aacraid: enable sending of TMFs from aac_hba_send()") allows aac_hba_send() to send scsi commands, and TMF requests, but the existing code only updates the iu_type for scsi commands. For TMF requests we are sending an unknown iu_type to firmware, which causes a fault. Include iu_type prior to determining the validity of the command Reported-by: Noah Misner <[email protected]> Fixes:b60710ec7d("aacraid: enable sending of TMFs from aac_hba_send()") Fixes:423400e64d("aacraid: Include HBA direct interface") Tested-by: Noah Misner <[email protected]> cc: [email protected] Signed-off-by: Dave Carroll <[email protected]> Reviewed-by: Raghava Aditya Renukunta <[email protected]> Reviewed-by: Brian King <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>