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]
Date:   Fri, 14 May 2021 17:14:31 +0800
From:   Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To:     will@...nel.org
Cc:     aneesh.kumar@...ux.ibm.com, akpm@...ux-foundation.org,
        npiggin@...il.com, peterz@...radead.org,
        linux-arch@...r.kernel.org, linux-mm@...ck.org,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Subject: [PATCH] asm-generic/tlb: Fix duplicate included asm-generic/tlb.h

Clean up the following includecheck warning:

./arch/arm/include/asm/tlb.h: asm-generic/tlb.h is included more than
once.

No functional change.

Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
---
 arch/arm/include/asm/tlb.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/arch/arm/include/asm/tlb.h b/arch/arm/include/asm/tlb.h
index b8cbe03..df4a6ea 100644
--- a/arch/arm/include/asm/tlb.h
+++ b/arch/arm/include/asm/tlb.h
@@ -15,6 +15,7 @@
 #define __ASMARM_TLB_H
 
 #include <asm/cacheflush.h>
+#include <asm-generic/tlb.h>
 
 #ifndef CONFIG_MMU
 
@@ -22,8 +23,6 @@
 
 #define tlb_flush(tlb)	((void) tlb)
 
-#include <asm-generic/tlb.h>
-
 #else /* !CONFIG_MMU */
 
 #include <linux/swap.h>
@@ -34,8 +33,6 @@ static inline void __tlb_remove_table(void *_table)
 	free_page_and_swap_cache((struct page *)_table);
 }
 
-#include <asm-generic/tlb.h>
-
 static inline void
 __pte_free_tlb(struct mmu_gather *tlb, pgtable_t pte, unsigned long addr)
 {
-- 
1.8.3.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ