Skip to content
Commit 3b1cf943 authored by Amjad Ouled-Ameur's avatar Amjad Ouled-Ameur Committed by Greg Kroah-Hartman
Browse files

drm/komeda: check for error-valued pointer



[ Upstream commit b880018e ]

komeda_pipeline_get_state() may return an error-valued pointer, thus
check the pointer for negative or null value before dereferencing.

Fixes: 502932a0 ("drm/komeda: Add the initial scaler support for CORE")
Signed-off-by: default avatarAmjad Ouled-Ameur <amjad.ouled-ameur@arm.com>
Signed-off-by: default avatarMaxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240610102056.40406-1-amjad.ouled-ameur@arm.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f1ab15a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment