summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/sun4i/sun4i_backend.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2016-09-19 22:17:51 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-09-22 10:13:08 +0300
commite4192089fe5320537fd88aa29721277efef64af4 (patch)
treed4b88d9c1104621d815bb6725c150974668d3b10 /drivers/gpu/drm/sun4i/sun4i_backend.h
parentc222f399045de480d4af0b9e4cdfff1a083e3e1d (diff)
downloadlinux-e4192089fe5320537fd88aa29721277efef64af4.tar.gz
linux-e4192089fe5320537fd88aa29721277efef64af4.tar.bz2
linux-e4192089fe5320537fd88aa29721277efef64af4.zip
drm/sun4i: tv: Check mode pointer
The drm_mode_create call might return NULL in case of a failure, and the current code doesn't check for that. Make sure it does. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/gpu/drm/sun4i/sun4i_backend.h')
0 files changed, 0 insertions, 0 deletions