mbox series

[v2,0/5] fix uninitialized variable warning

Message ID 20201111142203.2359370-1-kuhn.chenqun@huawei.com
Headers show
Series fix uninitialized variable warning | expand

Message

Chen Qun Nov. 11, 2020, 2:21 p.m. UTC
Hi all,
  There are some variables initialized warnings reported by the GCC_9.3 compiler.
This serial has added some default values or changed the assignment places for the variablies to fix them.

v1->v2:
--patch1: Drop it base on Max Filippov comment.
--patch2->patch1: Add Marcel Apfelbaum and  Yuval Shaia review comment.
--patch3->patch2: Add Philippe Mathieu-Daudé review comment.
--patch6->patch5: Add Philippe Mathieu-Daudé review comment.


Chen Qun (5):
  hw/rdma/rdma_backend: fix uninitialized variable warning in
    rdma_poll_cq()
  util/qemu-timer: fix uninitialized variable warning in
    timer_mod_anticipate_ns()
  util/qemu-timer: fix uninitialized variable warning for expire_time
  plugins/loader: fix uninitialized variable warning in
    plugin_reset_uninstall()
  migration: fix uninitialized variable warning in
    migrate_send_rp_req_pages()

 hw/rdma/rdma_backend.c | 2 +-
 migration/migration.c  | 2 +-
 plugins/loader.c       | 2 +-
 util/qemu-timer.c      | 8 +++-----
 4 files changed, 6 insertions(+), 8 deletions(-)

Comments

Chen Qun Dec. 11, 2020, 2:39 a.m. UTC | #1
Kindly ping!

Hi folks,
 Patch 1 to Patch 4 are not in the queue.  Could someone help pick them up?

Patch1~Patch4:
  hw/rdma/rdma_backend: fix uninitialized variable warning in
    rdma_poll_cq()
  util/qemu-timer: fix uninitialized variable warning in
    timer_mod_anticipate_ns()
  util/qemu-timer: fix uninitialized variable warning for expire_time
  plugins/loader: fix uninitialized variable warning in
    plugin_reset_uninstall()

Thanks,
Chen Qun

> -----Original Message-----
> From: Chenqun (kuhn)
> Sent: Wednesday, November 11, 2020 10:22 PM
> To: qemu-devel@nongnu.org; qemu-trivial@nongnu.org
> Cc: peter.maydell@linaro.org; Zhanghailiang
> <zhang.zhanghailiang@huawei.com>; ganqixin <ganqixin@huawei.com>;
> Chenqun (kuhn) <kuhn.chenqun@huawei.com>
> Subject: [PATCH v2 0/5] fix uninitialized variable warning
> 
> Hi all,
>   There are some variables initialized warnings reported by the GCC_9.3
> compiler.
> This serial has added some default values or changed the assignment places for
> the variablies to fix them.
> 
> v1->v2:
> --patch1: Drop it base on Max Filippov comment.
> --patch2->patch1: Add Marcel Apfelbaum and  Yuval Shaia review comment.
> --patch3->patch2: Add Philippe Mathieu-Daudé review comment.
> --patch6->patch5: Add Philippe Mathieu-Daudé review comment.
> 
> 
> Chen Qun (5):
>   hw/rdma/rdma_backend: fix uninitialized variable warning in
>     rdma_poll_cq()
>   util/qemu-timer: fix uninitialized variable warning in
>     timer_mod_anticipate_ns()
>   util/qemu-timer: fix uninitialized variable warning for expire_time
>   plugins/loader: fix uninitialized variable warning in
>     plugin_reset_uninstall()
>   migration: fix uninitialized variable warning in
>     migrate_send_rp_req_pages()
> 
>  hw/rdma/rdma_backend.c | 2 +-
>  migration/migration.c  | 2 +-
>  plugins/loader.c       | 2 +-
>  util/qemu-timer.c      | 8 +++-----
>  4 files changed, 6 insertions(+), 8 deletions(-)
> 
> --
> 2.27.0