Quoting Yizhuo (2019-01-26 21:10:12)
> In function gemini_clk_probe(), local variable "val" could
> be uninitialized if function regmap_read() returns -EINVAL.
> However, it will be used as index in the later context, which
> could potentially be unsafe.
Ok. How did you find this? Any pointers?
In function gemini_clk_probe(), local variable "val" could
be uninitialized if function regmap_read() returns -EINVAL.
However, it will be used as index in the later context, which
could potentially be unsafe.
Signed-off-by: Yizhuo
---
drivers/clk/clk-gemini.c | 10 --
1 file changed, 8
2 matches
Mail list logo