aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2017-07-04 15:06:40 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-07-04 15:13:42 +1000
commit007f86d60012d03f2d4d741a0b777346e09696d8 (patch)
tree6c6cbaa1720c8e4873fbb084cb20f1b83e819d66
parent392b7ee3d07347bf529f6e916933a77e697562ca (diff)
downloadskiboot-007f86d60012d03f2d4d741a0b777346e09696d8.zip
skiboot-007f86d60012d03f2d4d741a0b777346e09696d8.tar.gz
skiboot-007f86d60012d03f2d4d741a0b777346e09696d8.tar.bz2
hw/occ: explicitly document fallthrough
Found by static analysis Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--hw/occ.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/occ.c b/hw/occ.c
index 832bf42..1424ef8 100644
--- a/hw/occ.c
+++ b/hw/occ.c
@@ -438,6 +438,7 @@ static bool add_cpu_pstate_properties(int *pstate_nom)
switch (occ_data->version) {
case 0x01:
ultra_turbo_supported = false;
+ /* fallthrough */
case 0x02:
if (proc_gen == proc_gen_p9) {
/**