On Sat, Oct 1, 2022 at 3:12 AM Miguel Ojeda miguel.ojeda.sandonis@gmail.com wrote:
On Sat, Oct 1, 2022 at 2:26 AM Daniel Latypov dlatypov@google.com wrote:
But we can work around this with the following generic macro #define KUNIT_INIT_ASSERT(initializers...) { initializers }
Is it intended to be internal, right? Should be prefixed by `_` then?
Yeah, 100% internal.
We don't have such a convention in KUnit yet, see the discussion in https://lore.kernel.org/linux-kselftest/CABVgOSmcheQvBRKqc-0ftmbthx=EReoQ-91... I'd be personally fine with _s, but this patch just tried to keep things consistent with what was there before.
Daniel