[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260211.Sahriegigei2@digikod.net>
Date: Wed, 11 Feb 2026 12:16:02 +0100
From: Mickaël Salaün <mic@...ikod.net>
To: Chen Ni <nichen@...as.ac.cn>
Cc: gnoack@...gle.com, shuah@...nel.org,
linux-security-module@...r.kernel.org, linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] selftests/landlock: Remove duplicate include of stdio.h
On Wed, Feb 11, 2026 at 02:21:22PM +0800, Chen Ni wrote:
> Remove duplicate inclusion of stdio.h in fs_bench.c to clean up
> redundant code.
Thanks! I also detected this issue while running `sort -u` on the
includes, so this is already taken into account in my next branch (with
other small fixes).
>
> Signed-off-by: Chen Ni <nichen@...as.ac.cn>
> ---
> tools/testing/selftests/landlock/fs_bench.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/testing/selftests/landlock/fs_bench.c b/tools/testing/selftests/landlock/fs_bench.c
> index 733c1264e5fd..551cb615ad93 100644
> --- a/tools/testing/selftests/landlock/fs_bench.c
> +++ b/tools/testing/selftests/landlock/fs_bench.c
> @@ -26,7 +26,6 @@
> #include <linux/prctl.h>
> #include <stdbool.h>
> #include <stdio.h>
> -#include <stdio.h>
> #include <errno.h>
> #include <stdlib.h>
> #include <string.h>
> --
> 2.25.1
>
>
Powered by blists - more mailing lists