diff options
author | 2025-02-05 11:25:22 +0000 | |
---|---|---|
committer | 2025-02-23 18:54:56 -0600 | |
commit | 97a705dc1a3654d8d2e466433a897be202a7f0ac (patch) | |
tree | 647a897b4699585e79b100cf2d722ceb0a61e98b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | cpufreq/amd-pstate: Add missing NULL ptr check in amd_pstate_update (diff) | |
download | wireguard-linux-97a705dc1a3654d8d2e466433a897be202a7f0ac.tar.xz wireguard-linux-97a705dc1a3654d8d2e466433a897be202a7f0ac.zip |
cpufreq/amd-pstate: Use scope based cleanup for cpufreq_policy refs
There have been instances in past where refcount decrementing is missed
while exiting a function. Use automatic scope based cleanup to avoid
such errors.
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-12-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