]> 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)
commita2e449ce5652735b499ff60b7107f419acf8156a
tree0c77b3939672d3a1e51013bc9f1f4e50a1c2dc23
parentf7fd0a6543e25352de870a48ff38f063fc489a72
kunit: declare kunit_assert structs as const

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