From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by dpdk.org (Postfix) with ESMTP id CF2714C74 for ; Thu, 8 Nov 2018 19:01:35 +0100 (CET) Received: by mail-wm1-f67.google.com with SMTP id s10-v6so2183651wmc.5 for ; Thu, 08 Nov 2018 10:01:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aJHlYsLetDopepqyL49Qkkkk80N7Br/WpqUdY/RxX0c=; b=U1KBzmHyRdJlxIQPgmtY2Fpr8q09oEY1mOjFwdRHC2NtCU+MOhnI9YY29PwilvYqrp HEkOfWa9n04ubRFYSnJYQdyxiqNZB+nNY8uJ7aIKIHtqiWcBTWMUIKGAYQmlhVVjV9k3 shGE2kRkOIuu6wY1Cqn034RHERVB6ExVHx5Gz+wZcnY2Vmmpc2htkayVgeecgL3mtNaq I4CQFSLVWjdI51jvrtpbst13YEMC2Xt/s6NkHQ3TsRQMRiK9J8kwLqbVSt238fZ9aZyC DYnjM6ks2Pd+Xf+7FCI9QKZhl3rrj65Ru5dXI5IUEPCf4RHixp30HVSEJMEgRZ8kgb+a FqGA== X-Gm-Message-State: AGRZ1gLs/zYs3JDf7wp3K2kKUGLqeM7EiAaCSnAsh1aKj4LWlLgJky5F Yl2Vo6vAnc18K6yUO7hRWsk= X-Google-Smtp-Source: AJdET5ct/P2UIw15fOZVJ1pekOOIt/1wMktWXt2uu6W7InTVLorRADitHfMMt55jOk3babIPzY/08g== X-Received: by 2002:a1c:4b1a:: with SMTP id y26-v6mr2110128wma.82.1541700095484; Thu, 08 Nov 2018 10:01:35 -0800 (PST) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id z5-v6sm2643754wmi.32.2018.11.08.10.01.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Nov 2018 10:01:34 -0800 (PST) From: Luca Boccassi To: Shahaf Shuler Cc: Ferruh Yigit , dpdk stable Date: Thu, 8 Nov 2018 18:01:03 +0000 Message-Id: <20181108180111.25873-7-bluca@debian.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181108180111.25873-1-bluca@debian.org> References: <20181029125329.17729-20-bluca@debian.org> <20181108180111.25873-1-bluca@debian.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net: fix build with pedantic' has been queued to LTS release 16.11.9 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: , X-List-Received-Date: Thu, 08 Nov 2018 18:01:36 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.9 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/10/18. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Luca Boccassi --- >>From 80f92131f535471341435317acf0b3cab7f75fdb Mon Sep 17 00:00:00 2001 From: Shahaf Shuler Date: Thu, 1 Nov 2018 14:46:45 +0200 Subject: [PATCH] net: fix build with pedantic [ upstream commit be685863a9ea636bf7924f0a8034bb4c21fb1402 ] The following error popped when compiling with -pedantic: In file included from drivers/net/mlx5/mlx5_flow_dv.c:28:0: include/rte_gre.h:20:2: error: type of bit-field 'res2' is a GCC extension [-Werror=pedantic] uint16_t res2:4; /**< Reserved */ Fixing by adding the __extension__ attribute. Fixes: 894f71a3805d ("net: add GRE header structure") Signed-off-by: Shahaf Shuler Reviewed-by: Ferruh Yigit --- lib/librte_net/rte_gre.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_net/rte_gre.h b/lib/librte_net/rte_gre.h index 46568ff57..8a3414cfb 100644 --- a/lib/librte_net/rte_gre.h +++ b/lib/librte_net/rte_gre.h @@ -43,6 +43,7 @@ extern "C" { /** * GRE Header */ +__extension__ struct gre_hdr { #if RTE_BYTE_ORDER == RTE_LITTLE_ENDIAN uint16_t res2:4; /**< Reserved */ -- 2.19.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2018-11-08 17:59:30.196603205 +0000 +++ 0007-net-fix-build-with-pedantic.patch 2018-11-08 17:59:30.052751010 +0000 @@ -1,8 +1,10 @@ -From be685863a9ea636bf7924f0a8034bb4c21fb1402 Mon Sep 17 00:00:00 2001 +From 80f92131f535471341435317acf0b3cab7f75fdb Mon Sep 17 00:00:00 2001 From: Shahaf Shuler Date: Thu, 1 Nov 2018 14:46:45 +0200 Subject: [PATCH] net: fix build with pedantic +[ upstream commit be685863a9ea636bf7924f0a8034bb4c21fb1402 ] + The following error popped when compiling with -pedantic: In file included from @@ -14,7 +16,6 @@ Fixing by adding the __extension__ attribute. Fixes: 894f71a3805d ("net: add GRE header structure") -Cc: stable@dpdk.org Signed-off-by: Shahaf Shuler Reviewed-by: Ferruh Yigit @@ -23,10 +24,10 @@ 1 file changed, 1 insertion(+) diff --git a/lib/librte_net/rte_gre.h b/lib/librte_net/rte_gre.h -index 69499bb82..05aa9d143 100644 +index 46568ff57..8a3414cfb 100644 --- a/lib/librte_net/rte_gre.h +++ b/lib/librte_net/rte_gre.h -@@ -15,6 +15,7 @@ extern "C" { +@@ -43,6 +43,7 @@ extern "C" { /** * GRE Header */