kvm-tpr-opt: Fix instruction_is_ok() for push tpr
PATCH 1/1 kvm-tpr-opt: Fix instruction_is_ok() for push tpr
Missing break spotted by Coverity.
Signed-off-by Markus Armbruster <[email protected]>
--- kvm-tpr-opt.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
kvm-tpr-opt.c +1 -0
@@ -152,6 +152,7 @@ static int instruction_is_ok(CPUState *env, uint64_t rip, int is_write)if (modrm_reg (b2) !=6 || !is_abs_modrm (b2))return 0 ; addr_offset =2 ; +break ;default :return 0 ; }
Signature · 1 line
1.7.6.4
Marcelo Tosatti
AppliedQuoted 6 lines · Markus Armbruster
Missing break spotted by Coverity.
Signed-off-by Markus Armbruster <[email protected]>--- kvm-tpr-opt.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Applied, thanks.