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 90AE4A00E6 for ; Thu, 16 May 2019 20:08:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 46BDC5A6A; Thu, 16 May 2019 20:08:31 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 6CFD35A6A for ; Thu, 16 May 2019 20:08:29 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C2EE4309B7B9; Thu, 16 May 2019 18:08:08 +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 F38921A913; Thu, 16 May 2019 18:07:44 +0000 (UTC) From: Kevin Traynor To: stable@dpdk.org, kevin.laatz@intel.com Cc: reshma.pattan@intel.com, bruce.richardson@intel.com, Kevin Traynor Date: Thu, 16 May 2019 19:07:25 +0100 Message-Id: <20190516180725.30484-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Thu, 16 May 2019 18:08:28 +0000 (UTC) Subject: [dpdk-stable] [PATCH] 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