aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorangquan yu <angquan21@gmail.com>2023-11-28 15:48:54 -0600
committerShuah Khan <skhan@linuxfoundation.org>2023-11-30 14:32:34 -0700
commit5e551899788b0731761052f21febdfef668e511f (patch)
treeb9e6f76670d34c91a68f7bb5afea9f4478c3d0a3 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parente1c0b9ef26e5e46fd5c2df9e7f9686e786723f53 (diff)
selftests/breakpoints: Fix format specifier in ksft_print_msg in step_after_suspend_test.c
In the function 'tools/testing/selftests/breakpoints/run_test' within step_after_suspend_test.c, the ksft_print_msg function call incorrectly used '$s' as a format specifier. This commit corrects this typo to use the proper '%s' format specifier, ensuring the error message from waitpid() is correctly displayed. The issue manifested as a compilation warning (too many arguments for format [-Wformat-extra-args]), potentially obscuring actual runtime errors and complicating debugging processes. This fix enhances the clarity of error messages during test failures and ensures compliance with standard C format string conventions. Signed-off-by: angquan yu <angquan21@gmail.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions