From: Emil Velikov Date: Mon, 16 Jun 2025 20:48:31 +0000 (+0100) Subject: testsuite: remove struct test alignment X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffc165c44bda24891598de4d7dccbd7ddbf9f8bd;p=thirdparty%2Fkmod.git testsuite: remove struct test alignment Remove the alignment from the struct declaration. The macro instantiating it DEFINE_TEST_WITH_FUNC already has (proper) alignment. Signed-off-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/376 Signed-off-by: Lucas De Marchi --- diff --git a/testsuite/testsuite.h b/testsuite/testsuite.h index 04788e41..714af724 100644 --- a/testsuite/testsuite.h +++ b/testsuite/testsuite.h @@ -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[]);