kernel_samsung_a53x/drivers/gpu/drm/arm
Amjad Ouled-Ameur f77863ef05 drm/komeda: check for error-valued pointer
[ Upstream commit b880018edd3a577e50366338194dee9b899947e0 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:03 +01:00
..
display drm/komeda: check for error-valued pointer 2024-11-19 14:19:03 +01:00
hdlcd_crtc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdlcd_drv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdlcd_drv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdlcd_regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
malidp_crtc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
malidp_drv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
malidp_drv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
malidp_hw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
malidp_hw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
malidp_mw.c drm/arm/malidp: fix a possible null pointer dereference 2024-11-19 12:26:58 +01:00
malidp_mw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
malidp_planes.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
malidp_regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00