android_kernel_motorola_sm6375/drivers/gpu
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Gong Yuanjun 28fd384c78 drm/radeon: fix a possible null pointer dereference
[ Upstream commit a2b28708b645c5632dc93669ab06e97874c8244f ]

In radeon_fp_native_mode(), the return value of drm_mode_duplicate()
is assigned to mode, which will lead to a NULL pointer dereference
on failure of drm_mode_duplicate(). Add a check to avoid npd.

The failure status of drm_cvt_mode() on the other path is checked too.

Signed-off-by: Gong Yuanjun <ruc_gongyuanjun@163.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:12:01 +02:00
..
drm drm/radeon: fix a possible null pointer dereference 2022-06-14 18:12:01 +02:00
host1x
ipu-v3 gpu: ipu-v3: Fix dev_dbg frequency output 2022-04-20 09:19:37 +02:00
vga
Makefile