summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAmjad Ouled-Ameur <amjad.ouled-ameur@arm.com>2024-06-10 13:20:56 +0300
committerMaxime Ripard <mripard@kernel.org>2024-06-10 14:20:37 +0300
commitb880018edd3a577e50366338194dee9b899947e0 (patch)
tree34db5476bfc617835513723b43563572b16fc997 /scripts/gdb/linux/utils.py
parentf74fb5df429ebc6a614dc5aa9e44d7194d402e5a (diff)
downloadlinux-b880018edd3a577e50366338194dee9b899947e0.tar.xz
drm/komeda: check for error-valued pointer
komeda_pipeline_get_state() may return an error-valued pointer, thus check the pointer for negative or null value before dereferencing. Fixes: 502932a03fce ("drm/komeda: Add the initial scaler support for CORE") Signed-off-by: Amjad Ouled-Ameur <amjad.ouled-ameur@arm.com> Signed-off-by: Maxime Ripard <mripard@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240610102056.40406-1-amjad.ouled-ameur@arm.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions