linux-stable/drivers/gpu/drm/vmwgfx
Qiheng Lin 527a947187 drm/vmwgfx: Fix return value check in vmw_setup_pci_resources()
In case of error, the function devm_ioremap() returns NULL pointer not ERR_PTR().
The IS_ERR() test in the return value check should be replaced with NULL test.
After that, the error code -ENOMEM should be returned.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Qiheng Lin <linqiheng@huawei.com>
Signed-off-by: Zack Rusin <zackr@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210514082812.1697-1-linqiheng@huawei.com
2021-05-14 14:39:14 -04:00
..
device_include drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
Kconfig drm/vmwgfx: Port vmwgfx to arm64 2021-05-11 13:37:16 -04:00
Makefile drm/vmwgfx: Remove the reservation semaphore 2021-05-11 13:37:15 -04:00
ttm_memory.c drm/ttm: fix error handling if no BO can be swapped out v4 2021-04-23 14:20:38 +02:00
ttm_memory.h drm/ttm: move memory accounting into vmwgfx v4 2021-02-09 17:27:33 +01:00
ttm_object.c drm/vmwgfx: replace idr_init() by idr_init_base() 2021-04-29 14:54:54 -04:00
ttm_object.h drm/ttm: move memory accounting into vmwgfx v4 2021-02-09 17:27:33 +01:00
vmwgfx_binding.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_binding.h drm/vmwgfx: Add support for streamoutput with mob commands 2020-03-23 22:39:35 +01:00
vmwgfx_blit.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_bo.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_cmd.c drm/vmwgfx: Fix memory allocation check and a leak of object fifo 2021-05-14 14:38:02 -04:00
vmwgfx_cmdbuf.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_cmdbuf_res.c drm/vmwgfx/vmwgfx_cmdbuf_res: Remove unused variable 'ret' 2021-01-19 14:18:47 -05:00
vmwgfx_context.c drm/vmwgfx: Remove the reservation semaphore 2021-05-11 13:37:15 -04:00
vmwgfx_cotable.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_drv.c drm/vmwgfx: Fix return value check in vmw_setup_pci_resources() 2021-05-14 14:39:14 -04:00
vmwgfx_drv.h drm/vmwgfx: Port vmwgfx to arm64 2021-05-11 13:37:16 -04:00
vmwgfx_execbuf.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_fb.c drm/vmwgfx: Remove the reservation semaphore 2021-05-11 13:37:15 -04:00
vmwgfx_fence.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_fence.h drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_gmr.c drm/vmwgfx: use min_t to replace min 2021-04-29 14:54:54 -04:00
vmwgfx_gmrid_manager.c drm/ttm: cleanup BO size handling v3 2020-12-14 14:20:46 +01:00
vmwgfx_ioctl.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_irq.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_kms.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_kms.h drm/atomic: Pass the full state to planes atomic disable and update 2021-02-25 08:05:28 +01:00
vmwgfx_ldu.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_mob.c drm for 5.13-rc1 2021-04-28 10:01:40 -07:00
vmwgfx_msg.c drm/vmwgfx: Port vmwgfx to arm64 2021-05-11 13:37:16 -04:00
vmwgfx_msg_arm64.h drm/vmwgfx: Port vmwgfx to arm64 2021-05-11 13:37:16 -04:00
vmwgfx_msg_x86.h drm/vmwgfx: Port vmwgfx to arm64 2021-05-11 13:37:16 -04:00
vmwgfx_overlay.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_page_dirty.c mm: use is_cow_mapping() across tree where proper 2021-03-13 11:27:30 -08:00
vmwgfx_prime.c
vmwgfx_reg.h drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_resource.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_resource_priv.h
vmwgfx_scrn.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_shader.c drm/vmwgfx: Remove the reservation semaphore 2021-05-11 13:37:15 -04:00
vmwgfx_simple_resource.c drm/vmwgfx: Remove the reservation semaphore 2021-05-11 13:37:15 -04:00
vmwgfx_so.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_so.h drm/vmwgfx: Add support for streamoutput with mob commands 2020-03-23 22:39:35 +01:00
vmwgfx_stdu.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_streamoutput.c drm/vmwgfx: Cleanup the cmd/fifo split 2021-01-14 12:15:49 -05:00
vmwgfx_surface.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_thp.c drm/ttm: move the page_alignment into the BO v2 2021-04-23 16:23:02 +02:00
vmwgfx_ttm_buffer.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_ttm_glue.c mm: use is_cow_mapping() across tree where proper 2021-03-13 11:27:30 -08:00
vmwgfx_va.c
vmwgfx_validation.c drm/vmwgfx: Add basic support for SVGA3 2021-05-11 13:37:15 -04:00
vmwgfx_validation.h