1
0
Fork 0
alistair23-linux/drivers/gpu/drm/qxl
Markus Elfring 2339f7a55c drm/qxl: Complete exception handling in qxl_device_init()
[ Upstream commit dbe3ad61dc ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:36:22 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +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 main pull for 5.4-rc1 2019-09-19 16:24:24 -07:00
qxl_drv.h drm/qxl: use embedded gem object 2019-08-06 08:21:54 +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() 2020-02-24 08:36:22 +01:00
qxl_object.c drm/qxl: use embedded gem object 2019-08-06 08:21:54 +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 dma-buf: rename reservation_object to dma_resv 2019-08-13 09:09:30 +02:00
qxl_ttm.c drm/qxl: use embedded gem object 2019-08-06 08:21:54 +02:00