]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/thermal: remove duplicate newlines in perror calls
authorWangYuli <wangyuli@uniontech.com>
Thu, 10 Jul 2025 13:47:51 +0000 (21:47 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 20 Jul 2025 02:08:28 +0000 (19:08 -0700)
commit599579e857ab8d8f97409f631090e08018f8343b
tree94ee0eb2c7993b27cc2009e284e8c07500ce9f2f
parent813b46808822db6838c43e92ba21ce013d23fcdc
selftests/thermal: remove duplicate newlines in perror calls

perror() automatically appends a newline character, so the explicit '\n'
in the format strings is redundant and results in duplicate newlines in
the output.

Remove the redundant '\n' characters from perror() calls in
workload_hint_test.c to fix the formatting.

Link: https://lkml.kernel.org/r/F482FB1EC020000C+20250710134751.306096-1-wangyuli@uniontech.com
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Cc: Guan Wentao <guanwentao@uniontech.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/thermal/intel/workload_hint/workload_hint_test.c