Re: [PATCH -next] mm: Remove duplicated include in vma_internal.h

From: Lorenzo Stoakes
Date: Fri Aug 02 2024 - 02:33:53 EST


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@xxxxxxxxxxxxxxxxx>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9636
> Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>