Messages in this thread | | | Subject | Re: [PATCH] phy: rockchip-dp: fix return value check in rockchip_dp_phy_probe() | From | Kishon Vijay Abraham I <> | Date | Fri, 17 Jun 2016 18:45:18 +0530 |
| |
On Tuesday 14 June 2016 12:09 PM, Heiko Stübner wrote: > Am Montag, 13. Juni 2016, 23:31:47 schrieb weiyj_lk@163.com: >> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn> >> >> In case of error, the function devm_kzalloc() returns NULL pointer >> not ERR_PTR(). The IS_ERR() test in the return value check should >> be replaced with NULL test. >> >> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> > > obviously correct, thanks for catching. > > Reviewed-by: Heiko Stuebner <heiko@sntech.de>
applied, thanks.
-Kishon
| |