linux-stable/drivers/gpu/drm/gma500
Colin Ian King 7da5492739 drm/gma500: fix null dereference of pointer fb before null check
Pointer fb is being dereferenced when assigning dev before it
is null checked.  Fix this by only dereferencing dev after the
null check.

Fixes: 6b7ce2c416 ("drm/gma500: Remove struct psb_fbdev")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191216162136.270114-1-colin.king@canonical.com
2019-12-19 15:33:40 +01:00
..
accel_2d.c drm/gma500: fix null dereference of pointer fb before null check 2019-12-19 15:33:40 +01:00
backlight.c
blitter.c
blitter.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
cdv_device.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
cdv_device.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
cdv_intel_crt.c
cdv_intel_display.c drm/gma500: remove set but not used variable 'is_hdmi','is_crt' 2019-11-15 16:50:24 +01:00
cdv_intel_dp.c drm/gma500: remove set but not used variable 'channel_eq' 2019-11-18 10:52:55 +01:00
cdv_intel_hdmi.c
cdv_intel_lvds.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
framebuffer.c drm/gma500: Remove struct psb_fbdev 2019-11-25 11:19:31 +01:00
framebuffer.h drm/gma500: Remove struct psb_fbdev 2019-11-25 11:19:31 +01:00
gem.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
gem.h
gma_device.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
gma_device.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
gma_display.c drm/gma500: Add page flip support on psb/cdv 2019-11-07 10:16:31 +01:00
gma_display.h drm/gma500: Add page flip support on psb/cdv 2019-11-07 10:16:31 +01:00
gtt.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
gtt.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
intel_bios.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
intel_bios.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
intel_gmbus.c
intel_i2c.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
Kconfig
Makefile
mdfld_device.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
mdfld_dsi_dpi.c
mdfld_dsi_dpi.h
mdfld_dsi_output.c drm: Spelling s/connet/connect/ 2019-10-24 17:59:45 +02:00
mdfld_dsi_output.h
mdfld_dsi_pkg_sender.c
mdfld_dsi_pkg_sender.h
mdfld_intel_display.c drm/gma500: globle no more! 2019-12-13 18:15:48 +01:00
mdfld_output.c
mdfld_output.h
mdfld_tmd_vid.c
mdfld_tpo_vid.c
mid_bios.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
mid_bios.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
mmu.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
mmu.h
oaktrail.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
oaktrail_crtc.c drm/gma500: fix memory disclosures due to uninitialized bytes 2019-10-22 10:59:36 +02:00
oaktrail_device.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
oaktrail_hdmi.c drm/gma500: remove set but not used variable 'htotal' 2019-11-15 16:50:24 +01:00
oaktrail_hdmi_i2c.c
oaktrail_lvds.c drm/gma500: add a missed gma_power_end in error path 2019-12-09 21:30:03 +01:00
oaktrail_lvds_i2c.c
opregion.c
opregion.h
power.c
power.h
psb_device.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
psb_device.h
psb_drv.c drm/gma500: Call psb_driver_{load, unload}() before registering device 2019-12-05 16:31:19 +01:00
psb_drv.h drm/gma500: Remove struct psb_fbdev 2019-11-25 11:19:31 +01:00
psb_intel_display.c drm/gma500: Add page flip support on psb/cdv 2019-11-07 10:16:31 +01:00
psb_intel_drv.h drm/gma500: Add page flip support on psb/cdv 2019-11-07 10:16:31 +01:00
psb_intel_lvds.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
psb_intel_modes.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
psb_intel_reg.h
psb_intel_sdvo.c
psb_intel_sdvo_regs.h
psb_irq.c drm/gma500: remove set but not used variable 'error' 2019-11-15 16:50:24 +01:00
psb_irq.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
psb_lid.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
psb_reg.h
tc35876x-dsi-lvds.c drm/gma500: Pass GPIO for Intel MID using descriptors 2019-12-14 00:26:10 +01:00
tc35876x-dsi-lvds.h