[GIT PULL] Kselftest fixes update for Linux 5.15-rc5

From: Shuah Khan
Date: Mon Oct 04 2021 - 17:15:17 EST


Hi Linus,

Please pull the following Kselftest fixes update for Linux 5.15-rc5.

This Kselftest fixes update for Linux 5.15-rc5 consists of a fix
to implicit declaration warns in drivers/dma-buf test.

I have been seeing this for a while and managed to fix it.

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit f5013d412a43662b63f3d5f3a804d63213acd471:

selftests: kvm: fix get_run_delay() ignoring fscanf() return warn (2021-09-16 12:57:32 -0600)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-fixes-5.15-rc5

for you to fetch changes up to 2f9602870886af74d97bac23ee6db5f5466d0a49:

selftests: drivers/dma-buf: Fix implicit declaration warns (2021-09-27 09:52:29 -0600)

----------------------------------------------------------------
linux-kselftest-fixes-5.15-rc5

This Kselftest fixes update for Linux 5.15-rc5 consists of a fix
to implicit declaration warns in drivers/dma-buf test.

----------------------------------------------------------------
Shuah Khan (1):
selftests: drivers/dma-buf: Fix implicit declaration warns

tools/testing/selftests/drivers/dma-buf/udmabuf.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------
diff --git a/tools/testing/selftests/drivers/dma-buf/udmabuf.c b/tools/testing/selftests/drivers/dma-buf/udmabuf.c
index 4de902ea14d8..de1c4e6de0b2 100644
--- a/tools/testing/selftests/drivers/dma-buf/udmabuf.c
+++ b/tools/testing/selftests/drivers/dma-buf/udmabuf.c
@@ -1,10 +1,13 @@
// SPDX-License-Identifier: GPL-2.0
+#define _GNU_SOURCE
+#define __EXPORTED_HEADERS__
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
-#include <linux/fcntl.h>
+#include <fcntl.h>
#include <malloc.h>

#include <sys/ioctl.h>