]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd52ca39e0ea9fa21af4f0d74b1bbb07f4e3d7f1f
tree08318401e6c2ef2bcec5ff586e21771aeaa2ff7c
parente305aab4930341b94acd2d083ae2648ef5e37dda
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