[Qemu-devel] [PATCH] migration: fix one typo in comment of function migration_total_bytes()

Wei Yang posted 1 patch 4 years, 7 months ago
Test docker-clang@ubuntu passed
Test FreeBSD passed
Test checkpatch passed
Test docker-quick@centos7 passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190912024957.11780-1-richardw.yang@linux.intel.com
Maintainers: Juan Quintela <quintela@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>
migration/migration.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[Qemu-devel] [PATCH] migration: fix one typo in comment of function migration_total_bytes()
Posted by Wei Yang 4 years, 7 months ago
Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
---
 migration/migration.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/migration/migration.c b/migration/migration.c
index fbdabd34d9..cae3e894ad 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -3023,7 +3023,7 @@ static MigThrError migration_detect_error(MigrationState *s)
     }
 }
 
-/* How many bytes have we transferred since the beggining of the migration */
+/* How many bytes have we transferred since the beginning of the migration */
 static uint64_t migration_total_bytes(MigrationState *s)
 {
     return qemu_ftell(s->to_dst_file) + ram_counters.multifd_bytes;
-- 
2.17.1


Re: [Qemu-devel] [PATCH] migration: fix one typo in comment of function migration_total_bytes()
Posted by Dr. David Alan Gilbert 4 years, 7 months ago
* Wei Yang (richardw.yang@linux.intel.com) wrote:
> Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>

Queued

> ---
>  migration/migration.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/migration/migration.c b/migration/migration.c
> index fbdabd34d9..cae3e894ad 100644
> --- a/migration/migration.c
> +++ b/migration/migration.c
> @@ -3023,7 +3023,7 @@ static MigThrError migration_detect_error(MigrationState *s)
>      }
>  }
>  
> -/* How many bytes have we transferred since the beggining of the migration */
> +/* How many bytes have we transferred since the beginning of the migration */
>  static uint64_t migration_total_bytes(MigrationState *s)
>  {
>      return qemu_ftell(s->to_dst_file) + ram_counters.multifd_bytes;
> -- 
> 2.17.1
> 
> 
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

Re: [Qemu-devel] [PATCH] migration: fix one typo in comment of function migration_total_bytes()
Posted by Juan Quintela 4 years, 7 months ago
Wei Yang <richardw.yang@linux.intel.com> wrote:
> Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>

Reviewed-by: Juan Quintela <quintela@redhat.com>

for(i = 0; i < 0; i++)
  printf("Beginning is with double n, not double g");

Re: [Qemu-devel] [PATCH] migration: fix one typo in comment of function migration_total_bytes()
Posted by Wei Yang 4 years, 7 months ago
On Thu, Sep 12, 2019 at 09:44:41AM +0200, Juan Quintela wrote:
>Wei Yang <richardw.yang@linux.intel.com> wrote:
>> Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
>
>Reviewed-by: Juan Quintela <quintela@redhat.com>
>
>for(i = 0; i < 0; i++)
>  printf("Beginning is with double n, not double g");

:-)

-- 
Wei Yang
Help you, Help me