aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c')
-rw-r--r--tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c b/tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
index cd5e1f602ac9..909da9cdda97 100644
--- a/tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
+++ b/tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
@@ -351,6 +351,7 @@ static int test_alloc_errors(char *heap_name)
}
printf("Expected error checking passed\n");
+ ret = 0;
out:
if (dmabuf_fd >= 0)
close(dmabuf_fd);