Re: [PATCH -next] kernel/fork: Remove duplicated include in kernel/fork.c

From: Marco Elver
Date: Thu Feb 17 2022 - 03:34:25 EST


On Thu, 17 Feb 2022 at 01:42, Yang Li <yang.lee@xxxxxxxxxxxxxxxxx> wrote:
>
> Fix following includecheck warning:
> ./kernel/fork.c: linux/sched/mm.h is included more than once.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>

This looks like a reasonable fix -- but why is this "To" me? At the
very least you'd have to get the email of the original author that
added that line and perhaps the committer. Cc'd the right people.

Looks like another robot sent the exact same fix:
https://lore.kernel.org/all/20220217015348.1900270-1-deng.changcheng@xxxxxxxxxx/

Too many robots sending the same things will be interesting...

> ---
> kernel/fork.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/kernel/fork.c b/kernel/fork.c
> index 64dbfb9426fd..2bfc74c2d2e3 100644
> --- a/kernel/fork.c
> +++ b/kernel/fork.c
> @@ -97,7 +97,6 @@
> #include <linux/scs.h>
> #include <linux/io_uring.h>
> #include <linux/bpf.h>
> -#include <linux/sched/mm.h>
>
> #include <asm/pgalloc.h>
> #include <linux/uaccess.h>
> --
> 2.20.1.7.g153144c
>