Change init for pt_pci_host return value.
PATCH 1/1 Change init for pt_pci_host return value.
With an init of -1 all the return value smaller than a double word will be prefixed with "f"s.
Signed-off-by Jean Guyader <[email protected]>
--- hw/pass-through.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
hw/pass-through.c +1 -1
@@ -2085,7 +2085,7 @@ struct pci_dev *pt_pci_get_dev(int bus, int dev, int fn)u32 pt_pci_host_read (struct pci_dev *pci_dev,u32 addr,int len) { -u32 val =-1 ; +u32 val =0 ;pci_access_init ();pci_read_block (pci_dev, addr, (u8 *) &val, len);
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel