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: <20210306070816.212276-1-zhang.yunkai@zte.com.cn>
Date:   Fri,  5 Mar 2021 23:08:16 -0800
From:   menglong8.dong@...il.com
To:     mingo@...hat.com
Cc:     tglx@...utronix.de, bp@...en8.de, x86@...nel.org, hpa@...or.com,
        peterz@...radead.org, luto@...nel.org,
        alexandre.chartre@...cle.com, jroedel@...e.de,
        linux-kernel@...r.kernel.org,
        Zhang Yunkai <zhang.yunkai@....com.cn>
Subject: [PATCH] x86/traps: remove duplicate include in traps.c

From: Zhang Yunkai <zhang.yunkai@....com.cn>

'proto.h' included in 'traps.c' is duplicated.

Signed-off-by: Zhang Yunkai <zhang.yunkai@....com.cn>
---
 arch/x86/kernel/traps.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c
index 7f5aec758f0e..cb9b675dc003 100644
--- a/arch/x86/kernel/traps.c
+++ b/arch/x86/kernel/traps.c
@@ -61,14 +61,13 @@
 #include <asm/insn.h>
 #include <asm/insn-eval.h>
 #include <asm/vdso.h>
+#include <asm/proto.h>
 
 #ifdef CONFIG_X86_64
 #include <asm/x86_init.h>
-#include <asm/proto.h>
 #else
 #include <asm/processor-flags.h>
 #include <asm/setup.h>
-#include <asm/proto.h>
 #endif
 
 DECLARE_BITMAP(system_vectors, NR_VECTORS);
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ