aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2021-04-27 10:30:36 +0200
committerMartin K. Petersen <[email protected]>2021-05-31 22:48:23 -0400
commitfdabe57d126954fe4132ef271366dfd75b411224 (patch)
tree5fd92e37959cd32cfcf40d516c1d5a805ab77d65 /tools/perf/scripts/python
parentaec166fde7827643c8e049f20bc30ea61b14ea53 (diff)
scsi: aha152x: Do not set message byte when calling scsi_done()
The done() function is called with a host_byte indicating the actual error when the message byte is set. As the host byte takes precedence during error recovery we can drop setting the message byte if the host byte is set, too. The only other case is when the host byte is DID_OK, but in that case the message byte is always COMMAND_COMPLETE (i.e. 0), so we can drop it there, too. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions