Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: <f6ff1c7aff8401900bf362007d7fb52dfdb6a15b.1763026134.git.mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

+1 -1
+1 -1
include/linux/virtio_config.h
··· 177 177 * map: metadata for performing mapping 178 178 * size: the size of the buffer 179 179 * 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 181 181 * attrs: unmapping attributes 182 182 * @need_sync: if the buffer needs synchronization 183 183 * map: metadata for performing mapping