]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Fix NULL deref in HDMI init error path
authorEric Anholt <eric@anholt.net>
Mon, 4 Apr 2016 21:25:59 +0000 (14:25 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 14 Apr 2016 19:23:11 +0000 (12:23 -0700)
commit17812f820c5a2527b5654b26d622c25fd032ecd7
treee341061a2cd45c3909d4184acaeb113cdeb49cb4
parent1b6c468a28ae48aa39688571f675a2aa3c3aca0b
drm/vc4: Fix NULL deref in HDMI init error path

If you make it here other than through err_destroy_encoder, vc4->hdmi
is still NULL.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_hdmi.c