Message ID | 20190725002023.2335-2-richardw.yang@linux.intel.com |
---|---|
State | New |
Headers | show |
Series | migration: cleanup ram_load | expand |
diff --git a/migration/ram.c b/migration/ram.c index 66792568e2..69c8a6bb0f 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -4217,7 +4217,7 @@ static int ram_load(QEMUFile *f, void *opaque, int version_id) seq_iter++; if (version_id != 4) { - ret = -EINVAL; + return -EINVAL; } if (!migrate_use_compression()) {