From: Gustavo A. R. Silva Date: Fri, 12 Oct 2018 16:06:55 +0000 (+0200) Subject: drm/radeon/r420: mark expected switch fall-through X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fa2549800c84aecb7a9559cdb3978865d1d50513;p=linux.git 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 Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/radeon/r420.c b/drivers/gpu/drm/radeon/r420.c index 45e1d4e60759f..2318d9e3ed96d 100644 --- a/drivers/gpu/drm/radeon/r420.c +++ b/drivers/gpu/drm/radeon/r420.c @@ -109,6 +109,7 @@ void r420_pipes_init(struct radeon_device *rdev) default: /* force to 1 pipe */ num_pipes = 1; + /* fall through */ case 1: tmp = (0 << 1); break;