linux/drivers/gpu
Ethan Tidmore 46120745bb drm/tiny: sharp-memory: fix pointer error dereference
The function devm_drm_dev_alloc() returns a pointer error upon failure
not NULL. Change null check to pointer error check.

Detected by Smatch:
drivers/gpu/drm/tiny/sharp-memory.c:549 sharp_memory_probe() error:
'smd' dereferencing possible ERR_PTR()

Fixes: b8f9f21716 ("drm/tiny: Add driver for Sharp Memory LCD")
Signed-off-by: Ethan Tidmore <ethantidmore06@gmail.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20260216040438.43702-1-ethantidmore06@gmail.com
2026-02-17 10:04:28 +01:00
..
drm drm/tiny: sharp-memory: fix pointer error dereference 2026-02-17 10:04:28 +01:00
host1x gpu: host1x: Syncpoint interrupt performance optimization 2025-11-14 18:27:19 +01:00
ipu-v3
nova-core gpu: nova-core: gsp: replace firmware version with "bindings" alias 2025-12-16 22:04:25 +09:00
trace
vga
Makefile