aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJaska Uimonen <[email protected]>2020-02-28 17:18:48 -0600
committerMark Brown <[email protected]>2020-03-02 14:13:48 +0000
commit1919b42ca4ad75a2397081164661af3ce5a7b8f4 (patch)
tree78638bc9d23a4f3d455bcae821c65f01d61ea482 /tools/perf/scripts/python/stackcollapse.py
parente582f4832a9ee27d92502b58f3a1b3331457e8bb (diff)
ASoC: SOF: ipc: check ipc return value before data copy
In tx_wait_done the ipc payload is copied before the DSP transaction error code is checked. This might lead to corrupted data in kernel side even though the error would be handled later. It is also pointless to copy the data in case of error. So change the order of error check and copy. Signed-off-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Jaska Uimonen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions