]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu/soc15: Fix static checker warnings
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 3 Apr 2017 20:56:08 +0000 (16:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Apr 2017 03:33:26 +0000 (23:33 -0400)
commit1fdc639b7a2bd28067e449436305bc535345f6fc
tree492e14bbbfa56041325f9af4ea456eb8c771fc1c
parent1ce65f5284d6018916dd4a86865d0ce5f11d24b9
drm/amdgpu/soc15: Fix static checker warnings

vega10 is the only soc15 asic at the moment so these
warnings are invalid, but add a default case to silence
the warnings.

Fixes: 220ab9bd1ccf: "drm/amdgpu: soc15 enable (v3)"
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c