qmp: Fix a typo for a USO feature
PATCH 1/1 qmp: Fix a typo for a USO feature
There is a copy & paste error, USO6 should be there.
--- hw/virtio/virtio-qmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/virtio/virtio-qmp.c +1 -1
@@ -299,7 +299,7 @@ static const qmp_virtio_feature_map_t virtio_net_feature_map[] = {FEATURE_ENTRY (VIRTIO_NET_F_GUEST_USO4 , \"VIRTIO_NET_F_GUEST_USO4: Driver can receive USOv4" ),FEATURE_ENTRY (VIRTIO_NET_F_GUEST_USO6 , \ -"VIRTIO_NET_F_GUEST_USO4: Driver can receive USOv6" ), +"VIRTIO_NET_F_GUEST_USO6: Driver can receive USOv6" ),FEATURE_ENTRY (VIRTIO_NET_F_HOST_USO , \"VIRTIO_NET_F_HOST_USO: Device can receive USO" ), FEATURE_ENTRY(VIRTIO_NET_F_HASH_REPORT, \
Signature · 1 line
2.43.0
Quoted 4 lines · Jack Wang
There is a copy & paste error, USO6 should be there.
Fixes 58f81689789f ("qmp: update virtio feature maps, vhost-user-gpio introspection")Signed-off-by Jack Wang <[email protected]>
Can the FEATURE_ENTRY macro be updated to include the string in there automatically, please?
It's really pointless to repeat it.
Quoted 19 lines
--- hw/virtio/virtio-qmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/virtio/virtio-qmp.c +1
-1@@ -299,7 +299,7 @@ static const qmp_virtio_feature_map_t virtio_net_feature_map[] = {FEATURE_ENTRY (VIRTIO_NET_F_GUEST_USO4 , \"VIRTIO_NET_F_GUEST_USO4: Driver can receive USOv4" ),FEATURE_ENTRY (VIRTIO_NET_F_GUEST_USO6 , \ -"VIRTIO_NET_F_GUEST_USO4: Driver can receive USOv6" ), +"VIRTIO_NET_F_GUEST_USO6: Driver can receive USOv6" ),FEATURE_ENTRY (VIRTIO_NET_F_HOST_USO , \"VIRTIO_NET_F_HOST_USO: Device can receive USO" ), FEATURE_ENTRY(VIRTIO_NET_F_HASH_REPORT, \Signature · 1 line
2.43.0
Quoted 4 lines · Jack Wang
There is a copy & paste error, USO6 should be there.
Fixes 58f81689789f ("qmp: update virtio feature maps, vhost-user-gpio introspection")Signed-off-by Jack Wang <[email protected]>
It looks like this patch has been forgotten.
I can push it through the trivial-patches queue
if you like.
Thanks,
/mjt
Quoted 13 lines
hw/virtio/virtio-qmp.c +1
-1@@ -299,7 +299,7 @@ static const qmp_virtio_feature_map_t virtio_net_feature_map[] = {FEATURE_ENTRY (VIRTIO_NET_F_GUEST_USO4 , \"VIRTIO_NET_F_GUEST_USO4: Driver can receive USOv4" ),FEATURE_ENTRY (VIRTIO_NET_F_GUEST_USO6 , \ -"VIRTIO_NET_F_GUEST_USO4: Driver can receive USOv6" ), +"VIRTIO_NET_F_GUEST_USO6: Driver can receive USOv6" ),FEATURE_ENTRY (VIRTIO_NET_F_HOST_USO , \"VIRTIO_NET_F_HOST_USO: Device can receive USO" ), FEATURE_ENTRY(VIRTIO_NET_F_HASH_REPORT, \
Quoted 4 lines · Michael Tokarev
Quoted 2 lines · Jack Wang
There is a copy & paste error, USO6 should be there.
Quoted 9 lines
Quoted 2 lines
Fixes 58f81689789f ("qmp: update virtio feature maps, vhost-user-gpio introspection")Signed-off-by Jack Wang <[email protected]>It looks like this patch has been forgotten.
I can push it through the trivial-patches queue
if you like.Thanks,
Hi Michael,
Yes, that sounds excellent. Please go ahead and push it through the trivial-patches queue.
I agree the typo should be fixed regardless; I haven't had time to look into the FEATURE_ENTRY macros in detail yet.
Thanks,
Jinpu
Quoted 15 lines
/mjt
Quoted 13 lines
hw/virtio/virtio-qmp.c +1
-1@@ -299,7 +299,7 @@ static const qmp_virtio_feature_map_t virtio_net_feature_map[] = {FEATURE_ENTRY (VIRTIO_NET_F_GUEST_USO4 , \"VIRTIO_NET_F_GUEST_USO4: Driver can receive USOv4" ),FEATURE_ENTRY (VIRTIO_NET_F_GUEST_USO6 , \ -"VIRTIO_NET_F_GUEST_USO4: Driver can receive USOv6" ), +"VIRTIO_NET_F_GUEST_USO6: Driver can receive USOv6" ),FEATURE_ENTRY (VIRTIO_NET_F_HOST_USO , \"VIRTIO_NET_F_HOST_USO: Device can receive USO" ), FEATURE_ENTRY(VIRTIO_NET_F_HASH_REPORT, \