drm/nouveau: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:35:33 +0000 (12:35 -0600)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 4 Jun 2021 04:21:51 +0000 (23:21 -0500)
commitf49efb108aa4408feeca51ea4b4486075624017b
tree08318401e6c2ef2bcec5ff586e21771aeaa2ff7c
parent53004ee78d6273c994534ccf79d993098ac89769
drm/nouveau: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a couple
of warnings by explicitly adding a couple of break statements instead
of letting the code fall through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/nouveau/nouveau_connector.c