[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] msi: Remove unnecessary warning information
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1218189461 -3600 # Node ID ff6ba016eed24c997b0dbe4bc0552864cb3a590a # Parent 87413eba04ab80ef1d87bff6ff92ebe2f64214d8 msi: Remove unnecessary warning information From: Haitao Shan <haitao.shan@xxxxxxxxx> Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- drivers/xen/pciback/pci_stub.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff -r 87413eba04ab -r ff6ba016eed2 drivers/xen/pciback/pci_stub.c --- a/drivers/xen/pciback/pci_stub.c Fri Aug 08 10:54:59 2008 +0100 +++ b/drivers/xen/pciback/pci_stub.c Fri Aug 08 10:57:41 2008 +0100 @@ -813,11 +813,10 @@ int pciback_get_owner(struct pci_dev *de psdev = pcistub_device_find(pci_domain_nr(dev->bus), dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); - /* XXX will other domain has pciback support ??? */ - if (!psdev || !psdev->pdev) { - printk(KERN_WARNING "no ownder\n"); + + if (!psdev || !psdev->pdev) return -1; - } + return psdev->pdev->xdev->otherend_id; } #endif _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |