scsi: aacraid: Avoid setting message byte on completion
authorHannes Reinecke <hare@suse.de>
Wed, 13 Jan 2021 09:04:40 +0000 (10:04 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 23 Jan 2021 02:14:09 +0000 (21:14 -0500)
commitcdec16c1177a93618bfd4e8e9ebf233911bc2913
treed7b1529dd8e3d66b49d71ded3472cfbc5d91d82b
parent3273c91bbd01b464655c23ae83f766cb755f9173
scsi: aacraid: Avoid setting message byte on completion

The aacraid controller is a RAID controller and the driver will never see
any SCSI messages. Plus it's quite pointless to set the message byte if the
host byte is already set, as the latter takes precedence during error
recovery.  Drop the message byte values for the final result.

Link: https://lore.kernel.org/r/20210113090500.129644-16-hare@suse.de
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/aachba.c