]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/therm: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:35:38 +0000 (12:35 -0600)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 4 Jun 2021 04:24:07 +0000 (23:24 -0500)
commit4a0cf9593d353ffa48e5f34a20372312de6ea1a9
tree6e596dece22704a99578e5f93f2a86478dc43eb3
parentd52ca39e0ea9fa21af4f0d74b1bbb07f4e3d7f1f
drm/nouveau/therm: Fix fall-through warnings for Clang

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

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c