diff options
| author | Piotr Zalewski <[email protected]> | 2024-08-19 17:58:34 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2024-08-21 06:48:48 +0000 |
| commit | 99338cc1e47187c3efdd39cda2a31500d0f2305d (patch) | |
| tree | 6ada7f36b5b29864b5ded10315aa958c1b128310 /lib/crypto/mpi/mpi-mul.c | |
| parent | selftests/ftrace: Add required dependency for kprobe tests (diff) | |
| download | kernel-99338cc1e47187c3efdd39cda2a31500d0f2305d.tar.gz kernel-99338cc1e47187c3efdd39cda2a31500d0f2305d.zip | |
kselftest: timers: Fix const correctness
Make timespec pointers, pointers to const in checklist function. As a
consequence, make list parameter in checklist function pointer to const
as well. Const-correctness increases readability.
Improvement was found by running cppcheck tool on the patched file as
follows:
```
cppcheck --enable=all \
tools/testing/selftests/timers/threadtest.c \
--suppress=missingIncludeSystem \
--suppress=unusedFunction
```
Reviewed-by: Shuah Khan <[email protected]>
Signed-off-by: Piotr Zalewski <[email protected]>
Acked-by: John Stultz <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions
