[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] for 2.2: Re: [PATCH] pcie: fix improper use of negative
From: |
Gonglei |
Subject: |
Re: [Qemu-devel] for 2.2: Re: [PATCH] pcie: fix improper use of negative value |
Date: |
Fri, 21 Nov 2014 08:34:42 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 |
On 2014/11/21 8:01, Eric Blake wrote:
> On 11/20/2014 01:55 AM, address@hidden wrote:
>> From: Gonglei <address@hidden>
>>
>> Signed-off-by: Gonglei <address@hidden>
>> ---
>> 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 <address@hidden>
>
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");
>> }
>> }
>>
>>
>