lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20211018101713.868496-1-ran.jianping@zte.com.cn>
Date:   Mon, 18 Oct 2021 10:17:13 +0000
From:   cgel.zte@...il.com
To:     akpm@...ux-foundation.org
Cc:     shuah@...nel.org, linux-mm@...ck.org,
        linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
        Ran Jianping <ran.jianping@....com.cn>,
        Zeal Robot <zealci@....com.cn>
Subject: [PATCH]mm: remove duplicate include in hugepage-mremap.c

From: Ran Jianping <ran.jianping@....com.cn>

Remove duplicated include 'fcntl' included in
'/tools/testing/selftests/vm/hugepage-mremap.c'is duplicated.
It is also included on the 19 line.

Reported-by: Zeal Robot <zealci@....com.cn>
Signed-off-by: Ran Jianping <ran.jianping@....com.cn>
---
 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 e84b79922fe6..6fa6ac423cf1 100644
--- a/tools/testing/selftests/vm/hugepage-mremap.c
+++ b/tools/testing/selftests/vm/hugepage-mremap.c
@@ -16,7 +16,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.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ