qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: John Snow <jsnow@redhat.com>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] trivial: remove trailing newline from error_report
Date: Mon, 29 Jun 2015 16:56:42 -0400	[thread overview]
Message-ID: <5591B10A.8070807@redhat.com> (raw)
In-Reply-To: <1435609557-14137-1-git-send-email-jsnow@redhat.com>



On 06/29/2015 04:25 PM, John Snow wrote:
> Minor cleanup.
> 
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
>  hw/vfio/platform.c | 2 +-
>  net/tap-linux.c    | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/hw/vfio/platform.c b/hw/vfio/platform.c
> index 5c678b9..932d631 100644
> --- a/hw/vfio/platform.c
> +++ b/hw/vfio/platform.c
> @@ -225,7 +225,7 @@ static void vfio_intp_interrupt(VFIOINTp *intp)
>  
>      ret = event_notifier_test_and_clear(&intp->interrupt);
>      if (!ret) {
> -        error_report("Error when clearing fd=%d (ret = %d)\n",
> +        error_report("Error when clearing fd=%d (ret = %d)",
>                       event_notifier_get_fd(&intp->interrupt), ret);
>      }
>  
> diff --git a/net/tap-linux.c b/net/tap-linux.c
> index 394f2a6..5bd9d21 100644
> --- a/net/tap-linux.c
> +++ b/net/tap-linux.c
> @@ -211,7 +211,7 @@ int tap_fd_set_vnet_le(int fd, int is_le)
>          return -errno;
>      }
>  
> -    error_report("TUNSETVNETLE ioctl() failed: %s.\n", strerror(errno));
> +    error_report("TUNSETVNETLE ioctl() failed: %s.", strerror(errno));
>      abort();
>  }
>  
> @@ -228,7 +228,7 @@ int tap_fd_set_vnet_be(int fd, int is_be)
>          return -errno;
>      }
>  
> -    error_report("TUNSETVNETBE ioctl() failed: %s.\n", strerror(errno));
> +    error_report("TUNSETVNETBE ioctl() failed: %s.", strerror(errno));
>      abort();
>  }
>  
> 

NACK, missed one, see v2

      reply	other threads:[~2015-06-29 20:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-29 20:25 [Qemu-devel] [PATCH] trivial: remove trailing newline from error_report John Snow
2015-06-29 20:56 ` John Snow [this message]

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=5591B10A.8070807@redhat.com \
    --to=jsnow@redhat.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).