numam-dpdk/examples/vm_power_manager
Ferruh Yigit 984d99ccb0 examples/vm_power: fix 32-bit build
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: 07525d1a04 ("examples/vm_power: send capabilities request from guest")
Cc: stable@dpdk.org

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Tested-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2020-10-06 09:49:29 +02:00
..
guest_cli examples/vm_power: fix 32-bit build 2020-10-06 09:49:29 +02:00
channel_manager.c examples/vm_power: drop Unix path limit redefinition 2020-05-21 15:41:49 +02:00
channel_manager.h examples/vm_power: drop Unix path limit redefinition 2020-05-21 15:41:49 +02:00
channel_monitor.c examples/power: fix ack for enable/disable turbo 2020-02-13 18:22:19 +01:00
channel_monitor.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
main.c examples: use new link status print format 2020-09-21 18:05:38 +02:00
Makefile examples/vm_power: convert to pkg-config-based build 2020-09-07 23:51:57 +02:00
meson.build ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
oob_monitor_nop.c examples/vm_power_manager: fix build 2020-04-17 23:22:15 +02:00
oob_monitor_x86.c examples/vm_power: allow managing idle cores 2020-07-17 14:40:56 +02:00
oob_monitor.h examples/vm_power: add oob monitoring functions 2018-07-20 22:53:17 +02:00
parse.c examples/vm_power: make branch ratio threshold per core 2020-07-17 14:40:56 +02:00
parse.h examples/vm_power: make branch ratio threshold per core 2020-07-17 14:40:56 +02:00
power_manager.c examples/vm_power: make branch ratio threshold per core 2020-07-17 14:40:56 +02:00
power_manager.h examples/vm_power: make branch ratio threshold per core 2020-07-17 14:40:56 +02:00
vm_power_cli.c replace unused attributes 2020-04-16 18:30:58 +02:00
vm_power_cli.h replace unused attributes 2020-04-16 18:30:58 +02:00