Skip to content

Commit c0883c1

Browse files
aloktiwamstsirkin
authored andcommitted
virtio: Fix typo in register_virtio_device() doc comment
Corrected "suceess" to "success" in the function documentation for clarity. Signed-off-by: Alok Tiwari <[email protected]> Acked-by: Jason Wang <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Xuan Zhuo <[email protected]>
1 parent 4d0efa6 commit c0883c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/virtio/virtio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ static int virtio_device_of_init(struct virtio_device *dev)
506506
* On error, the caller must call put_device on &@dev->dev (and not kfree),
507507
* as another code path may have obtained a reference to @dev.
508508
*
509-
* Returns: 0 on suceess, -error on failure
509+
* Returns: 0 on success, -error on failure
510510
*/
511511
int register_virtio_device(struct virtio_device *dev)
512512
{

0 commit comments

Comments
 (0)