05/10/2020 19:02, Ferruh Yigit: > Compiler version: > gcc 10.2.1 "cc (GCC) 10.2.1 20200723 (Red Hat 10.2.1-1)" > > Build error: > ../examples/vm_power_manager/guest_cli/vm_power_cli_guest.c:346:23: > warning: format ‘%ld’ expects argument of type ‘long int’, but > argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} > [-Wformat=] > 346 | cmdline_printf(cl, "Capabilities of [%d] vcore are:" > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ...... > 349 | pkt_caps_list.turbo[i], > | ~~~~~~~~~~~~~~~~~~~~~~ > | | > | uint64_t {aka long long unsigned int} > > Fixes: 07525d1a047a ("examples/vm_power: send capabilities request from > guest") > Cc: sta...@dpdk.org > > Signed-off-by: Ferruh Yigit <ferruh.yi...@intel.com> > --- > Cc: David Marchand <david.march...@redhat.com> > Cc: David Hunt <david.h...@intel.com> > > Fixed patch is not new, not sure why getting the error now but was not > getting it before, do you have any clue? > Or is the CI having this error?
Probably because we don't test this example in 32-bit env. Note: it requires 32-bit libvirt. Applied with spaces around PRId64, thanks