1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Tzafrir Cohen <nvidia@cohens.org.il>
Subject: kernel: Explicit fallthrough
diff --git a/kernel/mst_main.c b/kernel/mst_main.c
index 06d6f89..fc4a4a0 100644
--- a/kernel/mst_main.c
+++ b/kernel/mst_main.c
@@ -212,10 +212,13 @@ enum {
switch (*address_space) {
case AS_ICMD_EXT:
*address_space = AS_PCI_ICMD;
+ fallthrough;
case AS_ND_CRSPACE:
+ fallthrough;
case AS_CR_SPACE:
*address_space = AS_PCI_CRSPACE;
+ fallthrough;
case AS_ICMD:
*address_space = AS_PCI_ALL_ICMD;
|