]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
testsuite: remove struct test alignment
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 16 Jun 2025 20:48:31 +0000 (21:48 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 8 Jul 2025 12:17:14 +0000 (07:17 -0500)
Remove the alignment from the struct declaration. The macro
instantiating it DEFINE_TEST_WITH_FUNC already has (proper) alignment.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/376
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
testsuite/testsuite.h

index 04788e41bf78b673afdac02dc5698a6aa8a40c60..714af72450c8b18284085898c47ff4ecfe4a5d9e 100644 (file)
@@ -99,7 +99,7 @@ struct test {
        bool expected_fail;
        /* allow to skip tests that don't meet compile-time dependencies */
        bool skip;
-} __attribute__((aligned(8)));
+};
 
 int test_init(const struct test *start, const struct test *stop, int argc,
              char *const argv[]);