scsi: fas216: Translate message to host byte status
authorHannes Reinecke <hare@suse.de>
Tue, 27 Apr 2021 08:30:38 +0000 (10:30 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 1 Jun 2021 02:48:24 +0000 (22:48 -0400)
commit7f33f56b02ca49d23d3b3014d693a16b0cf6324a
tree37ff0e62ab7e5b848ab7cf05452d105a55bcd4b6
parentac87ee0ac120119f52cfc8e5fce696d8fc84dbb4
scsi: fas216: Translate message to host byte status

Instead of setting the message byte translate it to the appropriate host
byte. As error recovery would return DID_ERROR for any non-zero message
byte the translation doesn't change the error handling.

[mkp: zeroday bug report: s/SCpnt->result/SCpnt/]

Link: https://lore.kernel.org/r/20210427083046.31620-33-hare@suse.de
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/arm/fas216.c