Skip to contentSkip to conversation

plugins/core: add missing break in cb_to_tcg_flags

PATCH Applied Emilio G. Cota 3 participants 3 messages Jan 5, 2020 – Feb 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 plugins/core: add missing break in cb_to_tcg_flags

---
 plugins/core.c | 1 +
 1 file changed, 1 insertion(+)
plugins/core.c +1 -0
index 9e1b9e7a91..ed863011ba 100644
@@ -286,6 +286,7 @@ static inline uint32_t cb_to_tcg_flags(enum qemu_plugin_cb_flags flags)
     switch (flags) {
     case QEMU_PLUGIN_CB_RW_REGS:
         ret = 0;
+        break;
     case QEMU_PLUGIN_CB_R_REGS:
         ret = TCG_CALL_NO_WG;
         break;
Signature · 1 line
2.20.1
Applied
#2 lore raw
In reply to Emilio G. Cota
Quoted 2 lines · Emilio G. Cota

Queued to plugins/next, thanks.

Quoted 16 lines
---
 plugins/core.c | 1 +
 1 file changed, 1 insertion(+)
plugins/core.c +1 -0
index 9e1b9e7a91..ed863011ba 100644
@@ -286,6 +286,7 @@ static inline uint32_t cb_to_tcg_flags(enum qemu_plugin_cb_flags flags)
     switch (flags) {
     case QEMU_PLUGIN_CB_RW_REGS:
         ret = 0;
+        break;
     case QEMU_PLUGIN_CB_R_REGS:
         ret = TCG_CALL_NO_WG;
         break;
Signature · 1 line
Alex Bennée