diff options
author | Dan Carpenter <[email protected]> | 2024-07-17 21:25:53 -0500 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2024-07-18 13:33:15 -0700 |
commit | 5a6a25ea5bcd5bdf80fb13acd65a03fc6b8794b1 (patch) | |
tree | c1521c86577a05b336bf4f2f1d2375e792d5753b /scripts/gdb/linux/modules.py | |
parent | a83b22754e351f13fb46596c85f667dc33da71ec (diff) |
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 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions