From: SeokYeon Hwang <syeon.hwang@samsung.com>
To: 'Markus Armbruster' <armbru@redhat.com>
Cc: "'Michael S. Tsirkin'" <mst@redhat.com>,
qemu-trivial@nongnu.org, kongjianjun@gmail.com,
paolo.bonzini@gmail.com, qemu-devel@nongnu.org,
mreitz@redhat.com
Subject: Re: [Qemu-devel] [PATCH for-2.2] pci: Don't pass negative errno to 'error_set_errno()'
Date: Wed, 12 Nov 2014 16:43:06 +0900 [thread overview]
Message-ID: <027b01cffe4c$4c809ae0$e581d0a0$@samsung.com> (raw)
In-Reply-To: <87egt8c1qn.fsf@blackfin.pond.sub.org>
> -----Original Message-----
> From: Markus Armbruster [mailto:armbru@redhat.com]
> Sent: Wednesday, November 12, 2014 4:33 PM
> To: SeokYeon Hwang
> Cc: qemu-devel@nongnu.org; kongjianjun@gmail.com; paolo.bonzini@gmail.com;
> mreitz@redhat.com; qemu-trivial@nongnu.org; Michael S. Tsirkin
> Subject: Re: [Qemu-devel] [PATCH for-2.2] pci: Don't pass negative errno
> to 'error_set_errno()'
>
> Copying maintainer and -trivial.
>
> In the future, please copy maintainers. You can use
> "scripts/get_maintainer.pl --no-git-fallback" to find them.
Thank you for your help.
>
> SeokYeon Hwang <syeon.hwang@samsung.com> writes:
>
> > Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.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");
> > }
> > }
>
> Reviewed-by: Markus Armbruster <armbru@redhat.com>
next prev parent reply other threads:[~2014-11-12 7:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-12 7:05 [Qemu-devel] [PATCH for-2.2] pci: Don't pass negative errno to 'error_set_errno()' SeokYeon Hwang
2014-11-12 7:33 ` Markus Armbruster
2014-11-12 7:43 ` SeokYeon Hwang [this message]
2014-11-12 8:30 ` Max Reitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='027b01cffe4c$4c809ae0$e581d0a0$@samsung.com' \
--to=syeon.hwang@samsung.com \
--cc=armbru@redhat.com \
--cc=kongjianjun@gmail.com \
--cc=mreitz@redhat.com \
--cc=mst@redhat.com \
--cc=paolo.bonzini@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).