From: Andrew Jones Subject: [PATCH kvm-unit-tests 2/2] arm/arm64: gic: apply report_prefix_pushf Date: Mon, 22 May 2017 20:18:21 +0200 Message-ID: <20170522181821.29482-3-drjones@redhat.com> References: <20170522181821.29482-1-drjones@redhat.com> Cc: pbonzini@redhat.com, rkrcmar@redhat.com, lvivier@redhat.com, thuth@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:50502 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933803AbdEVSSa (ORCPT ); Mon, 22 May 2017 14:18:30 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 364FE804F0 for ; Mon, 22 May 2017 18:18:30 +0000 (UTC) In-Reply-To: <20170522181821.29482-1-drjones@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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: -- 2.9.3