summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-11-13 16:01:31 +0000
committerMark Brown <broonie@kernel.org>2026-11-13 16:01:31 +0000
commit67f4c1938ac9221d75c78eaa44ca032d330a131b (patch)
treea7cb5a16f7ded61158a41999646d6349713dbf7e /tools
parent504355ccb727295e5c77f351cf399d7c36e886e1 (diff)
parentc88084027d0e922dd925b96e5a0d184ba04a8f43 (diff)
downloadlinux-next-67f4c1938ac9221d75c78eaa44ca032d330a131b.tar.gz
linux-next-67f4c1938ac9221d75c78eaa44ca032d330a131b.zip
Merge branch 'for-linux-next' of https://gitlab.freedesktop.org/drm/misc/kernel.git
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c b/tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
index 1d49df671919..36bfcb66af63 100644
--- a/tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
+++ b/tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
@@ -48,7 +48,7 @@ static int open_vgem(void)
snprintf(name, 80, "%s%u", drmstr, i);
- fd = open(name, O_RDWR);
+ fd = open(name, O_RDONLY);
if (fd < 0)
continue;
@@ -96,7 +96,7 @@ static int dmabuf_heap_open(char *name)
if (ret < 0)
ksft_exit_fail_msg("snprintf failed! %d\n", ret);
- fd = open(buf, O_RDWR);
+ fd = open(buf, O_RDONLY);
if (fd < 0)
ksft_exit_fail_msg("open %s failed: %s\n", buf, strerror(errno));