[PATCH -next] drm/mcde: dsi: Fix return value check in dev_err()

Linus Walleij linus.walleij at linaro.org
Tue May 12 11:49:05 UTC 2020


On Tue, Apr 28, 2020 at 4:13 PM Wei Yongjun <weiyongjun1 at huawei.com> wrote:

> In case of error, the function of_drm_find_bridge() 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 <weiyongjun1 at huawei.com>

Patch applied! Thanks Wei, sorry for the long delay.

Yours,
Linus Walleij


More information about the dri-devel mailing list