aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorZongjie Li <[email protected]>2023-05-09 19:27:26 +0800
committerHelge Deller <[email protected]>2023-05-11 15:22:15 +0200
commit5a6bef734247c7a8c19511664ff77634ab86f45b (patch)
treea02d6414a949faa3cbebc9ac67713e45a7ea9c62 /lib/mpi/mpi-bit.c
parentac9a78681b921877518763ba0e89202254349d1b (diff)
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 <[email protected]> Reviewed-by: Dongliang Mu <[email protected]> Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions