Messages in this thread | | | Subject | Re: [PATCH -next] clk: lmk04832: fix return value check in lmk04832_probe() | From | Stephen Boyd <> | Date | Wed, 30 Jun 2021 11:18:34 -0700 |
| |
Quoting Wang Hai (2021-06-29 19:03:22) > In case of error, the function devm_kzalloc() and devm_kcalloc() return > NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check > should be replaced with NULL test. > > Fixes: 3bc61cfd6f4a ("clk: add support for the lmk04832") > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: Wang Hai <wanghai38@huawei.com> > ---
Applied to clk-next
| |