From: Thomas Huth Subject: Re: [PATCH kvm-unit-tests 2/2] arm/arm64: gic: apply report_prefix_pushf Date: Mon, 22 May 2017 22:09:35 +0200 Message-ID: <2769e3a5-d6e8-8486-18d1-cc799cc31a66@redhat.com> References: <20170522181821.29482-1-drjones@redhat.com> <20170522181821.29482-3-drjones@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: pbonzini@redhat.com, rkrcmar@redhat.com, lvivier@redhat.com To: Andrew Jones , kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:33480 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760952AbdEVUJj (ORCPT ); Mon, 22 May 2017 16:09:39 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6D87885541 for ; Mon, 22 May 2017 20:09:38 +0000 (UTC) In-Reply-To: <20170522181821.29482-3-drjones@redhat.com> Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: On 22.05.2017 20:18, Andrew Jones wrote: > Signed-off-by: Andrew Jones > --- > arm/gic.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/arm/gic.c b/arm/gic.c > index 82f663218b0b..e27e8a36a9f0 100644 > --- a/arm/gic.c > +++ b/arm/gic.c > @@ -297,7 +297,6 @@ static void run_active_clear_test(void) > > int main(int argc, char **argv) > { > - char pfx[8]; > int cpu; > > if (!gic_init()) { > @@ -305,8 +304,7 @@ int main(int argc, char **argv) > return report_summary(); > } > > - snprintf(pfx, sizeof(pfx), "gicv%d", gic_version()); > - report_prefix_push(pfx); > + report_prefix_pushf("gicv%d", gic_version()); > > switch (gic_version()) { > case 2: > Reviewed-by: Thomas Huth