From 6edf2e3710f4ef2555ad7a2681dbeb4a69092b2d Mon Sep 17 00:00:00 2001 From: Tom Murphy Date: Tue, 27 Nov 2018 10:33:08 +0000 Subject: 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 Reviewed-by: Gerd Hoffmann Signed-off-by: Shuah Khan --- tools/testing/selftests/drivers/dma-buf/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/testing/selftests/drivers/dma-buf/Makefile') 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 -- cgit v1.2.3-59-g8ed1b