summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/sti
diff options
context:
space:
mode:
authorWang Xiaojun <wangxiaojun11@huawei.com>2020-11-11 06:14:52 +0300
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2021-01-05 08:20:11 +0300
commit8d7d33f6be06f929ac2c5e8ea2323fec272790d4 (patch)
tree9523e642bbd4b13cac62e7f4a0e6cd59d4cac2eb /drivers/gpu/drm/sti
parent3a608bcbb97e70d18e330d3adb790ac1ac1a4aae (diff)
downloadlinux-8d7d33f6be06f929ac2c5e8ea2323fec272790d4.tar.xz
drm: rcar-du: Fix the return check of of_parse_phandle and of_find_device_by_node
of_parse_phandle and of_find_device_by_node may return NULL which cannot be checked by IS_ERR. Fixes: 8de707aeb452 ("drm: rcar-du: kms: Initialize CMM instances") Signed-off-by: Wang Xiaojun <wangxiaojun11@huawei.com> Reported-by: Hulk Robot <hulkci@huawei.com> Acked-by: Jacopo Mondi <jacopo+renesas@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> [Replace -ENODEV with -EINVAL] Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/sti')
0 files changed, 0 insertions, 0 deletions