selftests/harness: Constify fixture variants
authorMickaël Salaün <mic@digikod.net>
Sat, 11 May 2024 17:14:41 +0000 (19:14 +0200)
committerMickaël Salaün <mic@digikod.net>
Sat, 11 May 2024 17:18:45 +0000 (19:18 +0200)
commitcc80aa9a22c00a5e23ea9b4933f9d3ec8f686cb2
treedbcf1f0581f6b382981fa11259182201ef40689d
parent3656bc23429a4d539c81b5cb8f17ceeeeca8901a
selftests/harness: Constify fixture variants

FIXTURE_VARIANT_ADD() types are passed as const pointers to
FIXTURE_TEARDOWN().  Make that explicit by constifying the variants
declarations.

Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: Will Drewry <wad@chromium.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20240511171445.904356-7-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
tools/testing/selftests/kselftest_harness.h