aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorMiguel Ojeda <[email protected]>2022-05-02 11:36:25 +0200
committerShuah Khan <[email protected]>2022-05-16 13:23:00 -0600
commit7466886b400b1904ce30fa311904849e314a2cf4 (patch)
tree8507f2f6ad0365f187344d491e6e5417857944ac /net/lapb/lapb_timer.c
parent0453f984a7b9458f0e469afb039f2841308b1bef (diff)
kunit: take `kunit_assert` as `const`
The `kunit_do_failed_assertion` function passes its `struct kunit_assert` argument to `kunit_fail`. This one, in turn, calls its `format` field passing the assert again as a `const` pointer. Therefore, the whole chain may be made `const`. Signed-off-by: Miguel Ojeda <[email protected]> Reviewed-by: Daniel Latypov <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions