qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: John Snow <jsnow@redhat.com>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"Peter Maydell" <peter.maydell@linaro.org>,
	"Michael Walle" <michael@walle.cc>,
	"Max Filippov" <jcmvbkbc@gmail.com>,
	"Michael Clark" <mjc@sifive.com>,
	"Palmer Dabbelt" <palmer@sifive.com>,
	"Sagar Karandikar" <sagark@eecs.berkeley.edu>,
	"Bastian Koppelmann" <kbastian@mail.uni-paderborn.de>,
	"Laurent Vivier" <laurent@vivier.eu>,
	"Aurelien Jarno" <aurelien@aurel32.net>,
	"Paul Burton" <paul.burton@mips.com>,
	"Yongbok Kim" <yongbok.kim@mips.com>,
	"Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
	"Alistair Francis" <alistair@alistair23.me>,
	"Antony Pavlov" <antonynpavlov@gmail.com>
Cc: qemu-trivial@nongnu.org, qemu-arm@nongnu.org,
	qemu-ppc@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 00/11] misc: Add trailing '\n' to qemu_log() calls
Date: Wed, 6 Jun 2018 15:43:04 -0400	[thread overview]
Message-ID: <b4903491-f450-1a54-2a70-a084c30cd8c6@redhat.com> (raw)
In-Reply-To: <20180606152128.449-1-f4bug@amsat.org>



On 06/06/2018 11:21 AM, Philippe Mathieu-Daudé wrote:
> Nothing very exciting here.
> I sometimes miss to notice some trace events, running with -d unimp,trace...
> then using 'grep ^...'. This is only due to a missing '\n' :)
> 

so error_setg must be used WITHOUT \n and logging must happen with \n?

If we're sure that's the way we want to have things laid out, we really
ought to augment checkpatch to catch this -- because there's 0% chance
that we'll keep it straight on our own otherwise.

--js

> Philippe Mathieu-Daudé (11):
>   hw/sd/milkymist-memcard: Add trailing '\n' to qemu_log() call
>   hw/digic: Add trailing '\n' to qemu_log() calls
>   xilinx-dp: Add trailing '\n' to qemu_log() call
>   ppc/pnv: Add trailing '\n' to qemu_log() calls
>   hw/core/register: Add trailing '\n' to qemu_log() call
>   hw/mips/boston: Add trailing '\n' to qemu_log() calls
>   stellaris: Add trailing '\n' to qemu_log() calls
>   target/arm: Add trailing '\n' to qemu_log() calls
>   target/m68k: Add trailing '\n' to qemu_log() call
>   RISC-V: Add trailing '\n' to qemu_log() calls
>   RFC target/xtensa: Add trailing '\n' to qemu_log() calls
> 
>  hw/arm/stellaris.c        | 11 ++++++-----
>  hw/char/digic-uart.c      |  4 ++--
>  hw/core/register.c        |  2 +-
>  hw/display/xlnx_dp.c      |  4 +++-
>  hw/mips/boston.c          |  8 ++++----
>  hw/ppc/pnv_core.c         |  4 ++--
>  hw/sd/milkymist-memcard.c |  2 +-
>  hw/timer/digic-timer.c    |  4 ++--
>  target/arm/helper.c       |  4 ++--
>  target/m68k/translate.c   |  2 +-
>  target/riscv/op_helper.c  |  6 ++++--
>  target/xtensa/translate.c |  6 +++---
>  12 files changed, 31 insertions(+), 26 deletions(-)
> 

  parent reply	other threads:[~2018-06-06 19:43 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-06 15:21 [Qemu-devel] [PATCH 00/11] misc: Add trailing '\n' to qemu_log() calls Philippe Mathieu-Daudé
2018-06-06 15:21 ` [Qemu-devel] [PATCH 01/11] hw/sd/milkymist-memcard: Add trailing '\n' to qemu_log() call Philippe Mathieu-Daudé
2018-06-06 15:21 ` [Qemu-devel] [PATCH 02/11] hw/digic: Add trailing '\n' to qemu_log() calls Philippe Mathieu-Daudé
2018-06-06 15:21 ` [Qemu-devel] [PATCH 03/11] xilinx-dp: Add trailing '\n' to qemu_log() call Philippe Mathieu-Daudé
2018-06-06 15:51   ` Alistair Francis
2018-06-06 15:21 ` [Qemu-devel] [PATCH 04/11] ppc/pnv: Add trailing '\n' to qemu_log() calls Philippe Mathieu-Daudé
2018-06-07  2:16   ` David Gibson
2018-06-07  2:26     ` Philippe Mathieu-Daudé
2018-06-06 15:21 ` [Qemu-devel] [PATCH 05/11] hw/core/register: Add trailing '\n' to qemu_log() call Philippe Mathieu-Daudé
2018-06-06 15:52   ` Alistair Francis
2018-06-06 15:21 ` [Qemu-devel] [PATCH 06/11] hw/mips/boston: Add trailing '\n' to qemu_log() calls Philippe Mathieu-Daudé
2018-06-06 15:21 ` [Qemu-devel] [PATCH 07/11] stellaris: " Philippe Mathieu-Daudé
2018-06-06 15:21 ` [Qemu-devel] [PATCH 08/11] target/arm: " Philippe Mathieu-Daudé
2018-06-06 15:21 ` [Qemu-devel] [PATCH 09/11] target/m68k: Add trailing '\n' to qemu_log() call Philippe Mathieu-Daudé
2018-06-06 15:26   ` Laurent Vivier
2018-06-06 15:21 ` [Qemu-devel] [PATCH 10/11] RISC-V: Add trailing '\n' to qemu_log() calls Philippe Mathieu-Daudé
2018-06-06 15:21 ` [Qemu-devel] [RFC PATCH 11/11] target/xtensa: " Philippe Mathieu-Daudé
2018-06-06 16:44   ` Max Filippov
2018-06-06 19:43 ` John Snow [this message]
2018-06-08 10:54   ` [Qemu-devel] [PATCH 00/11] misc: " Peter Maydell
2018-06-08 15:07     ` John Snow
2018-06-08 11:54 ` Peter Maydell

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=b4903491-f450-1a54-2a70-a084c30cd8c6@redhat.com \
    --to=jsnow@redhat.com \
    --cc=alistair@alistair23.me \
    --cc=antonynpavlov@gmail.com \
    --cc=aurelien@aurel32.net \
    --cc=edgar.iglesias@gmail.com \
    --cc=f4bug@amsat.org \
    --cc=jcmvbkbc@gmail.com \
    --cc=kbastian@mail.uni-paderborn.de \
    --cc=laurent@vivier.eu \
    --cc=michael@walle.cc \
    --cc=mjc@sifive.com \
    --cc=palmer@sifive.com \
    --cc=paul.burton@mips.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=sagark@eecs.berkeley.edu \
    --cc=yongbok.kim@mips.com \
    /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).