Re: [PATCH v4 1/2] clk: hisilicon: Use correct return value about hisi_reset_init()

From: Stephen Boyd
Date: Wed May 27 2020 - 15:06:35 EST


Quoting Tiezhu Yang (2020-05-27 07:39:21)
> The return value about hisi_reset_init() is not correct, fix it.
>
> Fixes: e9a2310fb689 ("reset: hisilicon: fix potential NULL pointer dereference")

hisi_reset_init() returns NULL on error in that commit. This patch
doesn't make sense.

> Signed-off-by: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx>
> ---
>