Re: [PATCH] clk: clk-prima2: fix return value check in prima2_clk_init()
From: Stephen Boyd <sboyd@kernel.org>
Date: 2020-10-14 02:54:42
Also in:
linux-clk, lkml
From: Stephen Boyd <sboyd@kernel.org>
Date: 2020-10-14 02:54:42
Also in:
linux-clk, lkml
Quoting Xu Wang (2020-09-20 20:45:22)
In case of error, the function clk_register() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Xu Wang <redacted> ---
Applied to clk-next _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel