mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
c2af2a4556
Probing xen-fbfront faults in video_is_primary_device(). The passed-in
struct device is NULL since xen-fbfront doesn't assign it and the
memory is kzalloc()-ed. Assign fb_info->device to avoid this.
This was exposed by the conversion of fb_is_primary_device() to
video_is_primary_device() which dropped a NULL check for struct device.
Fixes:
|
||
---|---|---|
.. | ||
backlight | ||
console | ||
fbdev | ||
logo | ||
aperture.c | ||
cmdline.c | ||
display_timing.c | ||
hdmi.c | ||
Kconfig | ||
Makefile | ||
nomodeset.c | ||
of_display_timing.c | ||
of_videomode.c | ||
screen_info_generic.c | ||
screen_info_pci.c | ||
sticore.c | ||
vgastate.c | ||
videomode.c |