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

atm: fore200e: 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/atm/fore200e.c
··· 420 420 /* XXX shouldn't we *start* by deregistering the device? */ 421 421 atm_dev_deregister(fore200e->atm_dev); 422 422 423 + fallthrough; 423 424 case FORE200E_STATE_BLANK: 424 425 /* nothing to do for that state */ 425 426 break;