From: Paolo Bonzini Subject: Re: [kvm-unit-tests PATCH 22/32] lib: add newline to assert_msg Date: Fri, 21 Apr 2017 10:25:08 +0200 Message-ID: <753de91b-c615-d6d6-048b-1f21f0007b03@redhat.com> References: <20170421005004.137260-1-dmatlack@google.com> <20170421005004.137260-23-dmatlack@google.com> <20170421074440.5udqk2beuhl5k2yu@kamzik.brq.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, Peter Feiner To: Andrew Jones , David Matlack Return-path: Received: from mail-wr0-f196.google.com ([209.85.128.196]:34964 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1036646AbdDUIZQ (ORCPT ); Fri, 21 Apr 2017 04:25:16 -0400 Received: by mail-wr0-f196.google.com with SMTP id l44so11271110wrc.2 for ; Fri, 21 Apr 2017 01:25:16 -0700 (PDT) In-Reply-To: <20170421074440.5udqk2beuhl5k2yu@kamzik.brq.redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 21/04/2017 09:44, Andrew Jones wrote: > On Thu, Apr 20, 2017 at 05:49:54PM -0700, David Matlack wrote: >> From: Peter Feiner >> >> Signed-off-by: Peter Feiner >> Signed-off-by: David Matlack >> --- >> lib/libcflat.h | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/lib/libcflat.h b/lib/libcflat.h >> index 05c18543dd72..7e4bce1dd335 100644 >> --- a/lib/libcflat.h >> +++ b/lib/libcflat.h >> @@ -130,7 +130,7 @@ do { \ >> #define assert_msg(cond, fmt, args...) \ >> do { \ >> if (!(cond)) { \ >> - printf("%s:%d: assert failed: %s: " fmt, \ >> + printf("%s:%d: assert failed: %s: " fmt "\n", \ >> __FILE__, __LINE__, #cond, ## args); \ >> dump_stack(); \ >> abort(); \ >> -- >> 2.12.2.816.g2cccc81164-goog >> > > Should be squashed in with the introduction of assert_msg Indeed, can do when applying too. Paolo