[LTP] [PATCH 2/2] LTP-005: Switch opts terminator to {}
Richard Palethorpe
rpalethorpe@suse.com
Mon Mar 14 14:06:30 CET 2022
Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
---
.../kernel/security/integrity/ima/src/ima_boot_aggregate.c | 2 +-
testcases/network/nfs/nfs_stress/nfs05_make_tree.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/testcases/kernel/security/integrity/ima/src/ima_boot_aggregate.c b/testcases/kernel/security/integrity/ima/src/ima_boot_aggregate.c
index 05c20e5ae..62468e0d1 100644
--- a/testcases/kernel/security/integrity/ima/src/ima_boot_aggregate.c
+++ b/testcases/kernel/security/integrity/ima/src/ima_boot_aggregate.c
@@ -125,7 +125,7 @@ static void do_test(void)
static struct tst_option options[] = {
{"d", &debug, "Enable debug"},
{"f:", &file, "binary_bios_measurement file (required)\n"},
- {NULL, NULL, NULL}
+ {}
};
static struct tst_test test = {
diff --git a/testcases/network/nfs/nfs_stress/nfs05_make_tree.c b/testcases/network/nfs/nfs_stress/nfs05_make_tree.c
index add55e156..fdc13bd5d 100644
--- a/testcases/network/nfs/nfs_stress/nfs05_make_tree.c
+++ b/testcases/network/nfs/nfs_stress/nfs05_make_tree.c
@@ -63,7 +63,7 @@ static struct tst_option opts[] = {
{"t:", &t_arg, "Number of threads to generate, default: 8"},
{"d:", &d_arg, "Number of subdirs to generate, default: 100"},
{"f:", &f_arg, "Number of c files in each dir, default: 100"},
- {NULL, NULL, NULL}
+ {}
};
static void run_targets(const char *dirname, char *cfile, pid_t tid)
--
2.35.1
More information about the ltp
mailing list