diff options
| author | Gustavo A. R. Silva <[email protected]> | 2021-06-16 20:52:06 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-06-18 21:14:33 +0000 |
| commit | bb82ea3b0423fbbfd46ac27215df5af7a2fba923 (patch) | |
| tree | 175d0c055b402aff4bc097d6fb6fd327321368ec /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
| parent | drm/amd/display: remove unused variable 'dc' (diff) | |
| download | kernel-bb82ea3b0423fbbfd46ac27215df5af7a2fba923.tar.gz kernel-bb82ea3b0423fbbfd46ac27215df5af7a2fba923.zip | |
drm/amd/display: Fix fall-through warning for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix
the following warning by replacing a /* fall through */ comment
with the new pseudo-keyword macro fallthrough:
rivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c:672:4: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
case AUX_TRANSACTION_REPLY_I2C_OVER_AUX_DEFER:
^
Notice that Clang doesn't recognize /* fall through */ comments as
implicit fall-through markings, so in order to globally enable
-Wimplicit-fallthrough for Clang, these comments need to be
replaced with fallthrough; in the whole codebase.
Link: https://github.com/KSPP/linux/issues/115
Reviewed-by: Harry Wentland <[email protected]>
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_display.c')
0 files changed, 0 insertions, 0 deletions
