* [PATCH] selftests: vm: Remove duplicated include in hugepage-mremap
@ 2021-10-21 12:29 Wan Jiabing
2021-10-22 12:18 ` David Hildenbrand
0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-10-21 12:29 UTC (permalink / raw)
To: Andrew Morton, Shuah Khan, linux-mm, linux-kselftest, linux-kernel
Cc: kael_w, Wan Jiabing
Fix following checkinclude.pl warning:
./tools/testing/selftests/vm/hugepage-mremap.c: fcntl.h is included
more than once.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
tools/testing/selftests/vm/hugepage-mremap.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/vm/hugepage-mremap.c b/tools/testing/selftests/vm/hugepage-mremap.c
index 8bc117b12f78..257df94697a5 100644
--- a/tools/testing/selftests/vm/hugepage-mremap.c
+++ b/tools/testing/selftests/vm/hugepage-mremap.c
@@ -12,7 +12,6 @@
#include <stdio.h>
#include <unistd.h>
#include <sys/mman.h>
-#include <fcntl.h>
#include <errno.h>
#include <fcntl.h> /* Definition of O_* constants */
#include <sys/syscall.h> /* Definition of SYS_* constants */
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] selftests: vm: Remove duplicated include in hugepage-mremap
2021-10-21 12:29 [PATCH] selftests: vm: Remove duplicated include in hugepage-mremap Wan Jiabing
@ 2021-10-22 12:18 ` David Hildenbrand
0 siblings, 0 replies; 2+ messages in thread
From: David Hildenbrand @ 2021-10-22 12:18 UTC (permalink / raw)
To: Wan Jiabing, Andrew Morton, Shuah Khan, linux-mm,
linux-kselftest, linux-kernel
Cc: kael_w
On 21.10.21 14:29, Wan Jiabing wrote:
> Fix following checkinclude.pl warning:
> ./tools/testing/selftests/vm/hugepage-mremap.c: fcntl.h is included
> more than once.
>
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
> ---
> tools/testing/selftests/vm/hugepage-mremap.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/testing/selftests/vm/hugepage-mremap.c b/tools/testing/selftests/vm/hugepage-mremap.c
> index 8bc117b12f78..257df94697a5 100644
> --- a/tools/testing/selftests/vm/hugepage-mremap.c
> +++ b/tools/testing/selftests/vm/hugepage-mremap.c
> @@ -12,7 +12,6 @@
> #include <stdio.h>
> #include <unistd.h>
> #include <sys/mman.h>
> -#include <fcntl.h>
> #include <errno.h>
> #include <fcntl.h> /* Definition of O_* constants */
> #include <sys/syscall.h> /* Definition of SYS_* constants */
>
Reviewed-by: David Hildenbrand <david@redhat.com>
--
Thanks,
David / dhildenb
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-22 12:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-21 12:29 [PATCH] selftests: vm: Remove duplicated include in hugepage-mremap Wan Jiabing
2021-10-22 12:18 ` David Hildenbrand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).