public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crash_dump: remove duplicate include in crash_dump.h
@ 2021-03-13 10:35 menglong8.dong
  2021-03-19 12:38 ` Baoquan He
  0 siblings, 1 reply; 4+ messages in thread
From: menglong8.dong @ 2021-03-13 10:35 UTC (permalink / raw)
  To: dyoung; +Cc: bhe, vgoyal, kexec, linux-kernel, Zhang Yunkai

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

'linux/pgtable.h' included in 'crash_dump.h' is duplicated.
It is also included in the 8th line.

Signed-off-by: Zhang Yunkai <zhang.yunkai@zte.com.cn>
---
 include/linux/crash_dump.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/crash_dump.h b/include/linux/crash_dump.h
index a5192b718dbe..6bd8a33cb740 100644
--- a/include/linux/crash_dump.h
+++ b/include/linux/crash_dump.h
@@ -8,8 +8,6 @@
 #include <linux/pgtable.h>
 #include <uapi/linux/vmcore.h>
 
-#include <linux/pgtable.h> /* for pgprot_t */
-
 #ifdef CONFIG_CRASH_DUMP
 #define ELFCORE_ADDR_MAX	(-1ULL)
 #define ELFCORE_ADDR_ERR	(-2ULL)
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [PATCH] crash_dump: remove duplicate include in crash_dump.h
@ 2021-10-20  1:23 cgel.zte
  2021-10-20  1:53 ` Baoquan He
  0 siblings, 1 reply; 4+ messages in thread
From: cgel.zte @ 2021-10-20  1:23 UTC (permalink / raw)
  To: dyoung; +Cc: bhe, vgoyal, kexec, linux-kernel, Ye Guojin, Zeal Robot

From: Ye Guojin <ye.guojin@zte.com.cn>

'linux/pgtable.h' included in 'crash_dump.h' is duplicated.
it's also included at line 8.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Ye Guojin <ye.guojin@zte.com.cn>
---
 include/linux/crash_dump.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/crash_dump.h b/include/linux/crash_dump.h
index 0c547d866f1e..b7b255b23b99 100644
--- a/include/linux/crash_dump.h
+++ b/include/linux/crash_dump.h
@@ -8,8 +8,6 @@
 #include <linux/pgtable.h>
 #include <uapi/linux/vmcore.h>
 
-#include <linux/pgtable.h> /* for pgprot_t */
-
 /* For IS_ENABLED(CONFIG_CRASH_DUMP) */
 #define ELFCORE_ADDR_MAX	(-1ULL)
 #define ELFCORE_ADDR_ERR	(-2ULL)
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-20  1:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-13 10:35 [PATCH] crash_dump: remove duplicate include in crash_dump.h menglong8.dong
2021-03-19 12:38 ` Baoquan He
  -- strict thread matches above, loose matches on Subject: below --
2021-10-20  1:23 cgel.zte
2021-10-20  1:53 ` Baoquan He

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox