diff options
author | Dhananjay Ugwekar <dhananjay.ugwekar@amd.com> | 2025-02-05 11:25:21 +0000 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2025-02-23 18:54:56 -0600 |
commit | 426db24d4db2e4f0d6720aeb7795eafcb9e82640 (patch) | |
tree | 4de7d63eead3347b165e7151b189a741719167bd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b899434857b0f1ab460b3c126cbed82ab9b52d43 (diff) |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions