]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/vmwgfx: Fix some static checker warnings
authorZack Rusin <zackr@vmware.com>
Wed, 9 Jun 2021 17:23:02 +0000 (13:23 -0400)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 5 Nov 2021 09:19:04 +0000 (10:19 +0100)
commitab644f4a0cbe63952774eff2715b093a99cfad01
treee21dd86164f01843edaa268cf1c81309949c19f8
parente55f18a4994b709c4434be833df790b12e2650f8
drm/vmwgfx: Fix some static checker warnings

BugLink: https://bugs.launchpad.net/bugs/1947781
[ Upstream commit 74231041d14030f1ae6582b9233bfe782ac23e33 ]

Fix some minor issues that Coverity spotted in the code. None
of that are serious but they're all valid concerns so fixing
them makes sense.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Martin Krastev <krastevm@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210609172307.131929-5-zackr@vmware.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/gpu/drm/ttm/ttm_memory.c
drivers/gpu/drm/vmwgfx/vmwgfx_binding.c
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_mob.c
drivers/gpu/drm/vmwgfx/vmwgfx_msg.c
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
drivers/gpu/drm/vmwgfx/vmwgfx_so.c
drivers/gpu/drm/vmwgfx/vmwgfx_validation.c