diff options
| author | Simon Ser <contact@emersion.fr> | 2022-02-10 15:40:25 +0000 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2022-07-29 13:55:39 +0200 |
| commit | 2ac6cdd581f48c8f68747156fde5868486a44985 (patch) | |
| tree | 32a0cb9a9386fd9aafaf8286c85f6cd6f9e05554 /scripts/gdb/linux/tasks.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 <contact@emersion.fr>
Fixes: cb897542c6d2 ("drm/dp_mst: Fix W=1 warnings")
Cc: Lyude Paul <lyude@redhat.com>
Cc: Benjamin Gaignard <benjamin.gaignard@st.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/473500/
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
