* [PATCH][next] vdpa: Fix a couple of spelling mistakes in some messages
@ 2023-01-30 9:26 Colin Ian King
2023-01-31 5:23 ` Jason Wang
0 siblings, 1 reply; 2+ messages in thread
From: Colin Ian King @ 2023-01-30 9:26 UTC (permalink / raw)
To: Michael S . Tsirkin, Jason Wang, Stefano Garzarella, virtualization
Cc: kernel-janitors, linux-kernel
There are two spelling mistakes in some literal strings. Fix them.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
drivers/vdpa/vdpa.c | 2 +-
drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/vdpa/vdpa.c b/drivers/vdpa/vdpa.c
index 6821b2850bbb..a1bb5b92212d 100644
--- a/drivers/vdpa/vdpa.c
+++ b/drivers/vdpa/vdpa.c
@@ -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;
}
diff --git a/drivers/vdpa/vdpa_sim/vdpa_sim_net.c b/drivers/vdpa/vdpa_sim/vdpa_sim_net.c
index e827708adcca..862f405362de 100644
--- a/drivers/vdpa/vdpa_sim/vdpa_sim_net.c
+++ b/drivers/vdpa/vdpa_sim/vdpa_sim_net.c
@@ -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))
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH][next] vdpa: Fix a couple of spelling mistakes in some messages
2023-01-30 9:26 [PATCH][next] vdpa: Fix a couple of spelling mistakes in some messages Colin Ian King
@ 2023-01-31 5:23 ` Jason Wang
0 siblings, 0 replies; 2+ messages in thread
From: Jason Wang @ 2023-01-31 5:23 UTC (permalink / raw)
To: Colin Ian King
Cc: Michael S . Tsirkin, Stefano Garzarella, virtualization,
kernel-janitors, linux-kernel
On Mon, Jan 30, 2023 at 5:26 PM Colin Ian King <colin.i.king@gmail.com> wrote:
>
> There are two spelling mistakes in some literal strings. Fix them.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Thanks
> ---
> drivers/vdpa/vdpa.c | 2 +-
> drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/vdpa/vdpa.c b/drivers/vdpa/vdpa.c
> index 6821b2850bbb..a1bb5b92212d 100644
> --- a/drivers/vdpa/vdpa.c
> +++ b/drivers/vdpa/vdpa.c
> @@ -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;
> }
> diff --git a/drivers/vdpa/vdpa_sim/vdpa_sim_net.c b/drivers/vdpa/vdpa_sim/vdpa_sim_net.c
> index e827708adcca..862f405362de 100644
> --- a/drivers/vdpa/vdpa_sim/vdpa_sim_net.c
> +++ b/drivers/vdpa/vdpa_sim/vdpa_sim_net.c
> @@ -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))
> --
> 2.30.2
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-31 5:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 9:26 [PATCH][next] vdpa: Fix a couple of spelling mistakes in some messages Colin Ian King
2023-01-31 5:23 ` Jason Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).