aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2017-11-06 15:20:33 +0000
committerBen Skeggs <[email protected]>2017-12-19 00:16:37 +0000
commit34112bf4935dabe3c1d1fd42842ed771e279bf61 (patch)
tree7f772fba062804dd5de35cc332df8d282ad3f6b1 /scripts/gcc-plugins/randomize_layout_plugin.c
parentdrm/nouveau/bios/timing: mark expected switch fall-throughs (diff)
downloadkernel-34112bf4935dabe3c1d1fd42842ed771e279bf61.tar.gz
kernel-34112bf4935dabe3c1d1fd42842ed771e279bf61.zip
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 <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions