]> Gentwo Git Trees - linux/.git/commitdiff
virtio: fix virtqueue_set_affinity() docs
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 13 Nov 2025 09:34:43 +0000 (04:34 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 27 Nov 2025 07:03:06 +0000 (02:03 -0500)
Rewrite the comment for better grammar and clarity.

Fixes: 75a0a52be3c2 ("virtio: introduce an API to set affinity for a virtqueue")
Message-Id: <e317e91bd43b070e5eaec0ebbe60c5749d02e2dd.1763026134.git.mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/linux/virtio_config.h

index e231147ff92dbe49b689f4b5353b262159a0a6a7..1a019a1f168d5d7d5d811f5e96d4e8ed8d8ee862 100644 (file)
@@ -384,7 +384,7 @@ const char *virtio_bus_name(struct virtio_device *vdev)
  * @vq: the virtqueue
  * @cpu_mask: the cpu mask
  *
- * Pay attention the function are best-effort: the affinity hint may not be set
+ * Note that this function is best-effort: the affinity hint may not be set
  * due to config support, irq type and sharing.
  *
  */