From: Kevin Traynor <ktraynor@redhat.com>
To: stable@dpdk.org
Cc: david.hunt@intel.com, reshma.pattan@intel.com,
thomas@monjalon.net, Kevin Traynor <ktraynor@redhat.com>
Subject: [dpdk-stable] [PATCH 18.11 2/2] examples/vm_power: fix build because of missing include
Date: Tue, 16 Jun 2020 16:17:13 +0100 [thread overview]
Message-ID: <20200616151713.13128-3-ktraynor@redhat.com> (raw)
In-Reply-To: <20200616151713.13128-1-ktraynor@redhat.com>
strlcpy() was used but the file was not including the
rte_string_fns.h header file.
Include the missing header file.
Fixes: d9219a9cac0f ("examples/power: fix string overflow")
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
---
examples/vm_power_manager/channel_monitor.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/examples/vm_power_manager/channel_monitor.c b/examples/vm_power_manager/channel_monitor.c
index 1d6d7ec6d5..7881c51885 100644
--- a/examples/vm_power_manager/channel_monitor.c
+++ b/examples/vm_power_manager/channel_monitor.c
@@ -31,4 +31,5 @@
#include <rte_pmd_i40e.h>
#endif
+#include <rte_string_fns.h>
#include <libvirt/libvirt.h>
--
2.21.3
next prev parent reply other threads:[~2020-06-16 15:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-16 15:17 [dpdk-stable] [PATCH 18.11 0/2] vm power example build fixes Kevin Traynor
2020-06-16 15:17 ` [dpdk-stable] [PATCH 18.11 1/2] examples/vm_power: fix build with -fno-common Kevin Traynor
2020-06-16 15:17 ` Kevin Traynor [this message]
2020-06-17 9:16 ` [dpdk-stable] [PATCH 18.11 0/2] vm power example build fixes Luca Boccassi
2020-06-19 9:38 ` Kevin Traynor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200616151713.13128-3-ktraynor@redhat.com \
--to=ktraynor@redhat.com \
--cc=david.hunt@intel.com \
--cc=reshma.pattan@intel.com \
--cc=stable@dpdk.org \
--cc=thomas@monjalon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).