Skip to contentSkip to conversation

xilinx_ethlite: Clean up after commit 2f991ad

PATCH Applied Markus Armbruster 3 participants 5 messages Jan 21, 2015 – Feb 10, 2015 Arm/Zynq architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xilinx_ethlite: Clean up after commit 2f991ad

The "fall through" added by the commit is clearly intentional. Mark it so. Hushes up Coverity.

---
 hw/net/xilinx_ethlite.c | 1 +
 1 file changed, 1 insertion(+)
hw/net/xilinx_ethlite.c +1 -0
index 9536f64..ad6b553 100644
@@ -146,6 +146,7 @@ eth_write(void *opaque, hwaddr addr,
             if (!(value & CTRL_S)) {
                 qemu_flush_queued_packets(qemu_get_queue(s->nic));
             }
+            /* fall through */
         case R_TX_LEN0:
         case R_TX_LEN1:
         case R_TX_GIE0:
Signature · 1 line
1.9.3
#1 lore raw

Ping?

Quoted 20 lines · Markus Armbruster

The "fall through" added by the commit is clearly intentional. Mark it so. Hushes up Coverity.

---
 hw/net/xilinx_ethlite.c | 1 +
 1 file changed, 1 insertion(+)
hw/net/xilinx_ethlite.c +1 -0
index 9536f64..ad6b553 100644
@@ -146,6 +146,7 @@ eth_write(void *opaque, hwaddr addr,
             if (!(value & CTRL_S)) {
                 qemu_flush_queued_packets(qemu_get_queue(s->nic));
             }
+            /* fall through */
         case R_TX_LEN0:
         case R_TX_LEN1:
         case R_TX_GIE0:
Reviewed-by on v1 1/1
#2 lore raw
In reply to Markus Armbruster
Quoted 4 lines · Markus Armbruster

The "fall through" added by the commit is clearly intentional. Mark it so. Hushes up Coverity.

Quoted 20 lines
---
 hw/net/xilinx_ethlite.c | 1 +
 1 file changed, 1 insertion(+)
hw/net/xilinx_ethlite.c +1 -1
index 9536f64..ad6b553 100644
@@ -146,6 +146,7 @@ eth_write(void *opaque, hwaddr addr,
             if (!(value & CTRL_S)) {
                 qemu_flush_queued_packets(qemu_get_queue(s->nic));
             }
+            /* fall through */
         case R_TX_LEN0:
         case R_TX_LEN1:
         case R_TX_GIE0:
--

1.9.3

#3 lore raw

Since maintainers haven't picked it up: could this go in via -trivial?

Quoted 28 lines · Peter Crosthwaite
Quoted 4 lines · Markus Armbruster

The "fall through" added by the commit is clearly intentional. Mark it so. Hushes up Coverity.

Quoted 20 lines
---
 hw/net/xilinx_ethlite.c | 1 +
 1 file changed, 1 insertion(+)
hw/net/xilinx_ethlite.c +1 -1
index 9536f64..ad6b553 100644
@@ -146,6 +146,7 @@ eth_write(void *opaque, hwaddr addr,
             if (!(value & CTRL_S)) {
                 qemu_flush_queued_packets(qemu_get_queue(s->nic));
             }
+            /* fall through */
         case R_TX_LEN0:
         case R_TX_LEN1:
         case R_TX_GIE0:
--

1.9.3

#4 lore raw
Quoted 7 lines · Markus Armbruster

Since maintainers haven't picked it up: could this go in via -trivial?

Quoted 3 lines · Peter Crosthwaite
Quoted 2 lines · Markus Armbruster

The "fall through" added by the commit is clearly intentional. Mark it so. Hushes up Coverity.

Applied to -trivial, thank you!

/mjt