Re: [PATCH] checkpatch: recognize FIXTURE_DATA() and FIXTURE_VARIANT() as types
From: Joe Perches
Date: Tue Nov 17 2026 - 20:37:52 EST
On Tue, 2026-11-17 at 22:05 +0000, HONG Yifan wrote:
> tools/testing/selftests/kselftest_harness.h defines FIXTURE_DATA() and
> FIXTURE_VARIANT() to expand to struct type specifiers
> ("struct _test_data_##datatype_name" and
> "struct _fixture_variant_##fixture_name").
NAK. This sort of stuff needs to be externalized.