Skip to content

Commit

Permalink
vfio: Fix vfio_listener_log_sync function name typo
Browse files Browse the repository at this point in the history
There is an obvious typo in the function name of the .log_sync() callback.
Spell it correctly.

Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Message-Id: <20201204014240.772-1-yuzenghui@huawei.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
  • Loading branch information
Zenghui Yu authored and awilliam committed Mar 16, 2021
1 parent 5b7f558 commit 4292d50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hw/vfio/common.c
Expand Up @@ -1118,7 +1118,7 @@ static int vfio_sync_dirty_bitmap(VFIOContainer *container,
int128_get64(section->size), ram_addr);
}

static void vfio_listerner_log_sync(MemoryListener *listener,
static void vfio_listener_log_sync(MemoryListener *listener,
MemoryRegionSection *section)
{
VFIOContainer *container = container_of(listener, VFIOContainer, listener);
Expand All @@ -1136,7 +1136,7 @@ static void vfio_listerner_log_sync(MemoryListener *listener,
static const MemoryListener vfio_memory_listener = {
.region_add = vfio_listener_region_add,
.region_del = vfio_listener_region_del,
.log_sync = vfio_listerner_log_sync,
.log_sync = vfio_listener_log_sync,
};

static void vfio_listener_release(VFIOContainer *container)
Expand Down

0 comments on commit 4292d50

Please sign in to comment.