commit | 34112bf4935dabe3c1d1fd42842ed771e279bf61 | [log] [tgz] |
---|---|---|
author | Karol Herbst <kherbst@redhat.com> | Mon Nov 06 16:20:33 2017 +0100 |
committer | Ben Skeggs <bskeggs@redhat.com> | Tue Dec 19 10:16:37 2017 +1000 |
tree | 7f772fba062804dd5de35cc332df8d282ad3f6b1 | |
parent | d34ded7ece57782e75bf31bb145836b9f280750f [diff] |
drm/nouveau/fbcon: fix NULL pointer access in nouveau_fbcon_destroy When the fbcon object is initialized, but nouveau_fbcon_create is not called, we run into a NULL pointer access within nouveau_fbcon_create when unloading nouveau. The call to drm_fb_helper_funcs.fb_probe is deferred until there is a display for real since 4.14, that's why fbcon->helper.fb is still not set. Signed-off-by: Karol Herbst <kherbst@redhat.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>