summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpi_processor.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-10-12 21:49:18 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-11-09 02:55:16 +0300
commit1be9c3a0a03330c8e61db30d442b31522092c291 (patch)
tree20fe43eb3a357e706aeecca0befcb9319f1f1cde /drivers/acpi/acpi_processor.c
parent39dae59d66acd86d1de24294bd2f343fd5e7a625 (diff)
downloadlinux-1be9c3a0a03330c8e61db30d442b31522092c291.tar.xz
ACPI: Mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpi_processor.c')
-rw-r--r--drivers/acpi/acpi_processor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/acpi_processor.c b/drivers/acpi/acpi_processor.c
index 86c10599d9f8..449d86d39965 100644
--- a/drivers/acpi/acpi_processor.c
+++ b/drivers/acpi/acpi_processor.c
@@ -82,6 +82,7 @@ static int acpi_processor_errata_piix4(struct pci_dev *dev)
* PIIX4 models.
*/
errata.piix4.throttle = 1;
+ /* fall through*/
case 2: /* PIIX4E */
case 3: /* PIIX4M */