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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220727151527.8054-1-Chao.Xu9@zeekrlife.com>
Date:   Wed, 27 Jul 2022 23:15:27 +0800
From:   Chao Xu <Chao.Xu9@...krlife.com>
To:     <akpm@...ux-foundation.org>
CC:     <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
        Chao Xu <Chao.Xu9@...krlife.com>
Subject: [PATCH] mm: remove duplicate mm_types.h and unnecessary declare

mm_types.h have already in page-flags.h. Duplicated import
header file and struct page declare is not needed.

Signed-off-by: Chao Xu <Chao.Xu9@...krlife.com>
---
 include/linux/mmzone.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index aab70355d64f..4a20676c63f1 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -18,7 +18,6 @@
 #include <linux/pageblock-flags.h>
 #include <linux/page-flags-layout.h>
 #include <linux/atomic.h>
-#include <linux/mm_types.h>
 #include <linux/page-flags.h>
 #include <linux/local_lock.h>
 #include <asm/page.h>
@@ -1339,7 +1338,6 @@ struct mem_section_usage {

 void subsection_map_init(unsigned long pfn, unsigned long nr_pages);

-struct page;
 struct page_ext;
 struct mem_section {
        /*
--
2.17.1

免责声明:本邮件所包含信息发给指定个人或机构,邮件可能包含保密或专属信息。未经接收者许可,不得阅读、转发或传播邮件内容,或根据邮件内容采取任何相关行动。如果错误地收到了此邮件,请与收件人联系并自行删除邮件内容。

Disclaimer:The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error , please contact the sender and delete the material from any computer .

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ