Re: [PATCH] pci: Fix PCI capabilities collision error value

2010-12-13 Thread Avi Kivity

On 12/09/2010 06:16 PM, Alex Williamson wrote:

Signed-off-by: Alex Williamsonalex.william...@redhat.com


Applied, thanks.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] pci: Fix PCI capabilities collision error value

2010-12-09 Thread Alex Williamson
Signed-off-by: Alex Williamson alex.william...@redhat.com
---

 hw/pci.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/pci.c b/hw/pci.c
index 288d6fd..0962416 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -1856,7 +1856,7 @@ int pci_add_capability(PCIDevice *pdev, uint8_t cap_id,
 pci_find_domain(pdev-bus), pci_bus_num(pdev-bus),
 PCI_SLOT(pdev-devfn), PCI_FUNC(pdev-devfn),
 cap_id, offset, pdev-config_map[i], i);
-return -EFAULT;
+return -EINVAL;
 }
 }
 }

--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] pci: Fix PCI capabilities collision error value

2010-12-09 Thread Markus Armbruster
Alex Williamson alex.william...@redhat.com writes:

 Signed-off-by: Alex Williamson alex.william...@redhat.com
 ---

  hw/pci.c |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

 diff --git a/hw/pci.c b/hw/pci.c
 index 288d6fd..0962416 100644
 --- a/hw/pci.c
 +++ b/hw/pci.c
 @@ -1856,7 +1856,7 @@ int pci_add_capability(PCIDevice *pdev, uint8_t cap_id,
  pci_find_domain(pdev-bus), pci_bus_num(pdev-bus),
  PCI_SLOT(pdev-devfn), PCI_FUNC(pdev-devfn),
  cap_id, offset, pdev-config_map[i], i);
 -return -EFAULT;
 +return -EINVAL;
  }
  }
  }

ACK
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html