Re: [PATCH] drm/kirin: Checking for IS_ERR() instead of NULL

2017-10-12 Thread Sean Paul
On Thu, Oct 5, 2017 at 8:57 AM, Dan Carpenter wrote: > The of_graph_get_remote_node() function doesn't return error pointers, > it returns NULL on error so I've updated the check. > > Fixes: 86418f90a4c1 ("drm: convert drivers to use of_graph_get_remote_node") > Signed-off-by: Dan Carpenter > Hi

[PATCH] drm/kirin: Checking for IS_ERR() instead of NULL

2017-10-05 Thread Dan Carpenter
The of_graph_get_remote_node() function doesn't return error pointers, it returns NULL on error so I've updated the check. Fixes: 86418f90a4c1 ("drm: convert drivers to use of_graph_get_remote_node") Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c b/dri