aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/dma-buf/Makefile
diff options
context:
space:
mode:
authorTom Murphy <murphyt7@tcd.ie>2018-11-27 10:33:08 +0000
committerShuah Khan <shuah@kernel.org>2018-12-13 13:03:48 -0700
commit6edf2e3710f4ef2555ad7a2681dbeb4a69092b2d (patch)
tree96eac782a9db36726b4a9451c532b5546f7a71c6 /tools/testing/selftests/drivers/dma-buf/Makefile
parentselftests: watchdog: fix spelling mistake "experies" -> "expires" (diff)
downloadlinux-dev-6edf2e3710f4ef2555ad7a2681dbeb4a69092b2d.tar.xz
linux-dev-6edf2e3710f4ef2555ad7a2681dbeb4a69092b2d.zip
fix dma-buf/udmabuf selftest
This patch fixes the udmabuf selftest. Currently the selftest is broken. I fixed the selftest by setting the F_SEAL_SHRINK seal on the memfd file descriptor which is required by udmabuf and added the test to the selftest Makefile. Signed-off-by: Tom Murphy <murphyt7@tcd.ie> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Shuah Khan <shuah@kernel.org>
Diffstat (limited to '')
-rw-r--r--tools/testing/selftests/drivers/dma-buf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/drivers/dma-buf/Makefile b/tools/testing/selftests/drivers/dma-buf/Makefile
index 4154c3d7aa58..f22c3f7cf612 100644
--- a/tools/testing/selftests/drivers/dma-buf/Makefile
+++ b/tools/testing/selftests/drivers/dma-buf/Makefile
@@ -2,4 +2,6 @@ CFLAGS += -I../../../../../usr/include/
TEST_GEN_PROGS := udmabuf
+top_srcdir ?=../../../../..
+
include ../../lib.mk