summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorDavid Gow <davidgow@google.com>2024-02-21 12:27:16 +0300
committerShuah Khan <skhan@linuxfoundation.org>2024-02-28 01:26:02 +0300
commit0a549ed22c3c7cc6da5c5f5918efd019944489a5 (patch)
treebf675eb03f865bd0435433ac0ae3fbc3fa206a63 /drivers/rtc
parentd2733a026fc7247ba42d7a8e1b737cf14bf1df21 (diff)
downloadlinux-0a549ed22c3c7cc6da5c5f5918efd019944489a5.tar.xz
lib: memcpy_kunit: Fix an invalid format specifier in an assertion msg
The 'i' passed as an assertion message is a size_t, so should use '%zu', not '%d'. This was found by annotating the _MSG() variants of KUnit's assertions to let gcc validate the format strings. Fixes: bb95ebbe89a7 ("lib: Introduce CONFIG_MEMCPY_KUNIT_TEST") Signed-off-by: David Gow <davidgow@google.com> Tested-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Justin Stitt <justinstitt@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions