diff options
| author | Gustavo A. R. Silva <[email protected]> | 2020-11-20 18:35:11 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-11-24 17:05:50 +0000 |
| commit | b251d357f53f1a43b27f64de1a6239e0e31e1cde (patch) | |
| tree | 55c27a41334cd6d62cfe2ea184d7a118c89b72d1 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | drm/amd/display: Fix fall-through warnings for Clang (diff) | |
| download | kernel-b251d357f53f1a43b27f64de1a6239e0e31e1cde.tar.gz kernel-b251d357f53f1a43b27f64de1a6239e0e31e1cde.zip | |
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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
