]> 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)
commit2ada7c4c91a6a124460ee0afc2135055c55391ff
tree0580686a5ff4834693450fa5447708f19e316041
parent5583214fbc7b66ac74124373ae14deb6da49f95e
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