All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crash_dump: Remove the unused include statements
@ 2020-09-10  8:49 Tian Tao
  2020-09-10 19:35 ` Bhupesh Sharma
  2020-09-11  1:40 ` Baoquan He
  0 siblings, 2 replies; 3+ messages in thread
From: Tian Tao @ 2020-09-10  8:49 UTC (permalink / raw)
  To: dyoung, bhe, vgoyal, kexec; +Cc: linuxarm

linux/pgtable.h is included more than once, Remove the one that isn't
necessary.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
---
 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 a5192b7..6bd8a33 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.7.4


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

* Re: [PATCH] crash_dump: Remove the unused include statements
  2020-09-10  8:49 [PATCH] crash_dump: Remove the unused include statements Tian Tao
@ 2020-09-10 19:35 ` Bhupesh Sharma
  2020-09-11  1:40 ` Baoquan He
  1 sibling, 0 replies; 3+ messages in thread
From: Bhupesh Sharma @ 2020-09-10 19:35 UTC (permalink / raw)
  To: Tian Tao
  Cc: kexec mailing list, RuiRui Yang, Vivek Goyal, Baoquan He, linuxarm

Hi Tian,

On Thu, Sep 10, 2020 at 2:22 PM Tian Tao <tiantao6@hisilicon.com> wrote:
>
> linux/pgtable.h is included more than once, Remove the one that isn't
> necessary.
>
> Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
> ---
>  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 a5192b7..6bd8a33 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)
> --

LGTM, so:
Reviewed-by: Bhupesh Sharma <bhsharma@redhat.com>

Thanks.


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

* Re: [PATCH] crash_dump: Remove the unused include statements
  2020-09-10  8:49 [PATCH] crash_dump: Remove the unused include statements Tian Tao
  2020-09-10 19:35 ` Bhupesh Sharma
@ 2020-09-11  1:40 ` Baoquan He
  1 sibling, 0 replies; 3+ messages in thread
From: Baoquan He @ 2020-09-11  1:40 UTC (permalink / raw)
  To: Tian Tao; +Cc: kexec, akpm, dyoung, linuxarm, vgoyal

On 09/10/20 at 04:49pm, Tian Tao wrote:
> linux/pgtable.h is included more than once, Remove the one that isn't
> necessary.
> 
> Signed-off-by: Tian Tao <tiantao6@hisilicon.com>

Acked-by: Baoquan He <bhe@redhat.com>

> ---
>  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 a5192b7..6bd8a33 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.7.4
> 


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

end of thread, other threads:[~2020-09-11  1:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10  8:49 [PATCH] crash_dump: Remove the unused include statements Tian Tao
2020-09-10 19:35 ` Bhupesh Sharma
2020-09-11  1:40 ` Baoquan He

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.