Commit deb55fc9 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

virtio: fix map ops comment



@free will free the map handle not sync it. Fix the doc to match.

Fixes: bee8c7c2 ("virtio: introduce map ops in virtio core")
Message-Id: <f6ff1c7aff8401900bf362007d7fb52dfdb6a15b.1763026134.git.mst@redhat.com>
Acked-by: default avatarJason Wang <jasowang@redhat.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 43236d8b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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