aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-08-13 09:51:13 +0000
committerMario Limonciello <[email protected]>2024-08-22 20:42:10 +0000
commit67d95303c84732c2e1de5730756281f648dbefaf (patch)
treeccc41cd9d6fe39056360e5c0d2a40ac236b0a9c8 /security/selinux/hooks.c
parentLinux 6.11-rc4 (diff)
downloadkernel-67d95303c84732c2e1de5730756281f648dbefaf.tar.gz
kernel-67d95303c84732c2e1de5730756281f648dbefaf.zip
cpufreq: amd-pstate: Fix uninitialized variable in amd_pstate_cpu_boost_update()
Smatch complains that "ret" could be uninitialized: drivers/cpufreq/amd-pstate.c:734 amd_pstate_cpu_boost_update() error: uninitialized symbol 'ret'. This seems like it probably is a real issue. Initialize "ret" to zero to be safe. Fixes: c8c68c38b56f ("cpufreq: amd-pstate: initialize core precision boost state") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Perry Yuan <[email protected]> Acked-by: Gautham R. Shenoy <[email protected]> Link: https://lore.kernel.org/lkml/[email protected]/T/ Signed-off-by: Gautham R. Shenoy <[email protected]> Signed-off-by: Mario Limonciello <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions