From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kishon Vijay Abraham I Subject: Re: [PATCH] phy: rockchip-dp: fix return value check in rockchip_dp_phy_probe() Date: Fri, 17 Jun 2016 18:45:18 +0530 Message-ID: <5763F7E6.9090702@ti.com> References: <1465860707-26005-1-git-send-email-weiyj_lk@163.com> <4354296.6MbJoqdM2Z@diego> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4354296.6MbJoqdM2Z@diego> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+glpar-linux-rockchip=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: =?UTF-8?Q?Heiko_St=c3=bcbner?= , weiyj_lk-9Onoh4P/yGk@public.gmane.org Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Wei Yongjun , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-rockchip.vger.kernel.org On Tuesday 14 June 2016 12:09 PM, Heiko St=FCbner wrote: > Am Montag, 13. Juni 2016, 23:31:47 schrieb weiyj_lk-9Onoh4P/yGk@public.gmane.org: >> From: Wei Yongjun >> >> 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 > = > obviously correct, thanks for catching. > = > Reviewed-by: Heiko Stuebner applied, thanks. -Kishon From mboxrd@z Thu Jan 1 00:00:00 1970 From: kishon@ti.com (Kishon Vijay Abraham I) Date: Fri, 17 Jun 2016 18:45:18 +0530 Subject: [PATCH] phy: rockchip-dp: fix return value check in rockchip_dp_phy_probe() In-Reply-To: <4354296.6MbJoqdM2Z@diego> References: <1465860707-26005-1-git-send-email-weiyj_lk@163.com> <4354296.6MbJoqdM2Z@diego> Message-ID: <5763F7E6.9090702@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tuesday 14 June 2016 12:09 PM, Heiko St?bner wrote: > Am Montag, 13. Juni 2016, 23:31:47 schrieb weiyj_lk at 163.com: >> From: Wei Yongjun >> >> 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 > > obviously correct, thanks for catching. > > Reviewed-by: Heiko Stuebner applied, thanks. -Kishon From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754329AbcFQNQJ (ORCPT ); Fri, 17 Jun 2016 09:16:09 -0400 Received: from arroyo.ext.ti.com ([198.47.19.12]:43637 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751309AbcFQNQG (ORCPT ); Fri, 17 Jun 2016 09:16:06 -0400 Subject: Re: [PATCH] phy: rockchip-dp: fix return value check in rockchip_dp_phy_probe() To: =?UTF-8?Q?Heiko_St=c3=bcbner?= , References: <1465860707-26005-1-git-send-email-weiyj_lk@163.com> <4354296.6MbJoqdM2Z@diego> CC: Wei Yongjun , , , From: Kishon Vijay Abraham I Message-ID: <5763F7E6.9090702@ti.com> Date: Fri, 17 Jun 2016 18:45:18 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <4354296.6MbJoqdM2Z@diego> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >> >> 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 > > obviously correct, thanks for catching. > > Reviewed-by: Heiko Stuebner applied, thanks. -Kishon