Re: [PATCH kvm-unit-tests 2/2] arm/arm64: gic: apply report_prefix_pushf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux