Re: [PATCH] drivers: fbdev: arcfb: Fix error handling in arcfb_probe()

2023-05-11 Thread Helge Deller
On 5/9/23 13:27, Zongjie Li wrote: 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_regis

[PATCH] drivers: fbdev: arcfb: Fix error handling in arcfb_probe()

2023-05-09 Thread Zongjie Li
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.