aboutsummaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/vec_ext.rs
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-07-17 21:25:53 -0500
committerStephen Boyd <sboyd@kernel.org>2024-07-18 13:33:15 -0700
commit5a6a25ea5bcd5bdf80fb13acd65a03fc6b8794b1 (patch)
treec1521c86577a05b336bf4f2f1d2375e792d5753b /rust/kernel/alloc/vec_ext.rs
parenta83b22754e351f13fb46596c85f667dc33da71ec (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 <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/baf0a490-d5ba-4528-90ba-80399684692d@stanley.mountain Reviewed-by: Chen Wang <unicorn_wang@outlook.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/vec_ext.rs')
0 files changed, 0 insertions, 0 deletions