Skip to contentSkip to conversation

target/rx/translate: Add missing fall through comment

PATCH In review Philippe Mathieu-Daudé 2 participants 2 messages Apr 3, 2020 – Apr 4, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 target/rx/translate: Add missing fall through comment

Coverity reported a missing fall through comment, add it.

Fixes e5918d7d7f0 ("target/rx: TCG translation")
Reported-by Coverity (CID 1422222 MISSING_BREAK)

---
v2: Fixed typo 'comments -> comment'

---
 target/rx/translate.c | 1 +
 1 file changed, 1 insertion(+)
target/rx/translate.c +1 -0
index b3d7305f23..61e86653a4 100644
@@ -2362,6 +2362,7 @@ static void rx_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs)
         break;
     case DISAS_UPDATE:
         tcg_gen_movi_i32(cpu_pc, ctx->base.pc_next);
+        /* fall through */
     case DISAS_EXIT:
         tcg_gen_exit_tb(NULL, 0);
         break;
Signature · 1 line
2.21.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 11 lines · Philippe Mathieu-Daudé

Coverity reported a missing fall through comment, add it.

Fixes e5918d7d7f0 ("target/rx: TCG translation")
Reported-by Coverity (CID 1422222 MISSING_BREAK)

---
v2: Fixed typo 'comments -> comment'

---
 target/rx/translate.c | 1 +
 1 file changed, 1 insertion(+)

r~