mbox series

[RESEND,0/4] clk: Fix the use of uninitialized variable

Message ID 20241024033424.115417-1-zhangzekun11@huawei.com (mailing list archive)
Headers show
Series clk: Fix the use of uninitialized variable | expand

Message

Zhang Zekun Oct. 24, 2024, 3:34 a.m. UTC
of_property_read_u32() could failed and remain the variable
uninitialized. Add check or initialize the variable to fix
these problems.

Zhang Zekun (4):
  clk: imx: scu: Fix the return of uninitialized variable
  clk: socfpga: Fix the use of uninitialized variable
  clk: socfpga: arria10: Fix the use of uninitialized variable
  clk: socfpga: clk-pll: Fix the use of uninitialized variable

 drivers/clk/imx/clk-scu.c         | 2 +-
 drivers/clk/socfpga/clk-periph.c  | 3 ++-
 drivers/clk/socfpga/clk-pll-a10.c | 3 ++-
 drivers/clk/socfpga/clk-pll.c     | 3 ++-
 4 files changed, 7 insertions(+), 4 deletions(-)