diff options
author | 2024-09-11 07:39:24 +0800 | |
---|---|---|
committer | 2024-09-11 10:53:03 -0500 | |
commit | 93497752dfed196b41d2804503e80b9a04318adb (patch) | |
tree | eae4fc9fcf75995f666862ff4dc2418cfa1727e3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq/amd-pstate-ut: Add test case for mode switches (diff) | |
download | linux-rng-93497752dfed196b41d2804503e80b9a04318adb.tar.xz linux-rng-93497752dfed196b41d2804503e80b9a04318adb.zip |
cpufreq/amd-pstate-ut: Fix an "Uninitialized variables" issue
Using uninitialized value "mode2" when calling "amd_pstate_get_mode_string".
Set "mode2" to "AMD_PSTATE_DISABLE" by default.
Signed-off-by: Qianqiang Liu <qianqiang.liu@163.com>
Link: https://lore.kernel.org/r/20240910233923.46470-1-qianqiang.liu@163.com
Acked-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions