Skip to content

Commit f6274b0

Browse files
committed
Merge tag 'linux-kselftest-fixes-5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
Pull Kselftest fixes from Shuah Khan: "A fix to implicit declaration warns in drivers/dma-buf test" * tag 'linux-kselftest-fixes-5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: selftests: drivers/dma-buf: Fix implicit declaration warns
2 parents 84b3e42 + 2f96028 commit f6274b0

File tree

1 file changed

+4
-1
lines changed
  • tools/testing/selftests/drivers/dma-buf

1 file changed

+4
-1
lines changed

tools/testing/selftests/drivers/dma-buf/udmabuf.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
// SPDX-License-Identifier: GPL-2.0
2+
#define _GNU_SOURCE
3+
#define __EXPORTED_HEADERS__
4+
25
#include <stdio.h>
36
#include <stdlib.h>
47
#include <unistd.h>
58
#include <string.h>
69
#include <errno.h>
7-
#include <linux/fcntl.h>
10+
#include <fcntl.h>
811
#include <malloc.h>
912

1013
#include <sys/ioctl.h>

0 commit comments

Comments
 (0)