Skip to contentSkip to conversation

acct01: NULL terminate .needs_kconfigs

PATCH In review Avinesh Kumar 2 participants 2 messages Jan 17, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 acct01: NULL terminate .needs_kconfigs

Fixes 6fe8aa186 ("fix make check warning: using .needs_kconfigs instead

of ENOSYS")

---
 testcases/kernel/syscalls/acct/acct01.c | 1 +
 1 file changed, 1 insertion(+)
testcases/kernel/syscalls/acct/acct01.c +1 -0
index cfd25c665..781d62261 100644
@@ -149,5 +149,6 @@ static struct tst_test test = {
 	},
 	.needs_kconfigs = (const char *[]) {
 		"CONFIG_BSD_PROCESS_ACCT=y",
+		NULL,
 	}
 };
Signature · 5 lines
2.43.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
Reviewed-by Andrea Cervesato on v1 1/1
#1 lore raw

Hi!

Obviously correct. Gonna merge it.

Quoted 19 lines · Avinesh Kumar
Fixes 6fe8aa186 ("fix make check warning: using .needs_kconfigs instead

of ENOSYS")

---
  testcases/kernel/syscalls/acct/acct01.c | 1 +
  1 file changed, 1 insertion(+)
testcases/kernel/syscalls/acct/acct01.c +1 -0
index cfd25c665..781d62261 100644
@@ -149,5 +149,6 @@ static struct tst_test test = {
  	},
  	.needs_kconfigs = (const char *[]) {
  		"CONFIG_BSD_PROCESS_ACCT=y",
+		NULL,
  	}
  };
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp