From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 212542BF3; Thu, 31 Aug 2017 17:33:48 +0200 (CEST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Aug 2017 08:33:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,453,1498546800"; d="scan'208";a="144142658" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.57]) ([10.237.220.57]) by orsmga005.jf.intel.com with ESMTP; 31 Aug 2017 08:33:46 -0700 To: Nelio Laranjeiro , dev@dpdk.org Cc: gowrishankar.m@linux.vnet.ibm.com, stable@dpdk.org References: <20f8cf112084a36f203b80e212a9f08463bd3c91.1504020810.git.nelio.laranjeiro@6wind.com> <7b005e17d5b2a1221e6d7237e3d36fea57a33c6a.1504104367.git.nelio.laranjeiro@6wind.com> From: Ferruh Yigit Message-ID: Date: Thu, 31 Aug 2017 16:33:44 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <7b005e17d5b2a1221e6d7237e3d36fea57a33c6a.1504104367.git.nelio.laranjeiro@6wind.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH v2 1/2] net/mlx5: fix clang compilation 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, 31 Aug 2017 15:33:49 -0000 On 8/30/2017 3:47 PM, Nelio Laranjeiro wrote: > On redhat 7.2 clang reports the following error: > CC mlx5_rxmode.o > /drivers/net/mlx5/mlx5_ethdev.c:820:32: error: field 'edata' with variable > sized type 'struct ethtool_link_settings' not at the end of a struct or > class is a GNU extension [-Werror,-Wgnu-variable-sized-type-not-at-end] > struct ethtool_link_settings edata; > > Use alternative approach to reserve buffer space on the stack. > > Fixes: ef09a7fc7620 ("net/mlx5: fix inconsistent link status query") > Cc: gowrishankar.m@linux.vnet.ibm.com > Cc: stable@dpdk.org > > Signed-off-by: Nelio Laranjeiro > Acked-by: Adrien Mazarguil Series applied to dpdk-next-net/master, thanks. (replaced the previous version of the set on next-net)