summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2026-09-18 09:19:29 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2026-09-24 06:46:06 +0200
commita93a8e3200002f0c345fec4c340390e9a60aabc7 (patch)
tree13d8070029273e9e3fb3eeff35f00eebabbbf878 /tools/perf/scripts/python
parent5ef3b5a4ea78da6ffdf32bcfe7517d4b2860f339 (diff)
downloadlinux-next-a93a8e3200002f0c345fec4c340390e9a60aabc7.tar.gz
linux-next-a93a8e3200002f0c345fec4c340390e9a60aabc7.zip
thunderbolt: stream: Make read return framing error to the userspace
If any of the frames are corrupted during the receive we currently log a warning and pass them to the userspace without it knowing they were corrupted. Make the driver behave better and return an error (-EIO) to the userspace in that case. For the CLOSE packet, payload does not matter so we handle it the usual way. Reviewed-by: Ivy Lopez <skunkolee@gmail.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions