[Linux-kernel-mentees] [PATCH v2 1/2] kunit: Support for Parameterized Testing

Marco Elver elver at google.com
Fri Oct 23 18:56:20 UTC 2020


On Fri, 23 Oct 2020 at 20:48, Marco Elver <elver at google.com> wrote:
[...]
> > + */
> > +static inline void *kunit_param_generator_helper(struct kunit *test,
>
> I don't think this needs to be inline, but see my other suggestion
> below, which might make this function obsolete.

Ah sorry, it's in a header so we might get complaints if it's not
inline. But in any case, if you use the KUNIT_ARRAY_PARAM() macro I
proposed, this function will become obsolete.

Thanks,
-- Marco


More information about the Linux-kernel-mentees mailing list