Messages in this thread | | | Subject | Re: [PATCH v4 1/2] clk: hisilicon: Use correct return value about hisi_reset_init() | From | Stephen Boyd <> | Date | Wed, 27 May 2020 12:06:24 -0700 |
| |
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@loongson.cn> > --- >
| |