android_kernel_xiaomi_sm8350/drivers/video/fbdev
Zhang Shurong b07e31824d fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe
[ Upstream commit 4e88761f5f8c7869f15a2046b1a1116f4fab4ac8 ]

This func misses checking for platform_get_irq()'s call and may passes the
negative error codes to request_irq(), which takes unsigned IRQ #,
causing it to fail with -EINVAL, overriding an original error code.

Fix this by stop calling request_irq() with invalid IRQ #s.

Fixes: 1630d85a83 ("au1200fb: fix hardcoded IRQ")
Signed-off-by: Zhang Shurong <zhang_shurong@foxmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-27 08:37:44 +02:00
..
aty
core fbcon: Fix null-ptr-deref in soft_cursor 2023-06-09 10:29:03 +02:00
geode fbdev: lxfb: Fix potential divide by zero 2023-04-05 11:16:43 +02:00
i810
intelfb fbdev: intelfb: Fix potential divide by zero 2023-04-05 11:16:42 +02:00
kyro
matrox treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
mb862xx
mbx
mmp
nvidia fbdev: nvidia: Fix potential divide by zero 2023-04-05 11:16:42 +02:00
omap fbdev: omapfb: lcd_mipid: Fix an error handling path in mipid_spi_probe() 2023-07-27 08:37:15 +02:00
omap2
riva treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
savage
sis
vermilion fbdev: vermilion: decrease reference count in error path 2023-01-18 11:41:27 +01:00
via fbdev: via: Fix error in via_core_init() 2023-01-18 11:41:26 +01:00
68328fb.c
acornfb.c
acornfb.h
amba-clcd.c
amifb.c
arcfb.c
arkfb.c
asiliantfb.c
atafb_iplan2p2.c
atafb_iplan2p4.c
atafb_iplan2p8.c
atafb_mfb.c
atafb_utils.h
atafb.c
atafb.h
atmel_lcdfb.c
au1100fb.c
au1100fb.h
au1200fb.c fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe 2023-07-27 08:37:44 +02:00
au1200fb.h
broadsheetfb.c
bt431.h
bt455.h
bw2.c
c2p_core.h
c2p_iplan2.c
c2p_planar.c
c2p.h
carminefb_regs.h
carminefb.c
carminefb.h
cg3.c
cg6.c
cg14.c
chipsfb.c
cirrusfb.c
clps711x-fb.c
cobalt_lcdfb.c
controlfb.c
controlfb.h
cyber2000fb.c
cyber2000fb.h
da8xx-fb.c
dnfb.c
edid.h
efifb.c
ep93xx-fb.c
fb-puv3.c
ffb.c
fm2fb.c
fsl-diu-fb.c
g364fb.c
gbefb.c
goldfishfb.c
grvga.c
gxt4500.c
hecubafb.c
hgafb.c
hitfb.c
hpfb.c
hyperv_fb.c
i740_reg.h
i740fb.c
imsttfb.c fbdev: imsttfb: Fix use after free bug in imsttfb_probe 2023-07-27 08:37:03 +02:00
imxfb.c fbdev: imxfb: warn about invalid left/right margin 2023-07-27 08:37:43 +02:00
Kconfig fbdev: ssd1307fb: Drop optional dependency 2023-01-18 11:41:26 +01:00
leo.c
macfb.c
macmodes.c
macmodes.h
Makefile
maxinefb.c
metronomefb.c
mx3fb.c
n411.c
neofb.c
ocfb.c
offb.c
p9100.c
platinumfb.c
platinumfb.h
pm2fb.c fbdev: pm2fb: fix missing pci_disable_device() 2023-01-18 11:41:26 +01:00
pm3fb.c treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
pmag-aa-fb.c
pmag-ba-fb.c
pmagb-b-fb.c
ps3fb.c
pvr2fb.c
pxa3xx-gcu.c
pxa3xx-gcu.h
pxa168fb.c
pxa168fb.h
pxafb.c
pxafb.h
q40fb.c
s1d13xxxfb.c
s3c2410fb.c
s3c2410fb.h
s3c-fb.c
s3fb.c
sa1100fb.c
sa1100fb.h
sbuslib.c
sbuslib.h
sh7760fb.c
sh_mobile_lcdcfb.c
sh_mobile_lcdcfb.h
simplefb.c
skeletonfb.c
sm501fb.c
sm712.h
sm712fb.c
smscufx.c fbdev: smscufx: fix error handling code in ufx_usb_probe 2023-02-22 12:50:29 +01:00
ssd1307fb.c
sstfb.c
sticore.h
stifb.c fbdev: stifb: Fix info entry in sti_struct on error path 2023-06-09 10:28:55 +02:00
sunxvr500.c
sunxvr1000.c
sunxvr2500.c
tcx.c
tdfxfb.c
tgafb.c fbdev: tgafb: Fix potential divide by zero 2023-04-05 11:16:42 +02:00
tmiofb.c
tridentfb.c
udlfb.c fbdev: udlfb: Fix endpoint check 2023-05-30 12:44:09 +01:00
uvesafb.c fbdev: uvesafb: Fixes an error handling path in uvesafb_probe() 2023-01-18 11:41:27 +01:00
valkyriefb.c
valkyriefb.h
vesafb.c
vfb.c
vga16fb.c
vt8500lcdfb.c
vt8500lcdfb.h
vt8623fb.c
w100fb.c
w100fb.h
wm8505fb_regs.h
wm8505fb.c
wmt_ge_rops.c
wmt_ge_rops.h
xen-fbfront.c
xilinxfb.c