Skip to contentSkip to conversation

redundant code: Fix warnings reported by Clang static code analyzer

PATCH Applied Chen Qun 3 participants 14 messages Mar 25, 2020 – Apr 3, 2020 Arm Samsung Exynos

lore
Share & tools
lore

Chen Qun

author
#0 lore raw

v5 cover redundant code: Fix warnings reported by Clang static code analyzer

v1->v2:
- Patch1: Add John Snow review comment.
- Patch9: Move the 'dst_type' declaration to while() statement.
- Patch12: Add Philippe Mathieu-Daudé review comment.
- Patch13: Move the 'set' declaration to the for() statement.

v2->v3:
- Patch1: Add Kevin Wolf review comment.
- Patch2: Keep the 'flags' then use it(Base on Kevin's comments).
- Patch3: Add Kevin Wolf review comment.
- Patch9: Add Francisco Iglesias and Alistair Francis review comment.
- Patch10: Juan Quintela has added it to the queue and delete it.
- Patch12->Patch11: Add Philippe Mathieu-Daudé review comment.
- Patch13->Patch12: Add Philippe Mathieu-Daudé review comment.

v3->v4:
- Deleted the patches that have been merged in the v3.
- Modify "scsi/esp-pci" Patch, use g_assert with variable size.

v4->v5:
- Patch1: Add Laurent Vivier review comment and change the subject.
- Patch2: Use extract16() instead of delete bit operation statement.
- Patch3: Add Laurent Vivier review comment.

Chen Qun (3):
scsi/esp-pci: add g_assert() for fix clang analyzer warning in

    esp_pci_io_write()
  display/blizzard: use extract16() for fix clang analyzer warning in
    blizzard_draw_line16_32()
  timer/exynos4210_mct: Remove redundant statement in
    exynos4210_mct_write()
 hw/display/blizzard.c     | 10 ++++------
 hw/scsi/esp-pci.c         |  1 +
 hw/timer/exynos4210_mct.c |  4 ----
 3 files changed, 5 insertions(+), 10 deletions(-)
Signature · 1 line
2.23.0
author
#1 lore raw

PATCH v5 1/3 scsi/esp-pci: add g_assert() for fix clang analyzer warning in esp_pci_io_write()

Clang static code analyzer show warning:
hw/scsi/esp-pci.c:198:9: warning: Value stored to 'size' is never read

        size = 4;
        ^      ~

---
Cc: Paolo Bonzini <[email protected]>
Cc:Fam Zheng <[email protected]>

v1->v2:
keep ' size = 4' and add 'g_assert(size >= 4)' after if() statement. (Base on Laurent's comments)

---
 hw/scsi/esp-pci.c | 1 +
 1 file changed, 1 insertion(+)
hw/scsi/esp-pci.c +1 -0
index d5a1f9e017..497a8d5901 100644
@@ -197,6 +197,7 @@ static void esp_pci_io_write(void *opaque, hwaddr addr,
         addr &= ~3;
         size = 4;
     }
+    g_assert(size >= 4);
 
     if (addr < 0x40) {
         /* SCSI core reg */
Signature · 1 line
2.23.0
author
#2 lore raw

PATCH v5 2/3 display/blizzard: use extract16() for fix clang analyzer warning in blizzard_draw_line16_32()

In reply to Chen Qun

Clang static code analyzer show warning:
hw/display/blizzard.c:940:9: warning: Value stored to 'data' is never read

        data >>= 5;
        ^        ~

---
Cc: Andrzej Zaborowski <[email protected]>
Cc: Peter Maydell <[email protected]>

v1->v2: Use extract16() function instead of bit operation(Base on Laurent's comments).

---
 hw/display/blizzard.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
hw/display/blizzard.c +4 -6
index 359e399c2a..105241577d 100644
@@ -19,6 +19,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu/bitops.h"
 #include "ui/console.h"
 #include "hw/display/blizzard.h"
 #include "ui/pixel_ops.h"
@@ -932,12 +933,9 @@ static void blizzard_draw_line16_32(uint32_t *dest,
     const uint16_t *end = (const void *) src + width;
     while (src < end) {
         data = *src ++;
-        b = (data & 0x1f) << 3;
-        data >>= 5;
-        g = (data & 0x3f) << 2;
-        data >>= 6;
-        r = (data & 0x1f) << 3;
-        data >>= 5;
+        b = extract16(data, 0, 5) << 3;
+        g = extract16(data, 5, 6) << 2;
+        r = extract16(data, 11, 5) << 3;
         *dest++ = rgb_to_pixel32(r, g, b);
     }
 }
Signature · 1 line
2.23.0
Reviewed-by on v5 2/3
#3 lore raw

Re: [PATCH v5 2/3] display/blizzard: use extract16() for fix clang analyzer warning in blizzard_draw_line16_32()

Le 25/03/2020 à 03:59, Chen Qun a écrit :

Quoted 34 lines

Clang static code analyzer show warning:
hw/display/blizzard.c:940:9: warning: Value stored to 'data' is never read

        data >>= 5;
        ^        ~

---
Cc: Andrzej Zaborowski <[email protected]>
Cc: Peter Maydell <[email protected]>

v1->v2: Use extract16() function instead of bit operation(Base on Laurent's comments).

---
 hw/display/blizzard.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
hw/display/blizzard.c +1 -2
index 359e399c2a..105241577d 100644
@@ -19,6 +19,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu/bitops.h"
 #include "ui/console.h"
 #include "hw/display/blizzard.h"
 #include "ui/pixel_ops.h"
@@ -932,12 +933,9 @@ static void blizzard_draw_line16_32(uint32_t *dest,
     const uint16_t *end = (const void *) src + width;
     while (src < end) {
         data = *src ++;
-        b = (data & 0x1f) << 3;
-        data >>= 5;

hw/display/blizzard.c static void blizzard_draw_line16_32(uint32_t *dest, · line 941

Quoted 10 lines
hw/display/blizzard.c +3 -4
-        g = (data & 0x3f) << 2;
-        data >>= 6;
-        r = (data & 0x1f) << 3;
-        data >>= 5;
+        b = extract16(data, 0, 5) << 3;
+        g = extract16(data, 5, 6) << 2;
+        r = extract16(data, 11, 5) << 3;
         *dest++ = rgb_to_pixel32(r, g, b);
     }
 }
author
#4 lore raw

PATCH v5 3/3 timer/exynos4210_mct: Remove redundant statement in exynos4210_mct_write()

In reply to Chen Qun

Clang static code analyzer show warning:
hw/timer/exynos4210_mct.c:1370:9: warning: Value stored to 'index' is never read

        index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i);
        ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hw/timer/exynos4210_mct.c:1399:9: warning: Value stored to 'index' is never read
        index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i);
        ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hw/timer/exynos4210_mct.c:1441:9: warning: Value stored to 'index' is never read
        index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i);
        ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---
Cc: Igor Mitsyanko <[email protected]>
Cc: Peter Maydell <[email protected]>

---
 hw/timer/exynos4210_mct.c | 4 ----
 1 file changed, 4 deletions(-)
hw/timer/exynos4210_mct.c +0 -4
index 944120aea5..570cf7075b 100644
@@ -1367,7 +1367,6 @@ static void exynos4210_mct_write(void *opaque, hwaddr offset,
 
     case L0_TCNTB: case L1_TCNTB:
         lt_i = GET_L_TIMER_IDX(offset);
-        index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i);
 
         /*
          * TCNTB is updated to internal register only after CNT expired.
@@ -1396,7 +1395,6 @@ static void exynos4210_mct_write(void *opaque, hwaddr offset,
 
     case L0_ICNTB: case L1_ICNTB:
         lt_i = GET_L_TIMER_IDX(offset);
-        index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i);
 
         s->l_timer[lt_i].reg.wstat |= L_WSTAT_ICNTB_WRITE;
         s->l_timer[lt_i].reg.cnt[L_REG_CNT_ICNTB] = value &
@@ -1438,8 +1436,6 @@ static void exynos4210_mct_write(void *opaque, hwaddr offset,
 
     case L0_FRCNTB: case L1_FRCNTB:
         lt_i = GET_L_TIMER_IDX(offset);
-        index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i);
-
         DPRINTF("local timer[%d] FRCNTB write %llx\n", lt_i, value);
 
         s->l_timer[lt_i].reg.wstat |= L_WSTAT_FRCCNTB_WRITE;
Signature · 1 line
2.23.0
Reviewed-by on v5 3/3
#5 lore raw

Re: [PATCH v5 3/3] timer/exynos4210_mct: Remove redundant statement in exynos4210_mct_write()

Quoted 11 lines · Chen Qun

Clang static code analyzer show warning:
hw/timer/exynos4210_mct.c:1370:9: warning: Value stored to 'index' is never read

         index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i);
         ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hw/timer/exynos4210_mct.c:1399:9: warning: Value stored to 'index' is never read
         index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i);
         ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hw/timer/exynos4210_mct.c:1441:9: warning: Value stored to 'index' is never read
         index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i);
         ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Quoted 3 lines
Quoted 37 lines

---
Cc: Igor Mitsyanko <[email protected]>
Cc: Peter Maydell <[email protected]>

---
  hw/timer/exynos4210_mct.c | 4 ----
  1 file changed, 4 deletions(-)
hw/timer/exynos4210_mct.c +0 -4
index 944120aea5..570cf7075b 100644
@@ -1367,7 +1367,6 @@ static void exynos4210_mct_write(void *opaque, hwaddr offset,
 
      case L0_TCNTB: case L1_TCNTB:
          lt_i = GET_L_TIMER_IDX(offset);
-        index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i);
 
          /*
           * TCNTB is updated to internal register only after CNT expired.
@@ -1396,7 +1395,6 @@ static void exynos4210_mct_write(void *opaque, hwaddr offset,
 
      case L0_ICNTB: case L1_ICNTB:
          lt_i = GET_L_TIMER_IDX(offset);
-        index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i);
 
          s->l_timer[lt_i].reg.wstat |= L_WSTAT_ICNTB_WRITE;
          s->l_timer[lt_i].reg.cnt[L_REG_CNT_ICNTB] = value &
@@ -1438,8 +1436,6 @@ static void exynos4210_mct_write(void *opaque, hwaddr offset,
 
      case L0_FRCNTB: case L1_FRCNTB:
          lt_i = GET_L_TIMER_IDX(offset);
-        index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i);
-
          DPRINTF("local timer[%d] FRCNTB write %llx\n", lt_i, value);
 
          s->l_timer[lt_i].reg.wstat |= L_WSTAT_FRCCNTB_WRITE;
Reviewed-by Alistair Francis
#6 lore raw

Re: [PATCH v5 3/3] timer/exynos4210_mct: Remove redundant statement in exynos4210_mct_write()

Quoted 12 lines · Philippe Mathieu-Daudé
Quoted 11 lines · Chen Qun

Clang static code analyzer show warning:
hw/timer/exynos4210_mct.c:1370:9: warning: Value stored to 'index' is never read index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i);
         ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hw/timer/exynos4210_mct.c:1399:9: warning: Value stored to 'index' is never read index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i);
         ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hw/timer/exynos4210_mct.c:1441:9: warning: Value stored to 'index' is never read index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i);
         ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Quoted 5 lines
Quoted 3 lines

Oh and per https://www.mail-archive.com/[email protected]/msg691384.html:

Quoted 35 lines
Quoted 35 lines

---
Cc: Igor Mitsyanko <[email protected]>
Cc: Peter Maydell <[email protected]>
---
  hw/timer/exynos4210_mct.c | 4 ----

  1 file changed, 4 deletions(-)
hw/timer/exynos4210_mct.c +0 -0
index 944120aea5..570cf7075b 100644
@@ -1367,7 +1367,6 @@ static void exynos4210_mct_write(void *opaque, 
 hwaddr offset,

      case L0_TCNTB: case L1_TCNTB:
          lt_i = GET_L_TIMER_IDX(offset);
-        index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i);
          /*
           * TCNTB is updated to internal register only after CNT expired.

hw/timer/exynos4210_mct.c +0 -0
@@ -1396,7 +1395,6 @@ static void exynos4210_mct_write(void *opaque, 
 hwaddr offset,

      case L0_ICNTB: case L1_ICNTB:
          lt_i = GET_L_TIMER_IDX(offset);
-        index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i); s->l_timer[lt_i].reg.wstat |= L_WSTAT_ICNTB_WRITE; s->l_timer[lt_i].reg.cnt[L_REG_CNT_ICNTB] = value &

hw/timer/exynos4210_mct.c +0 -0
@@ -1438,8 +1436,6 @@ static void exynos4210_mct_write(void *opaque, 
 hwaddr offset,

      case L0_FRCNTB: case L1_FRCNTB:
          lt_i = GET_L_TIMER_IDX(offset);
-        index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i);
-
          DPRINTF("local timer[%d] FRCNTB write %llx\n", lt_i, value); s->l_timer[lt_i].reg.wstat |= L_WSTAT_FRCCNTB_WRITE;

#7 lore raw
In reply to Chen Qun

Ping!

This series has been reviewed. Could someone please pick this up (e.g. qemu-trivial?)?

Quoted 49 lines

-----Original Message-----
From: Chenqun (kuhn)
Sent: Wednesday, March 25, 2020 10:59 AM
To: [email protected]; [email protected]
Cc: Zhanghailiang <[email protected]>; [email protected]; [email protected]; Chenqun (kuhn) <[email protected]>
Subject: [PATCH v5 0/3] redundant code: Fix warnings reported by Clang static code analyzer

v1->v2:
- Patch1: Add John Snow review comment.
- Patch9: Move the 'dst_type' declaration to while() statement.
- Patch12: Add Philippe Mathieu-Daud茅 review comment.
- Patch13: Move the 'set' declaration to the for() statement.

v2->v3:
- Patch1: Add Kevin Wolf review comment.
- Patch2: Keep the 'flags' then use it(Base on Kevin's comments).
- Patch3: Add Kevin Wolf review comment.
- Patch9: Add Francisco Iglesias and Alistair Francis review comment.
- Patch10: Juan Quintela has added it to the queue and delete it.
- Patch12->Patch11: Add Philippe Mathieu-Daud茅 review comment.
- Patch13->Patch12: Add Philippe Mathieu-Daud茅 review comment.

v3->v4:
- Deleted the patches that have been merged in the v3.
- Modify "scsi/esp-pci" Patch, use g_assert with variable size.

v4->v5:
- Patch1: Add Laurent Vivier review comment and change the subject.
- Patch2: Use extract16() instead of delete bit operation statement.
- Patch3: Add Laurent Vivier review comment.

Chen Qun (3):
scsi/esp-pci: add g_assert() for fix clang analyzer warning in
esp_pci_io_write()
display/blizzard: use extract16() for fix clang analyzer warning in
blizzard_draw_line16_32()
timer/exynos4210_mct: Remove redundant statement in
exynos4210_mct_write()

hw/display/blizzard.c     | 10 ++++------
hw/scsi/esp-pci.c         |  1 +
hw/timer/exynos4210_mct.c |  4 ----
3 files changed, 5 insertions(+), 10 deletions(-)

--
2.23.0

#8 lore raw

Le 03/04/2020 à 09:51, Chenqun (kuhn) a écrit :

Quoted 3 lines

Ping!

This series has been reviewed. Could someone please pick this up (e.g. qemu-trivial?)?

As we are in hard feature freeze now and this is not critical bug fixes I'm going to queue them for 5.1 except if you have good arguments to have them in 5.0.

Thanks,
Laurent

Quoted 50 lines
Quoted 49 lines

-----Original Message-----
From: Chenqun (kuhn)
Sent: Wednesday, March 25, 2020 10:59 AM
To: [email protected]; [email protected]
Cc: Zhanghailiang <[email protected]>; [email protected]; [email protected]; Chenqun (kuhn) <[email protected]>
Subject: [PATCH v5 0/3] redundant code: Fix warnings reported by Clang static code analyzer

v1->v2:
- Patch1: Add John Snow review comment.
- Patch9: Move the 'dst_type' declaration to while() statement.
- Patch12: Add Philippe Mathieu-Daud茅 review comment.
- Patch13: Move the 'set' declaration to the for() statement.

v2->v3:
- Patch1: Add Kevin Wolf review comment.
- Patch2: Keep the 'flags' then use it(Base on Kevin's comments).
- Patch3: Add Kevin Wolf review comment.
- Patch9: Add Francisco Iglesias and Alistair Francis review comment.
- Patch10: Juan Quintela has added it to the queue and delete it.
- Patch12->Patch11: Add Philippe Mathieu-Daud茅 review comment.
- Patch13->Patch12: Add Philippe Mathieu-Daud茅 review comment.

v3->v4:
- Deleted the patches that have been merged in the v3.
- Modify "scsi/esp-pci" Patch, use g_assert with variable size.

v4->v5:
- Patch1: Add Laurent Vivier review comment and change the subject.
- Patch2: Use extract16() instead of delete bit operation statement.
- Patch3: Add Laurent Vivier review comment.

Chen Qun (3):
scsi/esp-pci: add g_assert() for fix clang analyzer warning in
esp_pci_io_write()
display/blizzard: use extract16() for fix clang analyzer warning in
blizzard_draw_line16_32()
timer/exynos4210_mct: Remove redundant statement in
exynos4210_mct_write()

hw/display/blizzard.c     | 10 ++++------
hw/scsi/esp-pci.c         |  1 +
hw/timer/exynos4210_mct.c |  4 ----
3 files changed, 5 insertions(+), 10 deletions(-)

--
2.23.0

#9 lore raw
Quoted 9 lines

-----Original Message-----
From: Laurent Vivier [mailto:[email protected]]
Sent: Friday, April 3, 2020 4:04 PM
To: Chenqun (kuhn) <[email protected]>; [email protected]; [email protected]
Cc: Zhanghailiang <[email protected]>; [email protected]
Subject: Re: [PATCH v5 0/3] redundant code: Fix warnings reported by Clang static code analyzer

Quoted 9 lines

Le 03/04/2020 à 09:51, Chenqun (kuhn) a écrit :

Quoted 3 lines

Ping!

This series has been reviewed. Could someone please pick this up (e.g. qemu-

trivial?)?

As we are in hard feature freeze now and this is not critical bug fixes I'm going to queue them for 5.1 except if you have good arguments to have them in 5.0.

OK, I get it.
It is important to ensure a stable version!

Thanks.

Quoted 51 lines
Quoted 51 lines
Quoted 50 lines

-----Original Message-----
From: Chenqun (kuhn)
Sent: Wednesday, March 25, 2020 10:59 AM
To: [email protected]; [email protected]
Cc: Zhanghailiang <[email protected]>; [email protected]; [email protected]; Chenqun (kuhn) <[email protected]>
Subject: [PATCH v5 0/3] redundant code: Fix warnings reported by Clang static code analyzer

v1->v2:
- Patch1: Add John Snow review comment.
- Patch9: Move the 'dst_type' declaration to while() statement.
- Patch12: Add Philippe Mathieu-Daud茅 review comment.
- Patch13: Move the 'set' declaration to the for() statement.

v2->v3:
- Patch1: Add Kevin Wolf review comment.
- Patch2: Keep the 'flags' then use it(Base on Kevin's comments).
- Patch3: Add Kevin Wolf review comment.
- Patch9: Add Francisco Iglesias and Alistair Francis review comment.
- Patch10: Juan Quintela has added it to the queue and delete it.
- Patch12->Patch11: Add Philippe Mathieu-Daud茅 review comment.
- Patch13->Patch12: Add Philippe Mathieu-Daud茅 review comment.

v3->v4:
- Deleted the patches that have been merged in the v3.
- Modify "scsi/esp-pci" Patch, use g_assert with variable size.

v4->v5:
- Patch1: Add Laurent Vivier review comment and change the subject.
- Patch2: Use extract16() instead of delete bit operation statement.
- Patch3: Add Laurent Vivier review comment.

Chen Qun (3):
scsi/esp-pci: add g_assert() for fix clang analyzer warning in
esp_pci_io_write()
display/blizzard: use extract16() for fix clang analyzer warning in
blizzard_draw_line16_32()
timer/exynos4210_mct: Remove redundant statement in
exynos4210_mct_write()

hw/display/blizzard.c     | 10 ++++------
hw/scsi/esp-pci.c         |  1 +
hw/timer/exynos4210_mct.c |  4 ----
3 files changed, 5 insertions(+), 10 deletions(-)

--
2.23.0

#10 lore raw

Le 03/04/2020 à 10:10, Chenqun (kuhn) a écrit :

Quoted 12 lines
Quoted 12 lines

-----Original Message-----
From: Laurent Vivier [mailto:[email protected]]
Sent: Friday, April 3, 2020 4:04 PM
To: Chenqun (kuhn) <[email protected]>; [email protected]; [email protected]
Cc: Zhanghailiang <[email protected]>; [email protected]
Subject: Re: [PATCH v5 0/3] redundant code: Fix warnings reported by Clang static code analyzer

Le 03/04/2020 à 09:51, Chenqun (kuhn) a écrit :

Quoted 2 lines

Ping!

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

This series has been reviewed. Could someone please pick this up (e.g. qemu-

trivial?)?

As we are in hard feature freeze now and this is not critical bug fixes I'm going to queue them for 5.1 except if you have good arguments to have them in 5.0.

OK, I get it.
It is important to ensure a stable version!

Queued to my linux-user-for-5.1 queue.

Thanks,
Laurent

#11 lore raw

Le 03/04/2020 à 10:22, Laurent Vivier a écrit :

Quoted 16 lines

Le 03/04/2020 à 10:10, Chenqun (kuhn) a écrit :

Quoted 15 lines
Quoted 15 lines

-----Original Message-----
From: Laurent Vivier [mailto:[email protected]]
Sent: Friday, April 3, 2020 4:04 PM
To: Chenqun (kuhn) <[email protected]>; [email protected]; [email protected]
Cc: Zhanghailiang <[email protected]>; [email protected]
Subject: Re: [PATCH v5 0/3] redundant code: Fix warnings reported by Clang static code analyzer

Le 03/04/2020 à 09:51, Chenqun (kuhn) a écrit :

Quoted 3 lines

Ping!

This series has been reviewed. Could someone please pick this up (e.g. qemu-

trivial?)?

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

As we are in hard feature freeze now and this is not critical bug fixes I'm going to queue them for 5.1 except if you have good arguments to have them in 5.0.

OK, I get it.
It is important to ensure a stable version!

Queued to my linux-user-for-5.1 queue.

I meant trivial-patches-for-5.1

Thanks,
Laurent

#12 lore raw
Quoted 31 lines

-----Original Message-----
From: Laurent Vivier [mailto:[email protected]]
Sent: Friday, April 3, 2020 4:28 PM
To: Chenqun (kuhn) <[email protected]>; [email protected]; [email protected]
Cc: Zhanghailiang <[email protected]>; [email protected]
Subject: Re: [PATCH v5 0/3] redundant code: Fix warnings reported by Clang static code analyzer

Le 03/04/2020 à 10:22, Laurent Vivier a écrit :

Quoted 5 lines

Le 03/04/2020 à 10:10, Chenqun (kuhn) a écrit :

Quoted 4 lines
Quoted 4 lines

-----Original Message-----
From: Laurent Vivier [mailto:[email protected]]
Sent: Friday, April 3, 2020 4:04 PM
To: Chenqun (kuhn) <[email protected]>; qemu-

[email protected];

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

[email protected]
Cc: Zhanghailiang <[email protected]>; [email protected]
Subject: Re: [PATCH v5 0/3] redundant code: Fix warnings reported by Clang static code analyzer

Le 03/04/2020 à 09:51, Chenqun (kuhn) a écrit :

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

Ping!

This series has been reviewed. Could someone please pick this up (e.g. qemu-

trivial?)?

As we are in hard feature freeze now and this is not critical bug fixes I'm going to queue them for 5.1 except if you have good arguments to

Quoted 9 lines

have them in 5.0.

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

OK, I get it.
It is important to ensure a stable version!

Queued to my linux-user-for-5.1 queue.

I meant trivial-patches-for-5.1

Thanks. Could you add another trivial patch to the queue by the way?
https://lists.gnu.org/archive/html/qemu-devel/2020-03/msg07534.html

#13 lore raw

Le 03/04/2020 à 10:41, Chenqun (kuhn) a écrit :

Quoted 36 lines
Quoted 36 lines

-----Original Message-----
From: Laurent Vivier [mailto:[email protected]]
Sent: Friday, April 3, 2020 4:28 PM
To: Chenqun (kuhn) <[email protected]>; [email protected]; [email protected]
Cc: Zhanghailiang <[email protected]>; [email protected]
Subject: Re: [PATCH v5 0/3] redundant code: Fix warnings reported by Clang static code analyzer

Le 03/04/2020 à 10:22, Laurent Vivier a écrit :

Quoted 5 lines

Le 03/04/2020 à 10:10, Chenqun (kuhn) a écrit :

Quoted 4 lines
Quoted 4 lines

-----Original Message-----
From: Laurent Vivier [mailto:[email protected]]
Sent: Friday, April 3, 2020 4:04 PM
To: Chenqun (kuhn) <[email protected]>; qemu-

[email protected];

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

[email protected]
Cc: Zhanghailiang <[email protected]>; [email protected]
Subject: Re: [PATCH v5 0/3] redundant code: Fix warnings reported by Clang static code analyzer

Le 03/04/2020 à 09:51, Chenqun (kuhn) a écrit :

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

Ping!

This series has been reviewed. Could someone please pick this up (e.g. qemu-

trivial?)?

As we are in hard feature freeze now and this is not critical bug fixes I'm going to queue them for 5.1 except if you have good arguments to

have them in 5.0.

Quoted 4 lines
Quoted 3 lines
Quoted 1 line

OK, I get it.
It is important to ensure a stable version!

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Queued to my linux-user-for-5.1 queue.

I meant trivial-patches-for-5.1

Thanks. Could you add another trivial patch to the queue by the way?
https://lists.gnu.org/archive/html/qemu-devel/2020-03/msg07534.html

Yes, done.

Thanks,
Laurent