diff options
| author | John Stultz <[email protected]> | 2024-04-10 23:26:28 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2024-04-12 12:11:15 +0000 |
| commit | e4a6bceac98eba3c00e874892736b34ea5fdaca3 (patch) | |
| tree | 90a1055baf05f1ae0fdc11b05604171a378891cb /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | selftests: timers: Fix valid-adjtimex signed left-shift undefined behavior (diff) | |
| download | kernel-e4a6bceac98eba3c00e874892736b34ea5fdaca3.tar.gz kernel-e4a6bceac98eba3c00e874892736b34ea5fdaca3.zip | |
selftests: timers: Fix posix_timers ksft_print_msg() warning
After commit 6d029c25b71f ("selftests/timers/posix_timers: Reimplement
check_timer_distribution()") the following warning occurs when building
with an older gcc:
posix_timers.c:250:2: warning: format not a string literal and no format arguments [-Wformat-security]
250 | ksft_print_msg(errmsg);
| ^~~~~~~~~~~~~~
Fix this up by changing it to ksft_print_msg("%s", errmsg)
Fixes: 6d029c25b71f ("selftests/timers/posix_timers: Reimplement check_timer_distribution()")
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Justin Stitt <[email protected]>
Acked-by: Shuah Khan <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions
