[PATCH v3 00/10] trivial patchs for static code analyzer fixes

Chen Qun posted 10 patches 3 years, 8 months ago
Test docker-quick@centos7 failed
Test docker-mingw@fedora failed
Test checkpatch failed
Test FreeBSD failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200827110311.164316-1-kuhn.chenqun@huawei.com
Maintainers: Shannon Zhao <shannon.zhaosl@gmail.com>, Igor Mitsyanko <i.mitsyanko@gmail.com>, Igor Mammedov <imammedo@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Alex Williamson <alex.williamson@redhat.com>, Peter Maydell <peter.maydell@linaro.org>
hw/arm/omap1.c                | 1 -
hw/arm/virt-acpi-build.c      | 3 +--
hw/display/vga.c              | 1 -
hw/intc/exynos4210_combiner.c | 1 -
hw/net/virtio-net.c           | 1 -
hw/usb/bus.c                  | 4 ++--
hw/vfio/platform.c            | 2 +-
hw/virtio/vhost-user.c        | 2 +-
target/arm/translate-a64.c    | 7 ++-----
9 files changed, 7 insertions(+), 15 deletions(-)
[PATCH v3 00/10] trivial patchs for static code analyzer fixes
Posted by Chen Qun 3 years, 8 months ago
Since v2:
- Patch1: Addressed Li Qiang review comment.
- Patch2: Addressed Peter Maydell and Li Qiang review comment.
- Patch3:Delete memleak commit message, and Addressed Peter Maydell
  review comment.
- Patch4: Addressed Peter Maydell review comment.
- Patch6: Addressed Li Qiang review comment.
- Patch7: Addressed Stefan Hajnoczi and Li Qiang review comment.
- Patch8: Addressed Markus Armbruster review comment.
- Patch9: Change default return value in exynos4210_combiner_read().

Chen Qun (10):
  hw/arm/virt-acpi-build:Remove dead assignment in build_madt()
  hw/arm/omap1:Remove redundant statement in omap_clkdsp_read()
  target/arm/translate-a64:Remove dead assignment in
    handle_scalar_simd_shli()
  target/arm/translate-a64:Remove redundant statement in
    disas_simd_two_reg_misc_fp16()
  hw/virtio/vhost-user:Remove dead assignment in scrub_shadow_regions()
  hw/net/virtio-net:Remove redundant statement in
    virtio_net_rsc_tcp_ctrl_check()
  vfio/platform: Remove dead assignment in vfio_intp_interrupt()
  usb/bus: Remove dead assignment in usb_get_fw_dev_path()
  hw/intc: fix default registers value in exynos4210_combiner_read()
  hw/display/vga:Remove redundant statement in vga_draw_graphic()

 hw/arm/omap1.c                | 1 -
 hw/arm/virt-acpi-build.c      | 3 +--
 hw/display/vga.c              | 1 -
 hw/intc/exynos4210_combiner.c | 1 -
 hw/net/virtio-net.c           | 1 -
 hw/usb/bus.c                  | 4 ++--
 hw/vfio/platform.c            | 2 +-
 hw/virtio/vhost-user.c        | 2 +-
 target/arm/translate-a64.c    | 7 ++-----
 9 files changed, 7 insertions(+), 15 deletions(-)

-- 
2.23.0