OpenCloudOS-Kernel/drivers/gpu/drm/qxl
Markus Elfring dbe3ad61dc 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: 5043348a49 ("drm: qxl: Fix error handling at qxl_device_init")
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Link: http://patchwork.freedesktop.org/patch/msgid/5e5ef9c4-4d85-3c93-cf28-42cfcb5b0649@web.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-11-29 13:09:11 +01:00
..
Kconfig drm/qxl: Fix randbuild error 2019-10-17 14:31:50 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qxl_cmd.c drm/qxl: use embedded gem object 2019-08-06 08:21:54 +02:00
qxl_debugfs.c dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
qxl_dev.h drm/qxl: Remove exceding whiteline 2018-10-30 07:19:59 +01:00
qxl_display.c drm/qxl: use embedded gem object 2019-08-06 08:21:54 +02:00
qxl_draw.c drm/qxl: drop use of drmP.h 2019-07-15 18:11:30 +02:00
qxl_drv.c drm/qxl: use DEFINE_DRM_GEM_FOPS() 2019-10-22 11:34:02 +02:00
qxl_drv.h drm/qxl: stop using TTM to call driver internal functions 2019-10-25 11:40:51 +02:00
qxl_dumb.c drm/qxl: use QXL_GEM_DOMAIN_SURFACE for dumb gem objects 2019-01-28 14:24:53 +01:00
qxl_gem.c drm/qxl: use embedded gem object 2019-08-06 08:21:54 +02:00
qxl_image.c drm/qxl: Use 'unsigned int' instead of 'usigned' 2018-10-30 07:20:00 +01:00
qxl_ioctl.c drm/qxl: drop use of drmP.h 2019-07-15 18:11:30 +02:00
qxl_irq.c drm/qxl: drop use of drmP.h 2019-07-15 18:11:30 +02:00
qxl_kms.c drm/qxl: Complete exception handling in qxl_device_init() 2019-11-29 13:09:11 +01:00
qxl_object.c drm/qxl: stop using TTM to call driver internal functions 2019-10-25 11:40:51 +02:00
qxl_object.h drm/ttm: use gem vma_node 2019-08-06 08:21:54 +02:00
qxl_prime.c drm/qxl: drop WARN_ONCE() 2019-05-27 13:17:03 +02:00
qxl_release.c drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
qxl_ttm.c drm/qxl: stop using TTM to call driver internal functions 2019-10-25 11:40:51 +02:00