drm/amdgpu/powerplay: fix missing break in switch statements
authorColin Ian King <colin.king@canonical.com>
Mon, 8 Oct 2018 16:22:28 +0000 (17:22 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Oct 2018 19:49:41 +0000 (14:49 -0500)
commit14b284832e7dea6f54f0adfd7bed105548b94e57
tree564ad6847d5b2dd8f7b566f993691d2efe310073
parent582f58de36834096a91cc1de2540c2f7269f850d
drm/amdgpu/powerplay: fix missing break in switch statements

There are several switch statements that are missing break statements.
Add missing breaks to handle any fall-throughs corner cases.

Detected by CoverityScan, CID#1457175 ("Missing break in switch")

Fixes: 18aafc59b106 ("drm/amd/powerplay: implement fw related smu interface for iceland.")
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c