scsi: fdomain: Translate message to host byte status
authorHannes Reinecke <hare@suse.de>
Tue, 27 Apr 2021 08:30:42 +0000 (10:30 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 1 Jun 2021 02:48:24 +0000 (22:48 -0400)
commit0ee44f900e419efe00a72880256ef9c71cf60225
treea67e037da2d8862bfae26563953792fd05d37378
parentb2e88c97c59186584ae6111246aee215ed6ec666
scsi: fdomain: 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.

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