Skip to content

Commit deb55fc

Browse files
committed
virtio: fix map ops comment
@free will free the map handle not sync it. Fix the doc to match. Fixes: bee8c7c ("virtio: introduce map ops in virtio core") Message-Id: <f6ff1c7aff8401900bf362007d7fb52dfdb6a15b.1763026134.git.mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1 parent 43236d8 commit deb55fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/virtio_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ struct virtio_config_ops {
177177
* map: metadata for performing mapping
178178
* size: the size of the buffer
179179
* vaddr: virtual address of the buffer
180-
* map_handle: the mapping address to sync
180+
* map_handle: the mapping address that needs to be freed
181181
* attrs: unmapping attributes
182182
* @need_sync: if the buffer needs synchronization
183183
* map: metadata for performing mapping

0 commit comments

Comments
 (0)