diff options
| author | Simon Ser <[email protected]> | 2022-02-10 15:40:25 +0000 |
|---|---|---|
| committer | Simon Ser <[email protected]> | 2022-07-29 13:55:39 +0200 |
| commit | 2ac6cdd581f48c8f68747156fde5868486a44985 (patch) | |
| tree | 32a0cb9a9386fd9aafaf8286c85f6cd6f9e05554 /tools/perf/scripts/python/netdev-times.py | |
| parent | 5d2f2e8b3a36328a3981996bb20c32d8a0e53b46 (diff) | |
drm/dp_mst: fix drm_dp_dpcd_read return value checks
drm_dp_dpcd_read returns the number of bytes read. The previous code
would print garbage on DPCD error, and would exit with on error on
success.
Signed-off-by: Simon Ser <[email protected]>
Fixes: cb897542c6d2 ("drm/dp_mst: Fix W=1 warnings")
Cc: Lyude Paul <[email protected]>
Cc: Benjamin Gaignard <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/473500/
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions