From: Alex Williamson <alex.williamson@redhat.com>
To: kvm@vger.kernel.org
Cc: avi@redhat.com, alex.williamson@redhat.com
Subject: [PATCH] pci: Fix PCI capabilities collision error value
Date: Thu, 09 Dec 2010 09:16:22 -0700 [thread overview]
Message-ID: <20101209161622.10386.72203.stgit@s20.home> (raw)
Signed-off-by: Alex Williamson <alex.williamson@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;
}
}
}
next reply other threads:[~2010-12-09 16:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-09 16:16 Alex Williamson [this message]
2010-12-09 17:14 ` [PATCH] pci: Fix PCI capabilities collision error value Markus Armbruster
2010-12-13 12:01 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101209161622.10386.72203.stgit@s20.home \
--to=alex.williamson@redhat.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox