arch_init.c: add missing '%' symbols before PRIu64 in debug printfs
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 7/11 Fix copy&paste typos in documentation comments
From: BALATON Zoltan <[email protected]>
--- memory.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
memory.h +6 -5
@@ -252,9 +252,9 @@ void memory_region_init_ram(MemoryRegion *mr, uint64_t size);/** -* memory_region_init_ram: Initialize RAM memory region from a user-provided. -* pointer. Accesses into the region will modify -* memory directly. +* memory_region_init_ram_ptr: Initialize RAM memory region from a +* user-provided pointer. Accesses into the +* region will modify memory directly. * * @mr: the #MemoryRegion to be initialized. * @name: the name of the region.
@@ -581,7 +581,8 @@ void memory_region_add_subregion(MemoryRegion *mr,target_phys_addr_t offset, MemoryRegion *subregion);/** -* memory_region_add_subregion: Add a subregion to a container, with overlap. +* memory_region_add_subregion_overlap: Add a subregion to a container +* with overlap. * * Adds a subregion at @offset. The subregion may overlap with other * subregions. Conflicts are resolved by having a higher @priority hide a
@@ -743,7 +744,7 @@ void memory_listener_unregister(MemoryListener *listener);void memory_global_dirty_log_start (void );/** -* memory_global_dirty_log_stop: begin dirty logging for all regions +* memory_global_dirty_log_stop: end dirty logging for all regions */ void memory_global_dirty_log_stop (void );
Signature · 1 line
1.7.10.4
Re: [Qemu-devel] [PATCH 07/11] Fix copy&paste typos in documentation comments
Quoted 7 lines · Stefan Hajnoczi
From: BALATON Zoltan <[email protected]>
Signed-off-by BALATON Zoltan <[email protected]>Signed-off-by Stefan Hajnoczi <[email protected]>--- memory.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
Please disregard this thread, there has been an issue with my mail queue.
I am going to resend this pull request to make sure all mails are properly delivered.
Stefan
PATCH 11/11 arch_init.c: add missing '%' symbols before PRIu64 in debug printfs
In reply to a message not in the archiveFrom: Igor Mitsyanko <[email protected]>
'%' symbols were missing in front of PRIu64 macros in DPRINTF() messages in arch_init.c, this caused compilation warnings when compiled with DEBUG_ARCH_INIT defined.
--- arch_init.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch_init.c +4 -4
@@ -562,7 +562,7 @@ static int ram_save_iterate(QEMUFile *f, void *opaque)if ((i &63 ) ==0 ) {uint64_t t1 = (qemu_get_clock_ns (rt_clock) - bwidth) /1000000 ;if (t1 >MAX_WAIT ) { -DPRINTF ("big wait: " PRIu64" milliseconds, %d iterations\n" , +DPRINTF ("big wait: %" PRIu64" milliseconds, %d iterations\n" , t1, i);break ; }
@@ -587,7 +587,7 @@ static int ram_save_iterate(QEMUFile *f, void *opaque) expected_time =ram_save_remaining () *TARGET_PAGE_SIZE / bwidth; -DPRINTF ("ram_save_live: expected(" PRIu64") <= max(" PRIu64")?\n" , +DPRINTF ("ram_save_live: expected(%" PRIu64") <= max(%" PRIu64")?\n" , expected_time,migrate_max_downtime ());if (expected_time <=migrate_max_downtime ()) {
@@ -799,8 +799,8 @@ static int ram_load(QEMUFile *f, void *opaque, int version_id) }while (!(flags &RAM_SAVE_FLAG_EOS )); done: -DPRINTF ("Completed load of VM with exit code %d seq iteration " PRIu64"\n" , - ret, seq_iter); +DPRINTF ("Completed load of VM with exit code %d seq iteration " +"%" PRIu64"\n" , ret, seq_iter);return ret; }
Signature · 1 line
1.7.10.4