Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1421615

Re: [PATCH] phy: rockchip-dp: fix return value check in rockchip_dp_phy_probe()

From Heiko Stübner <heiko@sntech.de>
Newsgroups linux.kernel
Subject Re: [PATCH] phy: rockchip-dp: fix return value check in rockchip_dp_phy_probe()
Date 2016-06-14 08:50 +0200
Message-ID <rJQkF-16U-5@gated-at.bofh.it> (permalink)
References <rJJCx-4Wb-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] phy: rockchip-dp: fix return value check in rockchip_dp_phy_probe() weiyj_lk@163.com - 2016-06-14 01:40 +0200
  Re: [PATCH] phy: rockchip-dp: fix return value check in rockchip_dp_phy_probe() Heiko Stübner <heiko@sntech.de> - 2016-06-14 08:50 +0200
    Re: [PATCH] phy: rockchip-dp: fix return value check in  rockchip_dp_phy_probe() Kishon Vijay Abraham I <kishon@ti.com> - 2016-06-17 15:20 +0200

csiph-web