patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Kevin Traynor <ktraynor@redhat.com>
To: stable@dpdk.org
Cc: bruce.richardson@intel.com, reshma.pattan@intel.com,
	Kevin Traynor <ktraynor@redhat.com>
Subject: [dpdk-stable] [PATCH 18.11 3/3] mk: disable packed member pointer warning for telemetry
Date: Thu, 16 May 2019 19:21:57 +0100	[thread overview]
Message-ID: <20190516182157.32128-4-ktraynor@redhat.com> (raw)
In-Reply-To: <20190516182157.32128-1-ktraynor@redhat.com>

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


  parent reply	other threads:[~2019-05-16 18:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-16 18:21 [dpdk-stable] [PATCH 18.11 0/3] Fixes for GCC 9 Kevin Traynor
2019-05-16 18:21 ` [dpdk-stable] [PATCH 18.11 1/3] mk: disable warning for packed member pointer Kevin Traynor
2019-05-16 18:21 ` [dpdk-stable] [PATCH 18.11 2/3] bus/fslmc: fix warning with GCC 9 Kevin Traynor
2019-05-16 18:21 ` Kevin Traynor [this message]
2019-05-17  8:39 ` [dpdk-stable] [PATCH 18.11 0/3] Fixes for " Richardson, Bruce
2019-05-20 16:24   ` 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=20190516182157.32128-4-ktraynor@redhat.com \
    --to=ktraynor@redhat.com \
    --cc=bruce.richardson@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).