[PATCH] drm: Fix return value check in kirin_drm_platform_probe()

Gabriel Krisman Bertazi krisman at collabora.co.uk
Thu Oct 12 06:39:59 UTC 2017


Wei Yongjun <weiyongjun1 at huawei.com> 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 <krisman at collabora.co.uk>

-- 
Gabriel Krisman Bertazi


More information about the dri-devel mailing list