All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mm: hugetlb: Remove duplicate include
@ 2022-09-09  9:15 Yihao Han
  2022-09-24 11:59 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Yihao Han @ 2022-09-09  9:15 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rafael J. Wysocki, linux-kernel; +Cc: Yihao Han

Fix following checkinclude.pl warning:
 ./drivers/base/node.c: linux/hugetlb.h is included more than once.

Signed-off-by: Yihao Han <hanyihao@vivo.com>
---
 drivers/base/node.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/base/node.c b/drivers/base/node.c
index 80b1e91b9608..cf115d5a9b8a 100644
--- a/drivers/base/node.c
+++ b/drivers/base/node.c
@@ -20,7 +20,6 @@
 #include <linux/pm_runtime.h>
 #include <linux/swap.h>
 #include <linux/slab.h>
-#include <linux/hugetlb.h>
 
 static struct bus_type node_subsys = {
 	.name = "node",
-- 
2.17.1


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

* Re: [PATCH] mm: hugetlb: Remove duplicate include
  2022-09-09  9:15 [PATCH] mm: hugetlb: Remove duplicate include Yihao Han
@ 2022-09-24 11:59 ` Greg Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2022-09-24 11:59 UTC (permalink / raw)
  To: Yihao Han; +Cc: Rafael J. Wysocki, linux-kernel

On Fri, Sep 09, 2022 at 02:15:03AM -0700, Yihao Han wrote:
> Fix following checkinclude.pl warning:
>  ./drivers/base/node.c: linux/hugetlb.h is included more than once.
> 
> Signed-off-by: Yihao Han <hanyihao@vivo.com>
> ---
>  drivers/base/node.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/base/node.c b/drivers/base/node.c
> index 80b1e91b9608..cf115d5a9b8a 100644
> --- a/drivers/base/node.c
> +++ b/drivers/base/node.c
> @@ -20,7 +20,6 @@
>  #include <linux/pm_runtime.h>
>  #include <linux/swap.h>
>  #include <linux/slab.h>
> -#include <linux/hugetlb.h>
>  
>  static struct bus_type node_subsys = {
>  	.name = "node",
> -- 
> 2.17.1
> 

Yous subject line is not correct, please be more careful.

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

end of thread, other threads:[~2022-09-24 11:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-09  9:15 [PATCH] mm: hugetlb: Remove duplicate include Yihao Han
2022-09-24 11:59 ` Greg Kroah-Hartman

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.