diff options
author | Mirsad Todorovac <[email protected]> | 2024-01-07 18:37:08 +0100 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2024-01-09 15:14:46 +0100 |
commit | fd38dd6abda589a8771e7872e4dea28c99c6a6ef (patch) | |
tree | 2e3440f3c99954f2a64b98a0e6e88e218d22f447 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | f77a255e74c348a158d21a471e993e70ff710737 (diff) |
kselftest/alsa - conf: Stringify the printed errno in sysfs_get()
GCC 13.2.0 reported the warning of the print format specifier:
conf.c: In function ‘sysfs_get’:
conf.c:181:72: warning: format ‘%s’ expects argument of type ‘char *’, \
but argument 3 has type ‘int’ [-Wformat=]
181 | ksft_exit_fail_msg("sysfs: unable to read value '%s': %s\n",
| ~^
| |
| char *
| %d
The fix passes strerror(errno) as it was intended, like in the sibling error
exit message.
Fixes: aba51cd0949ae ("selftests: alsa - add PCM test")
Cc: Mark Brown <[email protected]>
Cc: Jaroslav Kysela <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Mirsad Todorovac <[email protected]>
Acked-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions