]> 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)
commitd20711ab029bf597d9ecd4748bd0032b8690d626
treee341061a2cd45c3909d4184acaeb113cdeb49cb4
parentc3988f71ed2a77f6a6e0768e37cdf6ea47622965
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