Commit 6456f71f authored by Eric Engestrom's avatar Eric Engestrom Committed by Marge Bot

v3d: add missing unlock() in error path

CoverityID: 1435701
Fixes: e5a81ac7 ("broadcom/vc5: Don't forget to get the BO offset when opening a dmabuf.")
Signed-off-by: Eric Engestrom's avatarEric Engestrom <>
Reviewed-by: Iago Toral's avatarIago Toral Quiroga <>
Reviewed-by: Eric Anholt's avatarEric Anholt <>
Part-of: <!5263>
parent 8c152a5e
Pipeline #160277 passed with stages
in 11 minutes and 7 seconds
......@@ -367,7 +367,8 @@ v3d_bo_open_handle(struct v3d_screen *screen,
return NULL;
bo = NULL;
goto done;
bo->offset = get.offset;
assert(bo->offset != 0);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment