On Mon, Aug 19, 2024 at 10:58 AM Piotr Zalewski <pz010001011...@proton.me> wrote: > > 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 <sk...@linuxfoundation.org> > Signed-off-by: Piotr Zalewski <pz010001011...@proton.me>
Acked-by: John Stultz <jstu...@google.com> thanks -john