cpufreq: Fix up printing large CPU numbers and frequency values
authorJoshua Yeong <joshua.yeong@starfivetech.com>
Thu, 25 Apr 2024 11:00:17 +0000 (19:00 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 30 Apr 2024 10:55:01 +0000 (12:55 +0200)
commita2bd1d268e5d6411ddf3a10cdd3d964aad621cab
treece012bc5649eb96fa1d625a34b3434ab3be4fbd0
parent6eff05526c7e0e71c74b3187ee0b3b1c419293b6
cpufreq: Fix up printing large CPU numbers and frequency values

A negative CPU number or frequency value may be printed if they are
really large (which is unlikely, though).

Signed-off-by: Joshua Yeong <joshua.yeong@starfivetech.com>
Reviewed-by: Thorsten Blum <thorsten.blum@toblux.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
[ rjw: Subject and changelog edits. ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/freq_table.c