[PATCH] drm/tve200: Check for IS_ERR instead of NULL in probe
Linus Walleij
linus.walleij at linaro.org
Mon Sep 25 15:33:46 UTC 2017
On Mon, Sep 25, 2017 at 12:25 PM, Dan Carpenter
<dan.carpenter at oracle.com> wrote:
> devm_ioremap_resource() returns error pointer, it never returns NULL on
> error.
>
> Fixes: 179c02fe90a4 ("drm/tve200: Add new driver for TVE200")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
I am travelling right now but will apply the patch on monday in
one week from now.
Yours,
Linus Walleij
More information about the dri-devel
mailing list