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

Avinesh Kumar akumar@suse.de
Fri Jan 17 10:53:41 CET 2025


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,
 	}
 };
-- 
2.43.0



More information about the ltp mailing list