]> www.infradead.org Git - users/dwmw2/linux.git/commit
vhost_task: fix vhost_task_create() documentation
authorStefano Garzarella <sgarzare@redhat.com>
Thu, 27 Mar 2025 12:44:35 +0000 (13:44 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 18 Apr 2025 14:08:11 +0000 (10:08 -0400)
commitfec0abf52609c20279243699d08b660c142ce0aa
tree5a1507d0b6e5423f9c6f9e38a25188f0144088eb
parent5326ab737a47278dbd16ed3ee7380b26c7056ddd
vhost_task: fix vhost_task_create() documentation

Commit cb380909ae3b ("vhost: return task creation error instead of NULL")
changed the return value of vhost_task_create(), but did not update the
documentation.

Reflect the change in the documentation: on an error, vhost_task_create()
returns an ERR_PTR() and no longer NULL.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20250327124435.142831-1-sgarzare@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
kernel/vhost_task.c