Searched hist:"4 e88761f5f8c7869f15a2046b1a1116f4fab4ac8" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/video/fbdev/ |
H A D | au1200fb.c | 4e88761f5f8c7869f15a2046b1a1116f4fab4ac8 Sat Jul 15 08:16:56 UTC 2023 Zhang Shurong <zhang_shurong@foxmail.com> fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe
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: 1630d85a8312 ("au1200fb: fix hardcoded IRQ") Signed-off-by: Zhang Shurong <zhang_shurong@foxmail.com> Signed-off-by: Helge Deller <deller@gmx.de> 4e88761f5f8c7869f15a2046b1a1116f4fab4ac8 Sat Jul 15 08:16:56 UTC 2023 Zhang Shurong <zhang_shurong@foxmail.com> fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe
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: 1630d85a8312 ("au1200fb: fix hardcoded IRQ") Signed-off-by: Zhang Shurong <zhang_shurong@foxmail.com> Signed-off-by: Helge Deller <deller@gmx.de> 4e88761f5f8c7869f15a2046b1a1116f4fab4ac8 Sat Jul 15 08:16:56 UTC 2023 Zhang Shurong <zhang_shurong@foxmail.com> fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe
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: 1630d85a8312 ("au1200fb: fix hardcoded IRQ") Signed-off-by: Zhang Shurong <zhang_shurong@foxmail.com> Signed-off-by: Helge Deller <deller@gmx.de> 4e88761f5f8c7869f15a2046b1a1116f4fab4ac8 Sat Jul 15 08:16:56 UTC 2023 Zhang Shurong <zhang_shurong@foxmail.com> fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe
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: 1630d85a8312 ("au1200fb: fix hardcoded IRQ") Signed-off-by: Zhang Shurong <zhang_shurong@foxmail.com> Signed-off-by: Helge Deller <deller@gmx.de>
|