aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2022-09-21 12:30:38 +0530
committerViresh Kumar <[email protected]>2022-09-21 12:49:40 +0530
commit91dc90fdb8b8199519a3aac9c46a433b02223c5b (patch)
treed6e8f5bb9d091acfc78c841c8bd7c84c2c4d1d49 /scripts/gdb/linux/modules.py
parentddf958f39741a1dda74020ac8a0f226cb5aa017b (diff)
cpufreq: qcom-cpufreq-hw: Fix uninitialized throttled_freq warning
Commit 6240aaad75e1 was supposed to drop the reference count to the OPP, instead it avoided more stuff if the OPP isn't found. This isn't entirely correct. We already have a frequency value available, we just couldn't align it with an OPP in case of IS_ERR(opp). Lets continue with updating thermal pressure, etc, even if we aren't able to find an OPP here. This fixes warning generated by the 'smatch' tool. Fixes: 6240aaad75e1 ("cpufreq: qcom-hw: fix the opp entries refcounting") Cc: v5.18+ <[email protected]> # v5.18+ Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions