diff options
| author | Dan Carpenter <[email protected]> | 2024-07-18 02:25:53 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2024-07-18 20:33:15 +0000 |
| commit | 5a6a25ea5bcd5bdf80fb13acd65a03fc6b8794b1 (patch) | |
| tree | c1521c86577a05b336bf4f2f1d2375e792d5753b /rust/helpers.c | |
| parent | clk: davinci: da8xx-cfgchip: Initialize clk_init_data before use (diff) | |
| download | kernel-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
