]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (adt7462) Mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Thu, 10 Jan 2019 16:24:29 +0000 (10:24 -0600)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 18 Feb 2019 22:23:29 +0000 (14:23 -0800)
commit977d5c12ca7e19a7be82e4e77bac8483743b20bc
tree53a804bd0b2d44651b315967a0fe80041c3b3302
parent147cc3096e917f9eff6b9c4d81bf118f9805b9d7
hwmon: (adt7462) Mark expected switch fall-throughs

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Warning level 3 was used: -Wimplicit-fallthrough=3

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7462.c