Files
erofs-linux/drivers/scsi
Dave Carroll 7d3af7d96a scsi: aacraid: Correct hba_send to include iu_type
commit b60710ec7d ("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]>
2018-05-01 23:27:18 -04:00
..
2018-04-03 17:38:39 -07:00
…
2018-03-15 00:35:43 -04:00
2018-04-03 17:38:39 -07:00
…
…
2018-04-03 17:38:39 -07:00
…
2018-04-03 17:38:39 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-04-03 17:38:39 -07:00
…
…
…
…
…
…
2018-03-12 21:16:58 -04:00
…
2018-03-19 22:54:47 -04:00
…
…
2018-04-03 17:38:39 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-04-03 17:38:39 -07:00
…
…
…
…
…
…
2018-02-11 14:34:03 -08:00
…
…
…
…
…
…
…
…
…
…
…
…