diff options
author | Pi-Hsun Shih <pihsun@chromium.org> | 2019-11-18 14:18:05 +0800 |
---|---|---|
committer | CK Hu <ck.hu@mediatek.com> | 2019-12-09 09:29:05 +0800 |
commit | 13b0ba33d78b32384ea38abd03bc2b795fcab194 (patch) | |
tree | f4ba097696b552b8685ad1bcb40bc3e75d76c935 /lib/test_overflow.c | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) |
drm/mediatek: Check return value of mtk_drm_ddp_comp_for_plane.
The mtk_drm_ddp_comp_for_plane can return NULL, but the usage doesn't
check for it. Add check for it.
Fixes: d6b53f68356f ("drm/mediatek: Add helper to get component for a plane")
Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions