Skip to content

Commit

Permalink
xen/pt: Update comments with proper function name.
Browse files Browse the repository at this point in the history
It has changed but the comments still refer to the old names.

Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
  • Loading branch information
konradwilk authored and Stefano Stabellini committed Sep 10, 2015
1 parent d8b441a commit d3b9fac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hw/xen/xen_pt.c
Expand Up @@ -379,7 +379,7 @@ static void xen_pt_pci_write_config(PCIDevice *d, uint32_t addr,
}
}

/* need to shift back before passing them to xen_host_pci_device */
/* need to shift back before passing them to xen_host_pci_set_block. */
val >>= (addr & 3) << 3;

memory_region_transaction_commit();
Expand Down Expand Up @@ -407,7 +407,7 @@ static void xen_pt_pci_write_config(PCIDevice *d, uint32_t addr,
(uint8_t *)&val + index, len);

if (rc < 0) {
XEN_PT_ERR(d, "pci_write_block failed. return value: %d.\n", rc);
XEN_PT_ERR(d, "xen_host_pci_set_block failed. return value: %d.\n", rc);
}
}
}
Expand Down

0 comments on commit d3b9fac

Please sign in to comment.