Received: from eggs.gnu.org ([2001:4830:134:3::10]:39533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoSQU-0005vx-HO for qemu-devel@nongnu.org; Wed, 12 Nov 2014 02:33:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XoSQP-0002r2-VP for qemu-devel@nongnu.org; Wed, 12 Nov 2014 02:33:14 -0500 From: Markus Armbruster References: <1415775949-4528-1-git-send-email-syeon.hwang@samsung.com> Date: Wed, 12 Nov 2014 08:33:04 +0100 In-Reply-To: <1415775949-4528-1-git-send-email-syeon.hwang@samsung.com> (SeokYeon Hwang's message of "Wed, 12 Nov 2014 16:05:49 +0900") Message-ID: <87egt8c1qn.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH for-2.2] pci: Don't pass negative errno to 'error_set_errno()' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: SeokYeon Hwang Cc: "Michael S. Tsirkin" , qemu-trivial@nongnu.org, kongjianjun@gmail.com, paolo.bonzini@gmail.com, qemu-devel@nongnu.org, mreitz@redhat.com Copying maintainer and -trivial. In the future, please copy maintainers. You can use "scripts/get_maintainer.pl --no-git-fallback" to find them. SeokYeon Hwang writes: > Signed-off-by: SeokYeon Hwang > --- > 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"); > } > } Reviewed-by: Markus Armbruster