aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorFinn Thain <fthain@linux-m68k.org>2024-08-07 13:36:28 +1000
committerMartin K. Petersen <martin.petersen@oracle.com>2024-08-12 22:05:49 -0400
commit1c71065df2df693d208dd32758171c1dece66341 (patch)
treec027433589e7fa9b3c44c335042c8bee8331d340 /tools/perf/scripts/python/export-to-sqlite.py
parent2ac6d29716cd7a3a013b34fad6ba6e88767e28c9 (diff)
scsi: NCR5380: Initialize buffer for MSG IN and STATUS transfers
Following an incomplete transfer in MSG IN phase, the driver would not notice the problem and would make use of invalid data. Initialize 'tmp' appropriately and bail out if no message was received. For STATUS phase, preserve the existing status code unless a new value was transferred. Tested-by: Stan Johnson <userm57@yahoo.com> Signed-off-by: Finn Thain <fthain@linux-m68k.org> Link: https://lore.kernel.org/r/52e02a8812ae1a2d810d7f9f7fd800c3ccc320c4.1723001788.git.fthain@linux-m68k.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions