summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2026-08-13 10:08:09 +0300
committerDmitry Osipenko <dmitry.osipenko@collabora.com>2026-08-14 15:43:21 +0300
commit94579f24e2b526a04eb41050af0ba018c6f528e7 (patch)
tree0552be68ef0acab8915e87380c16a36cc907f990 /tools/lib/python
parentf4f2bba28df9b9aaa00262a462139dbbcdc38d9f (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 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions