From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 8739958CE for ; Fri, 21 Apr 2017 05:39:46 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Apr 2017 20:39:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,228,1488873600"; d="scan'208";a="92089717" Received: from pgsmsx108.gar.corp.intel.com ([10.221.44.103]) by fmsmga005.fm.intel.com with ESMTP; 20 Apr 2017 20:39:44 -0700 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.175]) by PGSMSX108.gar.corp.intel.com ([169.254.8.249]) with mapi id 14.03.0319.002; Fri, 21 Apr 2017 11:39:43 +0800 From: "Zhao1, Wei" To: Thomas Monjalon , "Lu, Wenzhuo" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v7 2/3] net/i40e: implement device reset on port Thread-Index: AQHSsafVgILApHUvA0ONoMsfM5xGNKHOTB0AgADyH6A= Date: Fri, 21 Apr 2017 03:39:42 +0000 Message-ID: References: <1491461483-39861-1-git-send-email-wei.zhao1@intel.com> <1491793349-46840-1-git-send-email-wei.zhao1@intel.com> <1491793349-46840-3-git-send-email-wei.zhao1@intel.com> <1695798.icjDa5TUky@xps> In-Reply-To: <1695798.icjDa5TUky@xps> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.30.20.206] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v7 2/3] net/i40e: implement device reset on port X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Apr 2017 03:39:47 -0000 Hi, Thomas > -----Original Message----- > From: Thomas Monjalon [mailto:thomas@monjalon.net] > Sent: Friday, April 21, 2017 5:12 AM > To: Zhao1, Wei ; Lu, Wenzhuo > > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v7 2/3] net/i40e: implement device reset o= n > port >=20 > 10/04/2017 05:02, Wei Zhao: > > + if (adapter->reset_store_data =3D=3D NULL) { > > + PMD_INIT_LOG(ERR, "Failed to allocate %ld bytes needed > to" > > + " to store data when reset vf", > > + sizeof(struct i40e_vf_reset_store)); >=20 > Compilation fails for 32-bit. > %ld must be replaced by %zu Ok, I will change as your suggestion in next version.