Fix warning in kvm-all.c
This fixes a warning I stumbled across while compiling qemu on PPC64. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
861bbc8052
commit
b80a55e67b
|
@ -226,7 +226,7 @@ static int kvm_dirty_pages_log_change(target_phys_addr_t phys_addr,
|
||||||
if (mem == NULL) {
|
if (mem == NULL) {
|
||||||
fprintf(stderr, "BUG: %s: invalid parameters " TARGET_FMT_plx "-"
|
fprintf(stderr, "BUG: %s: invalid parameters " TARGET_FMT_plx "-"
|
||||||
TARGET_FMT_plx "\n", __func__, phys_addr,
|
TARGET_FMT_plx "\n", __func__, phys_addr,
|
||||||
phys_addr + size - 1);
|
(target_phys_addr_t)(phys_addr + size - 1));
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue