diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-11-20 12:35:11 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-11-24 12:05:50 -0500 |
commit | b251d357f53f1a43b27f64de1a6239e0e31e1cde (patch) | |
tree | 55c27a41334cd6d62cfe2ea184d7a118c89b72d1 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
parent | 910e834db00e40942e79226d638f0f2217eeedd6 (diff) |
drm/amd/pm: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a couple
of warnings by explicitly adding a break statement instead of letting
the code fall through to the next case, and a fallthrough pseudo-keyword
as a replacement for a /* fall through */ comment,
Notice that Clang doesn't recognize /* fall through */ comments as
implicit fall-through markings.
Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions