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 E87225584 for ; Wed, 30 Nov 2016 14:46:43 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 30 Nov 2016 05:46:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,574,1473145200"; d="scan'208";a="1066146583" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.29]) ([10.237.220.29]) by orsmga001.jf.intel.com with ESMTP; 30 Nov 2016 05:46:41 -0800 To: Jingjing Wu , dev@dpdk.org References: <1480239317-7827-1-git-send-email-jingjing.wu@intel.com> <1480471345-95458-1-git-send-email-jingjing.wu@intel.com> Cc: helin.zhang@intel.com From: Ferruh Yigit Message-ID: <7808fdb8-4ebb-a5ce-1c93-5be755f9055f@intel.com> Date: Wed, 30 Nov 2016 13:46:40 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: <1480471345-95458-1-git-send-email-jingjing.wu@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] net/i40evf: fix casting between structs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Nov 2016 13:46:44 -0000 On 11/30/2016 2:02 AM, Jingjing Wu wrote: > Casting from structs which lay out data in typed members > to structs which have flat memory buffers, will cause > problems if the alignment of the former isn't as expected. > This patch removes the casting between structs. > > Fixes: ae19955e7c86 ("i40evf: support reporting PF reset") > Signed-off-by: Jingjing Wu Applied to dpdk-next-net/master, thanks.