[LTP] [PATCH] acct01: NULL terminate .needs_kconfigs

Andrea Cervesato andrea.cervesato@suse.com
Fri Jan 17 11:04:40 CET 2025


Hi!

Obviously correct. Gonna merge it.

Reviewed-by: Andrea Cervesato <andrea.cervesato@suse.com>

On 1/17/25 10:53, Avinesh Kumar wrote:
> Fixes: 6fe8aa186 ("fix make check warning: using .needs_kconfigs instead
> of ENOSYS")
>
> Signed-off-by: Avinesh Kumar <akumar@suse.de>
> ---
>   testcases/kernel/syscalls/acct/acct01.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/testcases/kernel/syscalls/acct/acct01.c b/testcases/kernel/syscalls/acct/acct01.c
> index cfd25c665..781d62261 100644
> --- a/testcases/kernel/syscalls/acct/acct01.c
> +++ b/testcases/kernel/syscalls/acct/acct01.c
> @@ -149,5 +149,6 @@ static struct tst_test test = {
>   	},
>   	.needs_kconfigs = (const char *[]) {
>   		"CONFIG_BSD_PROCESS_ACCT=y",
> +		NULL,
>   	}
>   };


More information about the ltp mailing list