kunit: declare kunit_assert structs as const
authorDaniel Latypov <dlatypov@google.com>
Sat, 1 Oct 2022 00:26:38 +0000 (17:26 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 7 Oct 2022 16:19:18 +0000 (10:19 -0600)
commitc1144e01063e67f807517a393b91fae054929dc8
tree0c77b3939672d3a1e51013bc9f1f4e50a1c2dc23
parent97d453bc4007d4ac148c2ba89904026612b91ec9
kunit: declare kunit_assert structs as const

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.

Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Reviewed-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
include/kunit/test.h