diff options
| author | 2026-08-13 10:08:09 +0300 | |
|---|---|---|
| committer | 2026-08-14 15:43:21 +0300 | |
| commit | 94579f24e2b526a04eb41050af0ba018c6f528e7 (patch) | |
| tree | 0552be68ef0acab8915e87380c16a36cc907f990 /scripts/Makefile.thinlto | |
| parent | drm/log: Fix infinite loop when scale is too large for display (diff) | |
drm/virtio: Fix a NULL vs ERR_PTR() bug in virtio_gpu_user_framebuffer_create()
Smatch complains that returning a NULL here will lead to a NULL pointer
dereference in drm_mode_addfb2(). Return an error pointer instead.
Fixes: dc5698e80cf7 ("Add virtio gpu driver.")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://patch.msgid.link/an1tWfHIHwtXd9SO@stanley.mountain
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
