]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 12:55:10 +0000 (13:55 +0100)
[ Upstream commit 43236d8bbafff94b423afecc4a692dd90602d426 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/virtio_config.h

index 1255493b7f377aa1a4073862317eb94d6fdf94a8..94b3adc7c2dbf23bf21099dff2460c8ea15203ed 100644 (file)
@@ -312,7 +312,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.
  *
  */