Skip to contentSkip to conversation

virtio-net: Fix a typo

PATCH Applied Philippe Mathieu-Daudé 3 participants 3 messages Jan 21, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 virtio-net: Fix a typo

Fixes 2974e916df8
---
 include/hw/virtio/virtio-net.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/virtio/virtio-net.h +1 -1
index c7ec1a755f..756eee8af0 100644
@@ -94,7 +94,7 @@ typedef struct VirtioNetRscUnit {
     uint16_t payload;       /* pure payload without virtio/eth/ip/tcp */
 } VirtioNetRscUnit;
 
-/* Coalesced segmant */
+/* Coalesced segment */
 typedef struct VirtioNetRscSeg {
     QTAILQ_ENTRY(VirtioNetRscSeg) next;
     void *buf;
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 21 lines · Philippe Mathieu-Daudé
Fixes 2974e916df8
---
 include/hw/virtio/virtio-net.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/virtio/virtio-net.h +1 -2
index c7ec1a755f..756eee8af0 100644
@@ -94,7 +94,7 @@ typedef struct VirtioNetRscUnit {
     uint16_t payload;       /* pure payload without virtio/eth/ip/tcp */
 } VirtioNetRscUnit;
 
-/* Coalesced segmant */
+/* Coalesced segment */
 typedef struct VirtioNetRscSeg {
     QTAILQ_ENTRY(VirtioNetRscSeg) next;
     void *buf;
--
Quoted 2 lines

2.20.1

thanks
-- PMM

#2 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 12 lines · Philippe Mathieu-Daudé
Fixes 2974e916df8
---
 include/hw/virtio/virtio-net.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/virtio/virtio-net.h +0 -0
index c7ec1a755f..756eee8af0 100644

include/hw/virtio/virtio-net.h typedef struct VirtioNetRscUnit { · line 100

Quoted 8 lines
include/hw/virtio/virtio-net.h +1 -1
@@ -94,7 +94,7 @@ typedef struct VirtioNetRscUnit {
     uint16_t payload;       /* pure payload without virtio/eth/ip/tcp */
 } VirtioNetRscUnit;
 
-/* Coalesced segmant */
+/* Coalesced segment */
 typedef struct VirtioNetRscSeg {
     QTAILQ_ENTRY(VirtioNetRscSeg) next;
     void *buf;

Applied to my trivial-patches branch.

Thanks,
Laurent