firewire: core-topology: mark expected switch fall-through
PATCH 1/1 firewire: core-topology: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through.
Signed-off-by Gustavo A. R. Silva <[email protected]>
--- drivers/firewire/core-topology.c | 1 + 1 file changed, 1 insertion(+)
drivers/firewire/core-topology.c +1 -0
@@ -67,6 +67,7 @@ static u32 *count_ports(u32 *sid, int *total_port_count, int *child_port_count)switch (port_type) {case SELFID_PORT_CHILD : (*child_port_count)++; +/* fall through */ case SELFID_PORT_PARENT :case SELFID_PORT_NCONN : (*total_port_count)++;
Signature · 1 line
2.7.4