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 47DC12BF5 for ; Thu, 24 Mar 2016 07:54:04 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 23 Mar 2016 23:54:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,383,1455004800"; d="scan'208";a="943965512" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga002.fm.intel.com with ESMTP; 23 Mar 2016 23:54:04 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 23 Mar 2016 23:54:02 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 23 Mar 2016 23:54:02 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.232]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.24]) with mapi id 14.03.0248.002; Thu, 24 Mar 2016 14:53:58 +0800 From: "Lu, Wenzhuo" To: "Wu, Jingjing" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 1/2] ixgbe: fix the wrong address of device data pointer Thread-Index: AQHRhZk7WEddPwZuGEqhGnLN21I16J9oJ/rA Date: Thu, 24 Mar 2016 06:53:57 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09090343EAD8@shsmsx102.ccr.corp.intel.com> References: <1458801431-25886-1-git-send-email-wenzhuo.lu@intel.com> <1458801431-25886-2-git-send-email-wenzhuo.lu@intel.com> <9BB6961774997848B5B42BEC655768F8DDC658@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <9BB6961774997848B5B42BEC655768F8DDC658@SHSMSX104.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 1/2] ixgbe: fix the wrong address of device data pointer 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: Thu, 24 Mar 2016 06:54:04 -0000 Hi Jingjing, > > set_rx_mode(struct rte_eth_dev *dev) > > { > > struct rte_eth_dev_data *dev_data =3D > > - (struct rte_eth_dev_data*)dev->data->dev_private; > > + (struct rte_eth_dev_data *)dev->data; > Cast is unnecessary here. O, didn't notice that. Will send a V2. Thanks. >=20 > /Jingjing