]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit292af99f2b09a21df01289fd71c22fcfdbed195c
tree0c77b3939672d3a1e51013bc9f1f4e50a1c2dc23
parent1feca7cd129ec4307159cdeee55f1d5fa3f2b3ef
kunit: declare kunit_assert structs as const

Everywhere we use the assert structs now takes them via const*, as of
commit 18f567b24ada ("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