From: Kevin Traynor <ktraynor@redhat.com>
To: stable@dpdk.org, kevin.laatz@intel.com
Cc: reshma.pattan@intel.com, bruce.richardson@intel.com,
Kevin Traynor <ktraynor@redhat.com>
Subject: [dpdk-stable] [PATCH] mk: disable packed member pointer warning for telemetry
Date: Thu, 16 May 2019 19:07:25 +0100 [thread overview]
Message-ID: <20190516180725.30484-1-ktraynor@redhat.com> (raw)
Warnings for packed member pointers were disabled for GCC 9.
There was 2 in telemetry that were missed, as it doesn't use
WERROR_FLAGS.
Fixes: a385972c3675 ("mk: disable warning for packed member pointer")
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
---
lib/librte_telemetry/Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/librte_telemetry/Makefile b/lib/librte_telemetry/Makefile
index 1a0506913..ef73a4e73 100644
--- a/lib/librte_telemetry/Makefile
+++ b/lib/librte_telemetry/Makefile
@@ -20,4 +20,9 @@ EXPORT_MAP := rte_telemetry_version.map
LIBABIVER := 1
+ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
+CFLAGS_rte_telemetry.o += -Wno-address-of-packed-member
+CFLAGS_rte_telemetry_parser.o += -Wno-address-of-packed-member
+endif
+
# library source files
SRCS-$(CONFIG_RTE_LIBRTE_TELEMETRY) := rte_telemetry.c
--
2.20.1
reply other threads:[~2019-05-16 18:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20190516180725.30484-1-ktraynor@redhat.com \
--to=ktraynor@redhat.com \
--cc=bruce.richardson@intel.com \
--cc=kevin.laatz@intel.com \
--cc=reshma.pattan@intel.com \
--cc=stable@dpdk.org \
/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).