syscalls/acct02: Decleare kconfigs inline
PATCH 1/1 syscalls/acct02: Decleare kconfigs inline
So that it's picked up correctly by the docparser.
Signed-off-by Cyril Hrubis <[email protected]>
--- testcases/kernel/syscalls/acct/acct02.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-)
testcases/kernel/syscalls/acct/acct02.c +4 -6
@@ -254,14 +254,12 @@ static void cleanup(void)acct (NULL ); } -static const char *kconfigs[] = { -"CONFIG_BSD_PROCESS_ACCT" , -NULL -}; -static struct tst_test test = { .test_all = run, - .needs_kconfigs = kconfigs, + .needs_kconfigs = (const char *[]) { +"CONFIG_BSD_PROCESS_ACCT" , +NULL + }, .setup = setup, .cleanup = cleanup, .needs_tmpdir =1 ,
Signature · 1 line
2.26.2