summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorZongjie Li <u202112089@hust.edu.cn>2023-05-09 14:27:26 +0300
committerHelge Deller <deller@gmx.de>2023-05-11 16:22:15 +0300
commit5a6bef734247c7a8c19511664ff77634ab86f45b (patch)
treea02d6414a949faa3cbebc9ac67713e45a7ea9c62 /drivers/mfd
parentac9a78681b921877518763ba0e89202254349d1b (diff)
downloadlinux-5a6bef734247c7a8c19511664ff77634ab86f45b.tar.xz
fbdev: arcfb: Fix error handling in arcfb_probe()
Smatch complains that: arcfb_probe() warn: 'irq' from request_irq() not released on lines: 587. Fix error handling in the arcfb_probe() function. If IO addresses are not provided or framebuffer registration fails, the code will jump to the err_addr or err_register_fb label to release resources. If IRQ request fails, previously allocated resources will be freed. Fixes: 1154ea7dcd8e ("[PATCH] Framebuffer driver for Arc LCD board") Signed-off-by: Zongjie Li <u202112089@hust.edu.cn> Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions