search for: rom_unmap

Displaying 4 results from an estimated 4 matches for "rom_unmap".

Did you mean: rem_unmap
2020 Feb 14
0
[PATCH AUTOSEL 5.5 007/542] drm/qxl: Complete exception handling in qxl_device_init()
...s.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: 5043348a4969ae1661c008efe929abd0d76e3792 ("drm: qxl: Fix error handling at qxl_device_init") Signed-off-by: Markus Elfring <elfring at users.sourceforge.net> Link: http://patchwork.freedesktop.org/patch...
2020 Feb 14
0
[PATCH AUTOSEL 5.4 005/459] drm/qxl: Complete exception handling in qxl_device_init()
...s.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: 5043348a4969ae1661c008efe929abd0d76e3792 ("drm: qxl: Fix error handling at qxl_device_init") Signed-off-by: Markus Elfring <elfring at users.sourceforge.net> Link: http://patchwork.freedesktop.org/patch...
2018 Jul 27
1
[PATCH] drm: qxl: Fix error handling at qxl_device_init
...\n"); - return -ENOMEM; + r = -ENOMEM; + goto surface_mapping_free; } - qxl_check_device(qdev); + if (!qxl_check_device(qdev)) { + r = -ENODEV; + goto surface_mapping_free; + } r = qxl_bo_init(qdev); if (r) { DRM_ERROR("bo init failed %d\n", r); - return r; + goto rom_unmap; } qdev->ram_header = ioremap(qdev->vram_base + qdev->rom->ram_header_offset, sizeof(*qdev->ram_header)); + if (!qdev->ram_header) { + DRM_ERROR("Unable to ioremap RAM header\n"); + r = -ENOMEM; + goto bo_fini; + } qdev->command_ring = qxl...
2019 Nov 29
0
[PATCH] drm/qxl: Complete exception handling in qxl_device_init()
...; > 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: 5043348a4969ae1661c008efe929abd0d76e3792 ("drm: qxl: Fix error handling at qxl_device_init") > Signed-off-by: Markus Elfring <elfring at users.sourceforge.net> Pushed to drm-misc-next...