linux/drivers/gpu
Gong Yuanjun a2b28708b6 drm/radeon: fix a possible null pointer dereference
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>
2022-05-26 14:56:31 -04:00
..
drm drm/radeon: fix a possible null pointer dereference 2022-05-26 14:56:31 -04:00
host1x gpu: host1x: Show all allocated syncpts via debugfs 2022-04-06 15:33:57 +02:00
ipu-v3 drm/imx: various cleanups 2022-05-06 15:07:39 +10:00
trace
vga PCI/VGA: Move vgaarb to drivers/pci 2022-03-09 18:30:46 -06:00
Makefile