summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWang Jun <1742789905@qq.com>2026-03-10 04:14:20 +0300
committerHelge Deller <deller@gmx.de>2026-03-10 19:32:35 +0300
commitf044788088ef55e9855b17b7984ffe522c40c093 (patch)
tree7b99d6019779538225f1823edf21d184e2d7e2f4 /include
parentdb65872b38dc9f18a62669d6ae1e4ec7868a85a9 (diff)
downloadlinux-f044788088ef55e9855b17b7984ffe522c40c093.tar.xz
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions