commit | 27a061fb161b684b1204eedb82f6f84ecc4a1485 | [log] [tgz] |
---|---|---|
author | David Lechner <david@lechnology.com> | Wed Aug 02 13:00:13 2017 -0500 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Aug 03 12:12:15 2017 +0200 |
tree | b6b382d485d94d1694beae39a0a7228368863925 | |
parent | db1689aa61bd1efb5ce9b896e7aa860a85b7f1b6 [diff] |
drm/fb: Fix pointer dereference before null check. fb_crtc is used before a null check, so move the use after the null check. This was just identified by inspection. I haven't actually observed a crash here, so it is possible that the null check could be unnecessary. Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/1501696813-8807-1-git-send-email-david@lechnology.com