All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] pcie: fix improper use of negative value
@ 2014-11-20  8:55 arei.gonglei
  2014-11-21  0:01   ` [Qemu-devel] for 2.2: " Eric Blake
  0 siblings, 1 reply; 5+ messages in thread
From: arei.gonglei @ 2014-11-20  8:55 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gonglei, mst

From: Gonglei <arei.gonglei@huawei.com>

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
---
 hw/pci/pcie.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/pci/pcie.c b/hw/pci/pcie.c
index 58455bd..2902f7d 100644
--- a/hw/pci/pcie.c
+++ b/hw/pci/pcie.c
@@ -229,7 +229,7 @@ static void pcie_cap_slot_hotplug_common(PCIDevice *hotplug_dev,
         /* the slot is electromechanically locked.
          * This error is propagated up to qdev and then to HMP/QMP.
          */
-        error_setg_errno(errp, -EBUSY, "slot is electromechanically locked");
+        error_setg_errno(errp, EBUSY, "slot is electromechanically locked");
     }
 }
 
-- 
1.7.12.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-21  0:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-20  8:55 [Qemu-devel] [PATCH] pcie: fix improper use of negative value arei.gonglei
2014-11-21  0:01 ` [Qemu-trivial] for 2.2: " Eric Blake
2014-11-21  0:01   ` [Qemu-devel] for 2.2: " Eric Blake
2014-11-21  0:34   ` [Qemu-trivial] for 2.2: Re: [Qemu-devel] " Gonglei
2014-11-21  0:34     ` [Qemu-devel] for 2.2: " Gonglei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.