Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

firewire: core: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a fallthrough pseudo-keyword.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>

+1
+1
drivers/firewire/core-topology.c
··· 58 58 case SELFID_PORT_PARENT: 59 59 case SELFID_PORT_NCONN: 60 60 (*total_port_count)++; 61 + fallthrough; 61 62 case SELFID_PORT_NONE: 62 63 break; 63 64 }