]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 13 Jul 2021 19:50:47 +0000 (14:50 -0500)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 13 Jul 2021 19:50:47 +0000 (14:50 -0500)
commit91ab149de95429cd2b20f796993992a8d7a71353
tree0580686a5ff4834693450fa5447708f19e316041
parent9e6def66b99f9c1edc1a7af60547b415e4f2b658
power: supply: Fix fall-through warnings for Clang

Fix the following fallthrough warnings:

drivers/power/supply/ab8500_fg.c:1730:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
drivers/power/supply/abx500_chargalg.c:1155:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]

Reported-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
drivers/power/supply/ab8500_fg.c
drivers/power/supply/abx500_chargalg.c