From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id D8D7CA00E6 for ; Thu, 16 May 2019 20:22:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D19A25F2A; Thu, 16 May 2019 20:22:19 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 74D975F2A for ; Thu, 16 May 2019 20:22:18 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DB3883003B53; Thu, 16 May 2019 18:22:17 +0000 (UTC) Received: from rh.redhat.com (ovpn-116-124.ams2.redhat.com [10.36.116.124]) by smtp.corp.redhat.com (Postfix) with ESMTP id C3C2C60C71; Thu, 16 May 2019 18:22:16 +0000 (UTC) From: Kevin Traynor To: stable@dpdk.org Cc: bruce.richardson@intel.com, reshma.pattan@intel.com, Kevin Traynor Date: Thu, 16 May 2019 19:21:57 +0100 Message-Id: <20190516182157.32128-4-ktraynor@redhat.com> In-Reply-To: <20190516182157.32128-1-ktraynor@redhat.com> References: <20190516182157.32128-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Thu, 16 May 2019 18:22:17 +0000 (UTC) Subject: [dpdk-stable] [PATCH 18.11 3/3] mk: disable packed member pointer warning for telemetry X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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 --- 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