]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
virtio: Fix typo in register_virtio_device() doc comment
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Thu, 29 May 2025 08:42:39 +0000 (01:42 -0700)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 1 Aug 2025 13:11:08 +0000 (09:11 -0400)
Corrected "suceess" to "success" in the function documentation
for clarity.

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20250529084350.3145699-1-alok.a.tiwari@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
drivers/virtio/virtio.c

index c441c8cc71ef5ee54337087d7b0ec1113e877b76..b25eadf59477f6b5fdd99e18f287c23e55061fb2 100644 (file)
@@ -506,7 +506,7 @@ out:
  * On error, the caller must call put_device on &@dev->dev (and not kfree),
  * as another code path may have obtained a reference to @dev.
  *
- * Returns: 0 on suceess, -error on failure
+ * Returns: 0 on success, -error on failure
  */
 int register_virtio_device(struct virtio_device *dev)
 {