[lkml]   [2017]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] drm: Fix return value check in kirin_drm_platform_probe()
On Thu, Oct 12, 2017 at 2:39 AM, Gabriel Krisman Bertazi
<> wrote:
> Wei Yongjun <> writes:
>> In case of error, the function of_graph_get_remote_node() returns NULL
>> pointer not ERR_PTR(). The IS_ERR() test in the return value check
>> should be replaced with NULL test..
> Looks good.
> Reviewed-by: Gabriel Krisman Bertazi <>

FYI, I just noticed Dan Carpenter sent an identical patch last week
"<20171005125751.jvtjms62vbtxuvak@mwanda> [PATCH] drm/kirin: Checking
for IS_ERR() instead of NULL".

I'll add my R-b there, since it was first.


> --
> Gabriel Krisman Bertazi

 \ /
  Last update: 2017-10-12 16:43    [W:0.031 / U:12.236 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site