Re: [PATCH 4/4] kunit: declare kunit_assert structs as const
From: Miguel Ojeda
Date: Sat Oct 01 2022 - 06:06:28 EST
On Sat, Oct 1, 2022 at 2:26 AM Daniel Latypov <dlatypov@xxxxxxxxxx> wrote:
>
> Everywhere we use the assert structs now takes them via const*, as of
> commit 7466886b400b ("kunit: take `kunit_assert` as `const`").
>
> So now let's properly declare the structs as const as well.
Always good to be `const`-correct :)
Reviewed-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
Cheers,
Miguel