mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] vdpa: fix typos in comments
@ 2026-09-04 10:44 Hemanth Selam
  2026-11-02  9:35 ` Michael S. Tsirkin
  0 siblings, 1 reply; 5+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:44 UTC (permalink / raw)
  To: Michael S. Tsirkin, Jason Wang, Xuan Zhuo, Eugenio Pérez
  Cc: linux-kernel, virtualization, netdev

Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt.  Only touches comments, no code
changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 drivers/vdpa/alibaba/eni_vdpa.c | 2 +-
 include/uapi/linux/virtio_net.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/vdpa/alibaba/eni_vdpa.c b/drivers/vdpa/alibaba/eni_vdpa.c
index fd6fdba46094..6bb5f6ef57cf 100644
--- a/drivers/vdpa/alibaba/eni_vdpa.c
+++ b/drivers/vdpa/alibaba/eni_vdpa.c
@@ -273,7 +273,7 @@ static int eni_vdpa_set_vq_state(struct vdpa_device *vdpa, u16 qid,
 	struct virtio_pci_legacy_device *ldev = vdpa_to_ldev(vdpa);
 	const struct vdpa_vq_state_split *split = &state->split;
 
-	/* ENI is build upon virtio-pci specfication which not support
+	/* ENI is build upon virtio-pci specification which not support
 	 * to set state of virtqueue. But if the state is equal to the
 	 * device initial state by chance, we can let it go.
 	 */
diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h
index 1db45b01532b..4a458ebb2567 100644
--- a/include/uapi/linux/virtio_net.h
+++ b/include/uapi/linux/virtio_net.h
@@ -316,7 +316,7 @@ struct virtio_net_ctrl_mac {
  * Control link announce acknowledgement
  *
  * The command VIRTIO_NET_CTRL_ANNOUNCE_ACK is used to indicate that
- * driver has recevied the notification; device would clear the
+ * driver has received the notification; device would clear the
  * VIRTIO_NET_S_ANNOUNCE bit in the status field after it receives
  * this command.
  */
-- 
2.48.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] vdpa: fix typos in comments
  2026-09-04 10:44 [PATCH] vdpa: fix typos in comments Hemanth Selam
@ 2026-11-02  9:35 ` Michael S. Tsirkin
  2026-11-05  6:36   ` [PATCH v2 0/2] " Hemanth Selam
  0 siblings, 1 reply; 5+ messages in thread
From: Michael S. Tsirkin @ 2026-11-02  9:35 UTC (permalink / raw)
  To: Hemanth Selam
  Cc: Jason Wang, Xuan Zhuo, Eugenio Pérez, linux-kernel,
	virtualization, netdev

On Fri, Sep 04, 2026 at 04:14:38PM +0530, Hemanth Selam wrote:
> Fix typos in comments, reported by scripts/checkpatch.pl using the
> misspelling list in scripts/spelling.txt.  Only touches comments, no code
> changes.
> 
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
> ---
>  drivers/vdpa/alibaba/eni_vdpa.c | 2 +-
>  include/uapi/linux/virtio_net.h | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/vdpa/alibaba/eni_vdpa.c b/drivers/vdpa/alibaba/eni_vdpa.c
> index fd6fdba46094..6bb5f6ef57cf 100644
> --- a/drivers/vdpa/alibaba/eni_vdpa.c
> +++ b/drivers/vdpa/alibaba/eni_vdpa.c
> @@ -273,7 +273,7 @@ static int eni_vdpa_set_vq_state(struct vdpa_device *vdpa, u16 qid,
>  	struct virtio_pci_legacy_device *ldev = vdpa_to_ldev(vdpa);
>  	const struct vdpa_vq_state_split *split = &state->split;
>  
> -	/* ENI is build upon virtio-pci specfication which not support
> +	/* ENI is build upon virtio-pci specification which not support
>  	 * to set state of virtqueue. But if the state is equal to the
>  	 * device initial state by chance, we can let it go.
>  	 */


given you are bothering - built, not build

> diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h
> index 1db45b01532b..4a458ebb2567 100644
> --- a/include/uapi/linux/virtio_net.h
> +++ b/include/uapi/linux/virtio_net.h
> @@ -316,7 +316,7 @@ struct virtio_net_ctrl_mac {
>   * Control link announce acknowledgement
>   *
>   * The command VIRTIO_NET_CTRL_ANNOUNCE_ACK is used to indicate that
> - * driver has recevied the notification; device would clear the
> + * driver has received the notification; device would clear the
>   * VIRTIO_NET_S_ANNOUNCE bit in the status field after it receives
>   * this command.
>   */

separate patch pls.

> -- 
> 2.48.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2 0/2] vdpa: fix typos in comments
  2026-11-02  9:35 ` Michael S. Tsirkin
@ 2026-11-05  6:36   ` Hemanth Selam
  2026-11-05  6:36     ` [PATCH v2 1/2] vdpa: alibaba: fix typos in comment Hemanth Selam
  2026-11-05  6:36     ` [PATCH v2 2/2] virtio_net: fix typo in the ANNOUNCE_ACK comment Hemanth Selam
  0 siblings, 2 replies; 5+ messages in thread
From: Hemanth Selam @ 2026-11-05  6:36 UTC (permalink / raw)
  To: Michael S. Tsirkin, Jason Wang, Eugenio Pérez, Xuan Zhuo,
	Krzysztof Kozlowski, Xiong Weimin
  Cc: virtualization, netdev, linux-kernel

v1 was a single patch touching both drivers/vdpa/alibaba/eni_vdpa.c and
include/uapi/linux/virtio_net.h.  Michael asked for the uapi header to be
split out, and pointed out that the eni_vdpa.c comment also says "ENI is
build upon" where it means "built", so patch 1 now fixes that alongside
the "specfication" it was sent for.

Nothing outside comments changes in either patch.

v1: https://lore.kernel.org/all/20260904104440.18772-1-hemanth.selam@gmail.com/

Hemanth Selam (2):
  vdpa: alibaba: fix typos in comment
  virtio_net: fix typo in the ANNOUNCE_ACK comment

 drivers/vdpa/alibaba/eni_vdpa.c | 2 +-
 include/uapi/linux/virtio_net.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
-- 
2.48.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2 1/2] vdpa: alibaba: fix typos in comment
  2026-11-05  6:36   ` [PATCH v2 0/2] " Hemanth Selam
@ 2026-11-05  6:36     ` Hemanth Selam
  2026-11-05  6:36     ` [PATCH v2 2/2] virtio_net: fix typo in the ANNOUNCE_ACK comment Hemanth Selam
  1 sibling, 0 replies; 5+ messages in thread
From: Hemanth Selam @ 2026-11-05  6:36 UTC (permalink / raw)
  To: Michael S. Tsirkin, Jason Wang, Eugenio Pérez, Xuan Zhuo,
	Krzysztof Kozlowski, Xiong Weimin
  Cc: virtualization, netdev, linux-kernel

The comment above eni_vdpa_set_vq_state() misspells "specification",
and "ENI is build upon" should be "built".

Link: https://lore.kernel.org/all/20261102043526-mutt-send-email-mst@kernel.org/
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 drivers/vdpa/alibaba/eni_vdpa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/vdpa/alibaba/eni_vdpa.c b/drivers/vdpa/alibaba/eni_vdpa.c
index 1288402d3dd8..af163b4f9259 100644
--- a/drivers/vdpa/alibaba/eni_vdpa.c
+++ b/drivers/vdpa/alibaba/eni_vdpa.c
@@ -276,7 +276,7 @@ static int eni_vdpa_set_vq_state(struct vdpa_device *vdpa, u16 qid,
 	struct virtio_pci_legacy_device *ldev = vdpa_to_ldev(vdpa);
 	const struct vdpa_vq_state_split *split = &state->split;
 
-	/* ENI is build upon virtio-pci specfication which not support
+	/* ENI is built upon virtio-pci specification which not support
 	 * to set state of virtqueue. But if the state is equal to the
 	 * device initial state by chance, we can let it go.
 	 */
-- 
2.48.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2 2/2] virtio_net: fix typo in the ANNOUNCE_ACK comment
  2026-11-05  6:36   ` [PATCH v2 0/2] " Hemanth Selam
  2026-11-05  6:36     ` [PATCH v2 1/2] vdpa: alibaba: fix typos in comment Hemanth Selam
@ 2026-11-05  6:36     ` Hemanth Selam
  1 sibling, 0 replies; 5+ messages in thread
From: Hemanth Selam @ 2026-11-05  6:36 UTC (permalink / raw)
  To: Michael S. Tsirkin, Jason Wang, Eugenio Pérez, Xuan Zhuo,
	Krzysztof Kozlowski, Xiong Weimin
  Cc: virtualization, netdev, linux-kernel

The comment describing VIRTIO_NET_CTRL_ANNOUNCE_ACK misspells
"received".

Link: https://lore.kernel.org/all/20261102043526-mutt-send-email-mst@kernel.org/
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 include/uapi/linux/virtio_net.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h
index 1db45b01532b..4a458ebb2567 100644
--- a/include/uapi/linux/virtio_net.h
+++ b/include/uapi/linux/virtio_net.h
@@ -316,7 +316,7 @@ struct virtio_net_ctrl_mac {
  * Control link announce acknowledgement
  *
  * The command VIRTIO_NET_CTRL_ANNOUNCE_ACK is used to indicate that
- * driver has recevied the notification; device would clear the
+ * driver has received the notification; device would clear the
  * VIRTIO_NET_S_ANNOUNCE bit in the status field after it receives
  * this command.
  */
-- 
2.48.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-05  6:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 10:44 [PATCH] vdpa: fix typos in comments Hemanth Selam
2026-11-02  9:35 ` Michael S. Tsirkin
2026-11-05  6:36   ` [PATCH v2 0/2] " Hemanth Selam
2026-11-05  6:36     ` [PATCH v2 1/2] vdpa: alibaba: fix typos in comment Hemanth Selam
2026-11-05  6:36     ` [PATCH v2 2/2] virtio_net: fix typo in the ANNOUNCE_ACK comment Hemanth Selam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®