mm/vma_internal.h | 1 - 1 file changed, 1 deletion(-)
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
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>
© 2016 - 2026 Red Hat, Inc.