Skip to contentSkip to conversation

virtio: use consistent virtqueue terminology

PATCH New Wei-Shuo Chen 2 participants 2 messages Oct 16 virtio core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 virtio: use consistent virtqueue terminology

Use virtqueue consistently in the notify function comments across the MMIO and PCI transports.

Assisted-by LLM
---
 drivers/virtio/virtio_mmio.c       | 2 +-
 drivers/virtio/virtio_pci_common.c | 2 +-
 drivers/virtio/virtio_pci_common.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/virtio/virtio_mmio.c +1 -1
index faae58e3401a..e2ec0ec01d67 100644
@@ -270,7 +270,7 @@ static void vm_reset(struct virtio_device *vdev)
 
 /* Transport interface */
 
-/* the notify function used when creating a virt queue */
+/* the notify function used when creating a virtqueue */
 static bool vm_notify(struct virtqueue *vq)
 {
 	struct virtio_mmio_device *vm_dev = to_virtio_mmio_device(vq->vdev);
drivers/virtio/virtio_pci_common.c +1 -1
index b90c174450b2..60d9b73d74b9 100644
@@ -47,7 +47,7 @@ void vp_synchronize_vectors(struct virtio_device *vdev)
 		synchronize_irq(pci_irq_vector(vp_dev->pci_dev, i));
 }
 
-/* the notify function used when creating a virt queue */
+/* the notify function used when creating a virtqueue */
 bool vp_notify(struct virtqueue *vq)
 {
 	/* we write the queue's selector into the notification register to
drivers/virtio/virtio_pci_common.h +1 -1
index 8cd01de27baf..18b6dbdfd1e5 100644
@@ -127,7 +127,7 @@ static struct virtio_pci_device *to_vp_device(struct virtio_device *vdev)
 
 /* wait for pending irq handlers */
 void vp_synchronize_vectors(struct virtio_device *vdev);
-/* the notify function used when creating a virt queue */
+/* the notify function used when creating a virtqueue */
 bool vp_notify(struct virtqueue *vq);
 /* the config->del_vqs() implementation */
 void vp_del_vqs(struct virtio_device *vdev);
Signature · 1 line
2.43.0
#1 lore raw
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 6 lines

Use virtqueue consistently in the notify function comments across the MMIO and PCI transports.

Assisted-by LLM

Sashiko has reviewed this patch and found no issues. It looks great!

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1