From: David Hildenbrand <david@redhat.com>
To: Wan Jiabing <wanjiabing@vivo.com>,
Andrew Morton <akpm@linux-foundation.org>,
Shuah Khan <shuah@kernel.org>,
linux-mm@kvack.org, linux-kselftest@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: kael_w@yeah.net
Subject: Re: [PATCH] selftests: vm: Remove duplicated include in hugepage-mremap
Date: Fri, 22 Oct 2021 14:18:36 +0200 [thread overview]
Message-ID: <f6e7ae53-abd3-a286-bcd6-1d3a2d846620@redhat.com> (raw)
In-Reply-To: <20211021122944.8857-1-wanjiabing@vivo.com>
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
prev parent reply other threads:[~2021-10-22 12:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-21 12:29 Wan Jiabing
2021-10-22 12:18 ` David Hildenbrand [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f6e7ae53-abd3-a286-bcd6-1d3a2d846620@redhat.com \
--to=david@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=kael_w@yeah.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=shuah@kernel.org \
--cc=wanjiabing@vivo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox