scsi: mesh: Translate message to host byte status
authorHannes Reinecke <hare@suse.de>
Tue, 27 Apr 2021 08:30:32 +0000 (10:30 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 1 Jun 2021 02:48:23 +0000 (22:48 -0400)
commit3ff451e929838b368c1be3939045db080058b3df
tree17aab4c22e2ce0486c9802b1bb3019378a9816b5
parent6e39836ebccd6dfd9ee14ec6cf6acbe0ed0da5c7
scsi: mesh: Translate message to host byte status

Instead of setting the message byte translate it to a host byte status. As
the error recovery would map it to DID_ERROR anyway the translation doesn't
change the SCSI error handling.

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