diff mbox series

[v2,11/19] plugins/core: add missing break in cb_to_tcg_flags

Message ID 20200213225109.13120-12-alex.bennee@linaro.org
State Superseded
Headers show
Series testing and plugin updates | expand

Commit Message

Alex Bennée Feb. 13, 2020, 10:51 p.m. UTC
From: "Emilio G. Cota" <cota@braap.org>


Reported-by: Robert Henry <robhenry@microsoft.com>
Signed-off-by: Emilio G. Cota <cota@braap.org>

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

Message-Id: <20200105072940.32204-1-cota@braap.org>
Cc: qemu-stable@nongnu.org
---
 plugins/core.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.20.1

Comments

Philippe Mathieu-Daudé Feb. 14, 2020, 12:52 a.m. UTC | #1
On 2/13/20 11:51 PM, Alex Bennée wrote:
> From: "Emilio G. Cota" <cota@braap.org>

> 

> Reported-by: Robert Henry <robhenry@microsoft.com>

> Signed-off-by: Emilio G. Cota <cota@braap.org>

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

> Message-Id: <20200105072940.32204-1-cota@braap.org>


Fixes: 54cb65d8588

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


> Cc: qemu-stable@nongnu.org

> ---

>  plugins/core.c | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/plugins/core.c b/plugins/core.c

> index 9e1b9e7a915..ed863011baf 100644

> --- a/plugins/core.c

> +++ b/plugins/core.c

> @@ -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;

>
diff mbox series

Patch

diff --git a/plugins/core.c b/plugins/core.c
index 9e1b9e7a915..ed863011baf 100644
--- a/plugins/core.c
+++ b/plugins/core.c
@@ -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;