diff options
author | Dan Carpenter <[email protected]> | 2021-12-01 20:48:31 -0800 |
---|---|---|
committer | John Harrison <[email protected]> | 2021-12-03 11:47:29 -0800 |
commit | 8722ded49ce8a0c706b373e8087eb810684962ff (patch) | |
tree | 93fa917f752e2d4c0c89178474ae3cf8bdae8cf8 /scripts/gdb/linux/tasks.py | |
parent | 67b858dd89932086ae0ee2d0ce4dd070a2c88bb3 (diff) |
drm/i915: Fix error pointer dereference in i915_gem_do_execbuffer()
Originally "out_fence" was set using out_fence = sync_file_create() but
which returns NULL, but now it is set with out_fence = eb_requests_create()
which returns error pointers. The error path needs to be modified to
avoid an Oops in the "goto err_request;" path.
Fixes: 544460c33821 ("drm/i915: Multi-BB execbuf")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Matthew Brost <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Signed-off-by: John Harrison <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions