panfrost: Fix missing ret assignment in DRM code
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
@@ -420,7 +420,7 @@ panfrost_drm_fence_finish(struct pipe_screen *pscreen,
|
||||
return false;
|
||||
}
|
||||
|
||||
drmSyncobjImportSyncFile(screen->fd, syncobj, f->fd);
|
||||
ret = drmSyncobjImportSyncFile(screen->fd, syncobj, f->fd);
|
||||
if (ret) {
|
||||
fprintf(stderr, "Failed to import fence to syncobj: %m\n");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user