summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2026-06-30 16:32:23 +0300
committerZack Rusin <zack.rusin@broadcom.com>2026-11-16 20:39:53 -0500
commit1914e9ac680d04613d25e545a2733d2e4d870fe3 (patch)
tree5beec1cccf36e14a8f77fd844f82cb343231b482 /tools/perf/scripts/python
parent06f8a6708a98dff199ef7ea553b092efc38b4eab (diff)
drm/vmwgfx: Fix NULL vs error pointer bug in vmw_prime_import_sg_table()
The vmw_prime_import_sg_table() function is expected to return error pointers on error and not NULL. Otherwise it leads to a NULL dereference in the caller drm_gem_prime_import_dev(). Propagate the error code from vmw_bo_create(). Fixes: b32233acceff ("drm/vmwgfx: Fix prime import/export") Signed-off-by: Dan Carpenter <error27@gmail.com> Reviewed-by: Zack Rusin <zack.rusin@broadcom.com> Signed-off-by: Zack Rusin <zack.rusin@broadcom.com> Link: https://patch.msgid.link/akPFZ-e9usvsYgf_@stanley.mountain
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions