[dpdk-dev] [PATCH v2] test/power: fix 32-bit build

Thomas Monjalon thomas at monjalon.net
Fri Jul 13 18:12:52 CEST 2018


13/07/2018 06:51, Pablo de Lara:
> Compilation issue:
> 
> test/test/test_power_acpi_cpufreq.c:556:31:
> error: format ‘%lx’ expects argument of type ‘long unsigned int’,
> but argument 2 has type ‘uint64_t {aka long long unsigned int}’
> -Werror=format=]
> 
>   printf("ACPI: Capabilities %lx\n", caps.capabilities);
>                              ~~^     ~~~~~~~~~~~~~~~~~
>                              %llx
> 
> Fixes: 39e38d583075 ("test/power: add unit test for get capabilities API")
> 
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
> Acked-by: Radu Nicolau <radu.nicolau at intel.com>

Applied, thanks




More information about the dev mailing list