On 22.05.2017 20:18, Andrew Jones wrote: > Signed-off-by: Andrew Jones <drjones@xxxxxxxxxx> > --- > 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 <thuth@xxxxxxxxxx>