diff options
author | Igor Pylypiv <[email protected]> | 2024-07-02 02:47:35 +0000 |
---|---|---|
committer | Niklas Cassel <[email protected]> | 2024-07-03 10:51:41 +0200 |
commit | 816be86c7993d3c5832c3017c0056297e86f978c (patch) | |
tree | 140505fb977f8bbd4f06df542aec378d1f006eb9 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 18676c6aab0863618eb35443e7b8615eea3535a9 (diff) |
ata: libata-scsi: Check ATA_QCFLAG_RTF_FILLED before using result_tf
qc->result_tf contents are only valid when the ATA_QCFLAG_RTF_FILLED flag
is set. The ATA_QCFLAG_RTF_FILLED flag should be always set for commands
that failed or for commands that have the ATA_QCFLAG_RESULT_TF flag set.
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Niklas Cassel <[email protected]>
Signed-off-by: Igor Pylypiv <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Niklas Cassel <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions