]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
vhost: fix VHOST_*_OWNER documentation
authorStefano Garzarella <sgarzare@redhat.com>
Mon, 3 Mar 2025 08:52:37 +0000 (09:52 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 14 Apr 2025 13:51:31 +0000 (09:51 -0400)
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>
include/uapi/linux/vhost.h

index b95dd84eef2db2311f985921064e65d96e3e2f4c..d4b3e2ae1314d1fc55f3de081ca147532d25947c 100644 (file)
 
 /* Set current process as the (exclusive) owner of this file descriptor.  This
  * must be called before any other vhost command.  Further calls to
- * VHOST_OWNER_SET fail until VHOST_OWNER_RESET is called. */
+ * VHOST_SET_OWNER fail until VHOST_RESET_OWNER is called. */
 #define VHOST_SET_OWNER _IO(VHOST_VIRTIO, 0x01)
 /* Give up ownership, and reset the device to default values.
- * Allows subsequent call to VHOST_OWNER_SET to succeed. */
+ * Allows subsequent call to VHOST_SET_OWNER to succeed. */
 #define VHOST_RESET_OWNER _IO(VHOST_VIRTIO, 0x02)
 
 /* Set up/modify memory layout */