Skip to content

Commit a940e0a

Browse files
stefano-garzarellamstsirkin
authored andcommitted
vhost: fix VHOST_*_OWNER documentation
VHOST_OWNER_SET and VHOST_OWNER_RESET are used in the documentation instead of VHOST_SET_OWNER and VHOST_RESET_OWNER respectively. To avoid confusion, let's use the right names in the documentation. No change to the API, only the documentation is involved. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Message-Id: <20250303085237.19990-1-sgarzare@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1 parent 16c22c5 commit a940e0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/uapi/linux/vhost.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828

2929
/* Set current process as the (exclusive) owner of this file descriptor. This
3030
* must be called before any other vhost command. Further calls to
31-
* VHOST_OWNER_SET fail until VHOST_OWNER_RESET is called. */
31+
* VHOST_SET_OWNER fail until VHOST_RESET_OWNER is called. */
3232
#define VHOST_SET_OWNER _IO(VHOST_VIRTIO, 0x01)
3333
/* Give up ownership, and reset the device to default values.
34-
* Allows subsequent call to VHOST_OWNER_SET to succeed. */
34+
* Allows subsequent call to VHOST_SET_OWNER to succeed. */
3535
#define VHOST_RESET_OWNER _IO(VHOST_VIRTIO, 0x02)
3636

3737
/* Set up/modify memory layout */

0 commit comments

Comments
 (0)