]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8ce704108a8550ac58fafc57bf1d0afa32ac973b
treed7b1529dd8e3d66b49d71ded3472cfbc5d91d82b
parentc6f39a8485b15a10a3fc7b41c0f500289c1b5211
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