diff options
author | 2025-02-05 11:25:21 +0000 | |
---|---|---|
committer | 2025-02-23 18:54:56 -0600 | |
commit | 426db24d4db2e4f0d6720aeb7795eafcb9e82640 (patch) | |
tree | 4de7d63eead3347b165e7151b189a741719167bd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | cpufreq/amd-pstate: Remove the unnecessary cpufreq_update_policy call (diff) | |
download | wireguard-linux-426db24d4db2e4f0d6720aeb7795eafcb9e82640.tar.xz wireguard-linux-426db24d4db2e4f0d6720aeb7795eafcb9e82640.zip |
cpufreq/amd-pstate: Add missing NULL ptr check in amd_pstate_update
Check if policy is NULL before dereferencing it in amd_pstate_update.
Fixes: e8f555daacd3 ("cpufreq/amd-pstate: fix setting policy current frequency value")
Signed-off-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Link: https://lore.kernel.org/r/20250205112523.201101-11-dhananjay.ugwekar@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions