From: Michael S. Tsirkin Date: Thu, 13 Nov 2025 09:34:49 +0000 (-0500) Subject: virtio: fix map ops comment X-Git-Tag: v6.19-rc1~129^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=deb55fc994e3dc38f139c0147c15fc2a9db27086;p=thirdparty%2Fkernel%2Flinux.git virtio: fix map ops comment @free will free the map handle not sync it. Fix the doc to match. Fixes: bee8c7c24b73 ("virtio: introduce map ops in virtio core") Message-Id: Acked-by: Jason Wang Signed-off-by: Michael S. Tsirkin --- diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h index 1a019a1f168d5..a1af2676bbe6a 100644 --- a/include/linux/virtio_config.h +++ b/include/linux/virtio_config.h @@ -177,7 +177,7 @@ struct virtio_config_ops { * map: metadata for performing mapping * size: the size of the buffer * vaddr: virtual address of the buffer - * map_handle: the mapping address to sync + * map_handle: the mapping address that needs to be freed * attrs: unmapping attributes * @need_sync: if the buffer needs synchronization * map: metadata for performing mapping