[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2f864600-76ca-6d05-64d4-990fd915c509@linuxfoundation.org>
Date: Tue, 24 Aug 2021 08:40:09 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: cgel.zte@...il.com, chris.hyser@...cle.com
Cc: shuah@...nel.org, yong.yiran@....com.cn,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
Zeal Robot <zealci@....com.cn>,
Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH linux-next] kselftest: remove duplicate include in
cs_prctl_test.c
On 8/5/21 12:19 AM, cgel.zte@...il.com wrote:
> From: yong yiran <yong.yiran@....com.cn>
>
> 'sys/types.h' included in 'cs_prctl_test.c' is duplicated.
> Remove all but the first include of sys/types.h from cs_prctl_test.c.
>
> 'sys/wait.h' include in 'cs_prctl_test.c' is duplicated.
> Remove all but the first include of sys/wait.h from cs_prctl_test.c.
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: yong yiran <yong.yiran@....com.cn>
> ---
> tools/testing/selftests/sched/cs_prctl_test.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/tools/testing/selftests/sched/cs_prctl_test.c b/tools/testing/selftests/sched/cs_prctl_test.c
> index 63fe6521c56d..7db9cf822dc7 100644
> --- a/tools/testing/selftests/sched/cs_prctl_test.c
> +++ b/tools/testing/selftests/sched/cs_prctl_test.c
> @@ -25,8 +25,6 @@
> #include <sys/types.h>
> #include <sched.h>
> #include <sys/prctl.h>
> -#include <sys/types.h>
> -#include <sys/wait.h>
> #include <unistd.h>
> #include <time.h>
> #include <stdio.h>
>
We can't accept this patch. The from and Signed-off-by don't match.
thanks,
-- Shuah
Powered by blists - more mailing lists