Skip to contentSkip to conversation

vdpa: Fix a couple of spelling mistakes in some messages

PATCH In review Colin Ian King 2 participants 2 messages Jan 30, 2023 – Jan 31, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vdpa: Fix a couple of spelling mistakes in some messages

There are two spelling mistakes in some literal strings. Fix them.

---
 drivers/vdpa/vdpa.c                  | 2 +-
 drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/vdpa/vdpa.c +1 -1
index 6821b2850bbb..a1bb5b92212d 100644
@@ -1016,7 +1016,7 @@ static int vdpa_dev_vendor_stats_fill(struct vdpa_device *vdev,
 	switch (device_id) {
 	case VIRTIO_ID_NET:
 		if (index > VIRTIO_NET_CTRL_MQ_VQ_PAIRS_MAX) {
-			NL_SET_ERR_MSG_MOD(info->extack, "queue index excceeds max value");
+			NL_SET_ERR_MSG_MOD(info->extack, "queue index exceeds max value");
 			err = -ERANGE;
 			break;
 		}
drivers/vdpa/vdpa_sim/vdpa_sim_net.c +1 -1
index e827708adcca..862f405362de 100644
@@ -324,7 +324,7 @@ static int vdpasim_net_get_stats(struct vdpasim *vdpasim, u16 idx,
 				      rx_errors, VDPA_ATTR_PAD))
 			break;
 		if (nla_put_string(msg, VDPA_ATTR_DEV_VENDOR_ATTR_NAME,
-				  "rx overrunss"))
+				  "rx overruns"))
 			break;
 		if (nla_put_u64_64bit(msg, VDPA_ATTR_DEV_VENDOR_ATTR_VALUE,
 				      rx_overruns, VDPA_ATTR_PAD))
Signature · 1 line
2.30.2
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Colin Ian King

There are two spelling mistakes in some literal strings. Fix them.

Thanks

Quoted 32 lines
---
 drivers/vdpa/vdpa.c                  | 2 +-
 drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/vdpa/vdpa.c +1 -1
index 6821b2850bbb..a1bb5b92212d 100644
@@ -1016,7 +1016,7 @@ static int vdpa_dev_vendor_stats_fill(struct vdpa_device *vdev,
        switch (device_id) {
        case VIRTIO_ID_NET:
                if (index > VIRTIO_NET_CTRL_MQ_VQ_PAIRS_MAX) {
-                       NL_SET_ERR_MSG_MOD(info->extack, "queue index excceeds max value");
+                       NL_SET_ERR_MSG_MOD(info->extack, "queue index exceeds max value");
                        err = -ERANGE;
                        break;
                }
drivers/vdpa/vdpa_sim/vdpa_sim_net.c +1 -2
index e827708adcca..862f405362de 100644
@@ -324,7 +324,7 @@ static int vdpasim_net_get_stats(struct vdpasim *vdpasim, u16 idx,
                                      rx_errors, VDPA_ATTR_PAD))
                        break;
                if (nla_put_string(msg, VDPA_ATTR_DEV_VENDOR_ATTR_NAME,
-                                 "rx overrunss"))
+                                 "rx overruns"))
                        break;
                if (nla_put_u64_64bit(msg, VDPA_ATTR_DEV_VENDOR_ATTR_VALUE,
                                      rx_overruns, VDPA_ATTR_PAD))
--
Quoted 2 lines

2.30.2

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization