drm/radeon/r420: mark expected switch fall-through

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Addresses-Coverity-ID: 1357317 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Gustavo A. R. Silva 2018-10-12 18:06:55 +02:00 committed by Alex Deucher
parent 6dfeb11a4b
commit fa2549800c
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ void r420_pipes_init(struct radeon_device *rdev)
default: default:
/* force to 1 pipe */ /* force to 1 pipe */
num_pipes = 1; num_pipes = 1;
/* fall through */
case 1: case 1:
tmp = (0 << 1); tmp = (0 << 1);
break; break;