summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ttm/ttm_device.c
diff options
context:
space:
mode:
authorAdrien Grassein <adrien.grassein@gmail.com>2021-03-31 16:33:13 +0300
committerRobert Foss <robert.foss@linaro.org>2021-04-16 18:12:51 +0300
commit5a7bd25992e48aacdbd73c09a54f15cd163e92cd (patch)
tree766376225aea31c5c44b2756c1b3230cdb3f7108 /drivers/gpu/drm/ttm/ttm_device.c
parentad085b3a712a89e4a48472121b231add7a8362e4 (diff)
downloadlinux-5a7bd25992e48aacdbd73c09a54f15cd163e92cd.tar.xz
drm/bridge: lt8912b: fix incorrect handling of of_* return values
A static analysis shows several issues in the driver code at probing time. DT parsing errors were bad handled and could lead to bugs: - Bad error detection; - Bad release of resources Fixes: 30e2ae943c26 ("drm/bridge: Introduce LT8912B DSI to HDMI bridge") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Suggested-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Adrien Grassein <adrien.grassein@gmail.com> Reviewed-by: Andrzej Hajda <a.hajda@samsung.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210415183639.1487-1-rdunlap@infradead.org Signed-off-by: Robert Foss <robert.foss@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_device.c')
0 files changed, 0 insertions, 0 deletions