mbox series

[v1,0/5] Fix LoongArch coverity error and cpu name bug

Message ID 20220712080133.4176971-1-yangxiaojuan@loongson.cn (mailing list archive)
Headers show
Series Fix LoongArch coverity error and cpu name bug | expand

Message

Xiaojuan Yang July 12, 2022, 8:01 a.m. UTC
This series fix some errors for LoongArch virt machine
1. Fix coverity errors such as out-of-bounds, integer overflow,
cond_at_most, etc.
2. Fix loongarch_cpu_class_by_name function.

Xiaojuan Yang (5):
  target/loongarch/cpu: Fix cpu_class_by_name function
  hw/intc/loongarch_pch_pic: Fix coverity errors in update irq
  target/loongarch/cpu: Fix coverity errors about excp_names
  target/loongarch/tlb_helper: Fix coverity integer overflow error
  target/loongarch/op_helper: Fix coverity cond_at_most error

 hw/intc/loongarch_pch_pic.c   | 16 ++++++++++------
 target/loongarch/cpu.c        | 11 ++++-------
 target/loongarch/op_helper.c  |  2 +-
 target/loongarch/tlb_helper.c |  4 ++--
 4 files changed, 17 insertions(+), 16 deletions(-)