linux/drivers/video/fbdev/via
Wang Jun f044788088 fbdev: viafb: check ioremap return value in viafb_lcd_get_mobile_state
The function viafb_lcd_get_mobile_state() calls ioremap() without
checking the return value. If ioremap() fails (returns NULL), the
subsequent readw() will cause a NULL pointer dereference.

Signed-off-by: Wang Jun <1742789905@qq.com>
Signed-off-by: Helge Deller <deller@gmx.de>
2026-03-10 17:32:35 +01:00
..
accel.c fbdev: viafb: fix typo in hw_bitblt_1 and hw_bitblt_2 2024-03-15 10:05:35 +01:00
accel.h
chip.h fbdev: viafb: Make I2C terminology more inclusive 2024-07-11 12:07:48 +02:00
debug.h
dvi.c fbdev: viafb: Make I2C terminology more inclusive 2024-07-11 12:07:48 +02:00
dvi.h
global.c
global.h
hw.c
hw.h
ioctl.c
ioctl.h
lcd.c fbdev: viafb: check ioremap return value in viafb_lcd_get_mobile_state 2026-03-10 17:32:35 +01:00
lcd.h
Makefile
share.h
tblDPASetting.c
tblDPASetting.h
via_aux_ch7301.c
via_aux_edid.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
via_aux_sii164.c
via_aux_vt1621.c
via_aux_vt1622.c
via_aux_vt1625.c
via_aux_vt1631.c
via_aux_vt1632.c
via_aux_vt1636.c
via_aux.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
via_aux.h Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
via_clock.c
via_clock.h
via_i2c.c fbdev/viafb: Include <linux/export.h> 2025-06-16 09:08:06 +02:00
via_modesetting.c
via_modesetting.h
via_utility.c
via_utility.h
via-core.c fbdev/viafb: Include <linux/export.h> 2025-06-16 09:08:06 +02:00
via-gpio.c treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
via-gpio.h fbdev/media: Use GPIO descriptors for VIA GPIO 2023-06-19 09:02:51 +02:00
viafbdev.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
viafbdev.h
viamode.c
viamode.h
vt1636.c fbdev: viafb: Make I2C terminology more inclusive 2024-07-11 12:07:48 +02:00
vt1636.h