summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/dock.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-10-12 13:49:18 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-11-09 00:55:16 +0100
commit1be9c3a0a03330c8e61db30d442b31522092c291 (patch)
tree20fe43eb3a357e706aeecca0befcb9319f1f1cde /drivers/acpi/dock.c
parent39dae59d66acd86d1de24294bd2f343fd5e7a625 (diff)
downloadtalos-obmc-linux-1be9c3a0a03330c8e61db30d442b31522092c291.tar.gz
talos-obmc-linux-1be9c3a0a03330c8e61db30d442b31522092c291.zip
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/dock.c')
-rw-r--r--drivers/acpi/dock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c
index 2305e1ab978e..e3fc1f045e1c 100644
--- a/drivers/acpi/dock.c
+++ b/drivers/acpi/dock.c
@@ -482,6 +482,7 @@ int dock_notify(struct acpi_device *adev, u32 event)
surprise_removal = 1;
event = ACPI_NOTIFY_EJECT_REQUEST;
/* Fall back */
+ /* fall through */
case ACPI_NOTIFY_EJECT_REQUEST:
begin_undock(ds);
if ((immediate_undock && !(ds->flags & DOCK_IS_ATA))
OpenPOWER on IntegriCloud