diff options
| author | Sumeet Pawnikar <sumeet4linux@gmail.com> | 2026-09-06 11:47:52 +0530 |
|---|---|---|
| committer | Viresh Kumar <viresh.kumar@linaro.org> | 2026-09-07 10:09:09 +0530 |
| commit | d82d896f00e7bf697b61d5df0555941afa8d0657 (patch) | |
| tree | 2f079df5ad9d39b906e5b6d5a79e576a8059f246 /scripts/Makefile.thinlto | |
| parent | a500a1b148a85ffb02ad1be7ec2603f6b311a446 (diff) | |
| download | linux-next-d82d896f00e7bf697b61d5df0555941afa8d0657.tar.gz linux-next-d82d896f00e7bf697b61d5df0555941afa8d0657.zip | |
cpufreq: Use %pe to print error pointers symbolically
Replace PTR_ERR() and %ld with %pe and pass the original pointer directly
to pr_err() and pr_warn(). The %pe format specifier prints a symbolic error
name (e.g. -ENOMEM) when CONFIG_SYMBOLIC_ERRNAME is enabled, otherwise it
falls back gracefully and prints the raw integer value. This makes messages
more readable without any functional change.
Signed-off-by: Sumeet Pawnikar <sumeet4linux@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
