aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2024-07-18 02:25:53 +0000
committerStephen Boyd <[email protected]>2024-07-18 20:33:15 +0000
commit5a6a25ea5bcd5bdf80fb13acd65a03fc6b8794b1 (patch)
treec1521c86577a05b336bf4f2f1d2375e792d5753b /rust/helpers.c
parentclk: davinci: da8xx-cfgchip: Initialize clk_init_data before use (diff)
downloadkernel-5a6a25ea5bcd5bdf80fb13acd65a03fc6b8794b1.tar.gz
kernel-5a6a25ea5bcd5bdf80fb13acd65a03fc6b8794b1.zip
clk: sophgo: clk-sg2042-pll: Fix uninitialized variable in debug output
If sg2042_get_pll_ctl_setting() fails then "value" isn't initialized and it is printed in the debug output. Initialize it to zero. Fixes: 48cf7e01386e ("clk: sophgo: Add SG2042 clock driver") Signed-off-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Chen Wang <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions