diff options
| author | Gustavo A. R. Silva <[email protected]> | 2019-08-20 20:55:26 +0000 |
|---|---|---|
| committer | Gustavo A. R. Silva <[email protected]> | 2019-08-21 00:43:33 +0000 |
| commit | 5274fdba8e3c04e9ac1ba457379afc8835f9aa0f (patch) | |
| tree | 7881695aeebec7ec89759a8058e2c43cc5debf2a /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | watchdog: wdt285: Mark expected switch fall-through (diff) | |
| download | kernel-5274fdba8e3c04e9ac1ba457379afc8835f9aa0f.tar.gz kernel-5274fdba8e3c04e9ac1ba457379afc8835f9aa0f.zip | |
power: supply: ab8500_charger: Mark expected switch fall-through
Mark switch cases where we are expecting to fall through.
Fix the following warning (Building: allmodconfig arm):
drivers/power/supply/ab8500_charger.c: In function ‘ab8500_charger_max_usb_curr’:
drivers/power/supply/ab8500_charger.c:738:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (di->vbus_detected) {
^
drivers/power/supply/ab8500_charger.c:745:2: note: here
case USB_STAT_HM_IDGND:
^~~~
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
