
3 Jan
2018
3 Jan
'18
12:33 p.m.
On Wed, 3 Jan 2018 12:20:49 +0100 Anatolij Gustschin agust@denx.de wrote:
From: Peng Fan peng.fan@nxp.com
The clk_set_rate function dereferences the clk pointer without checking whether it is NULL. This may cause problem when clk is NULL.
Signed-off-by: Peng Fan peng.fan@nxp.com Signed-off-by: Anatolij Gustschin agust@denx.de
Changes in v2:
- move the NULL check to top of function
drivers/video/ipu_common.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
applied to u-boot-video/master, thanks!
-- Anatolij