]> www.infradead.org Git - users/hch/dma-mapping.git/commitdiff
ipe: Add missing terminator to list of unit tests
authorGuenter Roeck <linux@roeck-us.net>
Sun, 22 Sep 2024 14:52:26 +0000 (07:52 -0700)
committerPaul Moore <paul@paul-moore.com>
Mon, 23 Sep 2024 19:53:37 +0000 (15:53 -0400)
Add missing terminator to list of unit tests to avoid random crashes seen
when running the test.

Fixes: 10ca05a76065 ("ipe: kunit test for parser")
Cc: Deven Bowers <deven.desai@linux.microsoft.com>
Cc: Paul Moore <paul@paul-moore.com>
Cc: Fan Wu <wufan@linux.microsoft.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Fan Wu <wufan@linux.microsoft.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/ipe/policy_tests.c

index 89521f6b99945ef74e99540f640f94661004d77d..5f1654deeb04451cc30a2844357594d9adb5900c 100644 (file)
@@ -286,6 +286,7 @@ static void ipe_parser_widestring_test(struct kunit *test)
 static struct kunit_case ipe_parser_test_cases[] = {
        KUNIT_CASE_PARAM(ipe_parser_unsigned_test, ipe_policies_gen_params),
        KUNIT_CASE(ipe_parser_widestring_test),
+       { }
 };
 
 static struct kunit_suite ipe_parser_test_suite = {