radeon: fix coding issues reported from sparse
authorChen Li <chenli@uniontech.com>
Fri, 4 Jun 2021 08:40:32 +0000 (16:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:03:04 +0000 (16:03 -0400)
commitc0f2b640e53bbc8e2dd233b7584f4bb37014aac6
treecd6ce406d5c2c89e12b3903a6920fe2b388586ed
parent48b033098e456451899c8cd3ee3f742291b0edfa
radeon: fix coding issues reported from sparse

Also fix some coding issues reported from sparse.

Signed-off-by: Chen Li <chenli@uniontech.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_uvd.c