* [PATCH -next] mm: Remove duplicated include in vma_internal.h
@ 2024-08-02 6:02 Yang Li
2024-08-02 6:33 ` Lorenzo Stoakes
0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2024-08-02 6:02 UTC (permalink / raw)
To: akpm, Liam.Howlett, vbabka, lorenzo.stoakes
Cc: linux-mm, linux-kernel, Yang Li, Abaci Robot
The header files linux/bug.h is included twice in vma_internal.h,
so one inclusion of each can be removed.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9636
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
mm/vma_internal.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/mm/vma_internal.h b/mm/vma_internal.h
index 14c24d5cb582..b930ab12a587 100644
--- a/mm/vma_internal.h
+++ b/mm/vma_internal.h
@@ -12,7 +12,6 @@
#include <linux/backing-dev.h>
#include <linux/bitops.h>
#include <linux/bug.h>
-#include <linux/bug.h>
#include <linux/cacheflush.h>
#include <linux/err.h>
#include <linux/file.h>
--
2.32.0.3.g01195cf9f
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH -next] mm: Remove duplicated include in vma_internal.h
2024-08-02 6:02 [PATCH -next] mm: Remove duplicated include in vma_internal.h Yang Li
@ 2024-08-02 6:33 ` Lorenzo Stoakes
0 siblings, 0 replies; 2+ messages in thread
From: Lorenzo Stoakes @ 2024-08-02 6:33 UTC (permalink / raw)
To: Yang Li; +Cc: akpm, Liam.Howlett, vbabka, linux-mm, linux-kernel, Abaci Robot
On Fri, Aug 02, 2024 at 02:02:16PM GMT, Yang Li wrote:
> The header files linux/bug.h is included twice in vma_internal.h,
> so one inclusion of each can be removed.
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9636
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
> mm/vma_internal.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/mm/vma_internal.h b/mm/vma_internal.h
> index 14c24d5cb582..b930ab12a587 100644
> --- a/mm/vma_internal.h
> +++ b/mm/vma_internal.h
> @@ -12,7 +12,6 @@
> #include <linux/backing-dev.h>
> #include <linux/bitops.h>
> #include <linux/bug.h>
> -#include <linux/bug.h>
> #include <linux/cacheflush.h>
> #include <linux/err.h>
> #include <linux/file.h>
> --
> 2.32.0.3.g01195cf9f
>
Well that's embarrassing, oops :) let's take this in the -mm tree and
pretend it never happened ;)
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-02 6:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-02 6:02 [PATCH -next] mm: Remove duplicated include in vma_internal.h Yang Li
2024-08-02 6:33 ` Lorenzo Stoakes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox