summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-05-26 05:12:11 +0200
committerMichael S. Tsirkin <mst@redhat.com>2021-07-03 10:50:55 +0200
commit31c11db6bd93b0c051d2c835da4fa9bba636cfdb (patch)
tree9ba2542f7b03aeef3ef5cd73304902d5f2dff944 /drivers/virtio
parentvhost: fix up vhost_work coding style (diff)
downloadlinux-31c11db6bd93b0c051d2c835da4fa9bba636cfdb.tar.xz
linux-31c11db6bd93b0c051d2c835da4fa9bba636cfdb.zip
virtio_ring: Fix kernel-doc
Fix function name in virtio_ring.c kernel-doc comment to remove a warning found by clang_w1. drivers/virtio/virtio_ring.c:1903: warning: expecting prototype for virtqueue_get_buf(). Prototype was for virtqueue_get_buf_ctx() instead Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Link: https://lore.kernel.org/r/1621998731-17445-1-git-send-email-yang.lee@linux.alibaba.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio')
-rw-r--r--drivers/virtio/virtio_ring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
index 71e16b53e9c1..095a9a3afcba 100644
--- a/drivers/virtio/virtio_ring.c
+++ b/drivers/virtio/virtio_ring.c
@@ -1875,7 +1875,7 @@ bool virtqueue_kick(struct virtqueue *vq)
EXPORT_SYMBOL_GPL(virtqueue_kick);
/**
- * virtqueue_get_buf - get the next used buffer
+ * virtqueue_get_buf_ctx - get the next used buffer
* @_vq: the struct virtqueue we're talking about.
* @len: the length written into the buffer
* @ctx: extra context for the token