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>
This commit is contained in:

committed by
Rafael J. Wysocki

orang tua
39dae59d66
melakukan
1be9c3a0a0
@@ -381,6 +381,7 @@ unsigned int acpi_dev_get_irq_type(int triggering, int polarity)
|
||||
case ACPI_ACTIVE_BOTH:
|
||||
if (triggering == ACPI_EDGE_SENSITIVE)
|
||||
return IRQ_TYPE_EDGE_BOTH;
|
||||
/* fall through */
|
||||
default:
|
||||
return IRQ_TYPE_NONE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user