From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrcBb-0004W8-3s for qemu-devel@nongnu.org; Thu, 20 Nov 2014 19:35:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrcBW-0002my-4X for qemu-devel@nongnu.org; Thu, 20 Nov 2014 19:34:55 -0500 Message-ID: <546E88A2.1090506@huawei.com> Date: Fri, 21 Nov 2014 08:34:42 +0800 From: Gonglei MIME-Version: 1.0 References: <1416473754-8660-1-git-send-email-arei.gonglei@huawei.com> <546E80E2.5040300@redhat.com> In-Reply-To: <546E80E2.5040300@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] for 2.2: Re: [PATCH] pcie: fix improper use of negative value List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-trivial , "qemu-devel@nongnu.org" , "mst@redhat.com" On 2014/11/21 8:01, Eric Blake wrote: > On 11/20/2014 01:55 AM, arei.gonglei@huawei.com wrote: >> From: Gonglei >> >> Signed-off-by: Gonglei >> --- >> hw/pci/pcie.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > adding qemu-trivial in cc. This is a candidate for 2.2. > > Reviewed-by: Eric Blake > Thanks. :) Best regards, -Gonglei >> >> 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"); >> } >> } >> >> >