mbox series

[v2,0/4] fixes for example app builds

Message ID 20200821171017.50531-1-bruce.richardson@intel.com (mailing list archive)
Headers show
Series fixes for example app builds | expand

Message

Bruce Richardson Aug. 21, 2020, 5:10 p.m. UTC
While helping prepare some patches for converting the DPDK examples to
build using pkg-config, a number of errors and warnings were encountered in
the example app builds. These patches fix those issues.

NOTE: no makefile changes are included since make support is being removed
in this release

Bruce Richardson (4):
  power: make guest channel headers public
  examples/vm_power_manager: fix string truncation warning
  examples/mp_server: fix snprintf overflow
  examples/mp_server: clear string truncation warning

 .../client_server_mp/mp_server/main.c           | 17 ++++++++++-------
 .../client_server_mp/shared/common.h            |  2 +-
 examples/vm_power_manager/channel_manager.c     | 11 ++++++++---
 examples/vm_power_manager/channel_monitor.c     |  1 -
 examples/vm_power_manager/channel_monitor.h     |  2 +-
 examples/vm_power_manager/guest_cli/main.c      |  1 +
 .../guest_cli/vm_power_cli_guest.c              |  2 +-
 .../guest_cli/vm_power_cli_guest.h              |  2 +-
 examples/vm_power_manager/vm_power_cli.c        |  1 -
 lib/librte_power/guest_channel.c                |  3 +--
 lib/librte_power/meson.build                    |  4 +++-
 lib/librte_power/power_kvm_vm.c                 |  3 +--
 ..._commands.h => rte_power_channel_commands.h} |  0
 ...uest_channel.h => rte_power_guest_channel.h} |  2 +-
 14 files changed, 29 insertions(+), 22 deletions(-)
 rename lib/librte_power/{channel_commands.h => rte_power_channel_commands.h} (100%)
 rename lib/librte_power/{guest_channel.h => rte_power_guest_channel.h} (98%)