Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/qxl: Complete exception handling in qxl_device_init()
A coccicheck run provided information like the following. drivers/gpu/drm/qxl/qxl_kms.c:295:1-7: ERROR: missing iounmap; ioremap on line 178 and execution via conditional on line 185 Generated by: scripts/coccinelle/free/iounmap.cocci A jump target was specified in an if branch. The corresponding function call did not release the desired system resource then. Thus use the label “rom_unmap” instead to fix the exception handling for this function implementation. Fixes: 5043348 ("drm: qxl: Fix error handling at qxl_device_init") Signed-off-by: Markus Elfring <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Gerd Hoffmann <[email protected]>
- Loading branch information