diff options
| author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2026-09-18 09:19:29 +0300 |
|---|---|---|
| committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2026-09-24 06:46:06 +0200 |
| commit | a93a8e3200002f0c345fec4c340390e9a60aabc7 (patch) | |
| tree | 13d8070029273e9e3fb3eeff35f00eebabbbf878 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 5ef3b5a4ea78da6ffdf32bcfe7517d4b2860f339 (diff) | |
| download | linux-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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
