From patchwork Fri Aug 21 17:10:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 75844 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4D6BFA04AF; Fri, 21 Aug 2020 19:10:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AF1E91E2B; Fri, 21 Aug 2020 19:10:33 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 7BC5D1DB9 for ; Fri, 21 Aug 2020 19:10:32 +0200 (CEST) IronPort-SDR: IIbwc5H2/yA4bLDPPvKEEOg/6q0broVmAY4GZjeQgi9rfXzww2IjjFL3IcFnzCf+UlqRs8jQOR A0LUiWbWQnBQ== X-IronPort-AV: E=McAfee;i="6000,8403,9720"; a="217125263" X-IronPort-AV: E=Sophos;i="5.76,338,1592895600"; d="scan'208";a="217125263" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Aug 2020 10:10:30 -0700 IronPort-SDR: LH9UkjT8TPjUptGBje9hVRn9oeMA9UIacdaDjAqykzXOESYxTuYSPMaefxCeXUygP2wrOFujzq AN+ZDlS9cG/g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,338,1592895600"; d="scan'208";a="498037727" Received: from silpixa00399126.ir.intel.com ([10.237.222.56]) by fmsmga006.fm.intel.com with ESMTP; 21 Aug 2020 10:10:28 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Date: Fri, 21 Aug 2020 18:10:13 +0100 Message-Id: <20200821171017.50531-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200814110045.217724-1-bruce.richardson@intel.com> References: <20200814110045.217724-1-bruce.richardson@intel.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 0/4] fixes for example app builds X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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%)