Skip to content

Commit

Permalink
scsi: aacraid: Avoid setting message byte on completion
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hannes Reinecke authored and Martin K. Petersen committed Jan 23, 2021
1 parent 3273c91 commit cdec16c
Showing 1 changed file with 64 additions and 109 deletions.
Loading

0 comments on commit cdec16c

Please sign in to comment.