diff mbox

[4/6] hw/occ: explicitly document fallthrough

Message ID 20170704052106.23165-4-stewart@linux.vnet.ibm.com
State Accepted
Headers show

Commit Message

Stewart Smith July 4, 2017, 5:21 a.m. UTC
Found by static analysis

Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
---
 hw/occ.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/hw/occ.c b/hw/occ.c
index 832bf42db252..1424ef887eb3 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) {
 			/**