From: Alex Williamson <alex.williamson@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: qemu-devel@nongnu.org, Anthony Liguori <anthony@codemonkey.ws>
Subject: Re: [Qemu-devel] [PATCH] vfio-pci: Cleanup error_reports
Date: Thu, 05 Sep 2013 16:41:57 -0600 [thread overview]
Message-ID: <1378420917.3246.271.camel@ul30vt.home> (raw)
In-Reply-To: <522907AF.9040808@redhat.com>
On Thu, 2013-09-05 at 16:37 -0600, Eric Blake wrote:
> On 09/05/2013 04:29 PM, Alex Williamson wrote:
> > Remove carriage returns and tweak formatting for error_reports.
> >
> > Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
> > ---
> > hw/misc/vfio.c | 24 ++++++++++++------------
> > 1 file changed, 12 insertions(+), 12 deletions(-)
> >
> > diff --git a/hw/misc/vfio.c b/hw/misc/vfio.c
> > index 730dec5..a73e7f5 100644
> > --- a/hw/misc/vfio.c
> > +++ b/hw/misc/vfio.c
> > @@ -3055,13 +3055,15 @@ static int vfio_get_device(VFIOGroup *group, const char *name, VFIODevice *vdev)
> > ret = ioctl(vdev->fd, VFIO_DEVICE_GET_IRQ_INFO, &irq_info);
> > if (ret) {
> > /* This can fail for an old kernel or legacy PCI dev */
> > - DPRINTF("VFIO_DEVICE_GET_IRQ_INFO failure ret=%d\n", ret);
> > + DPRINTF("VFIO_DEVICE_GET_IRQ_INFO failure: %m\n");
>
> %m is a glibc extension, and does not exist on all platforms. You
> should probably not make this change.
It's not the only instance of %m in this file and, IIRC, was previously
suggested by Anthony. Are we banning %m now? Thanks,
Alex
next prev parent reply other threads:[~2013-09-05 22:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-05 22:29 [Qemu-devel] [PATCH] vfio-pci: Cleanup error_reports Alex Williamson
2013-09-05 22:37 ` Eric Blake
2013-09-05 22:41 ` Alex Williamson [this message]
2013-09-05 23:02 ` Eric Blake
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=1378420917.3246.271.camel@ul30vt.home \
--to=alex.williamson@redhat.com \
--cc=anthony@codemonkey.ws \
--cc=eblake@redhat.com \
--cc=qemu-devel@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).