vfio: Fix vfio_listener_log_sync function name typo
PATCH 1/1 vfio: Fix vfio_listener_log_sync function name typo
There is an obvious typo in the function name of the .log_sync() callback. Spell it correctly.
Signed-off-by Zenghui Yu <[email protected]>
--- hw/vfio/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
hw/vfio/common.c +2 -2
@@ -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);
@@ -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)
Signature · 1 line
2.19.1
Quoted 7 lines · On Fri, 4 Dec 2020 09:42:40 +0800 Zenghui Yu <[email protected]> wrote:
There is an obvious typo in the function name of the .log_sync() callback. Spell it correctly.
Signed-off-by Zenghui Yu <[email protected]>--- hw/vfio/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by Cornelia Huck <[email protected]>
Quoted 22 lines · On Fri, 4 Dec 2020 09:42:40 +0800 Zenghui Yu <[email protected]> wrote:
There is an obvious typo in the function name of the .log_sync() callback. Spell it correctly.
Signed-off-by Zenghui Yu <[email protected]>--- hw/vfio/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)hw/vfio/common.c +1
-1@@ -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);
hw/vfio/common.c static void vfio_listerner_log_sync(MemoryListener *listener, · line 1142
Quoted 8 lines
hw/vfio/common.c +1
-1@@ -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)
Sorry for the delay, queued. Thanks,
Alex