From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A60FFA046B for ; Thu, 27 Jun 2019 18:37:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 363543798; Thu, 27 Jun 2019 18:37:38 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id C55832C30 for ; Thu, 27 Jun 2019 18:37:36 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jun 2019 09:37:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,424,1557212400"; d="scan'208";a="183487995" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga001.fm.intel.com with ESMTP; 27 Jun 2019 09:37:34 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.217]) by IRSMSX101.ger.corp.intel.com ([169.254.1.80]) with mapi id 14.03.0439.000; Thu, 27 Jun 2019 17:37:33 +0100 From: "Pattan, Reshma" To: "Richardson, Bruce" , "dev@dpdk.org" CC: "thomas@monjalon.net" , "jerinj@marvell.com" , "Richardson, Bruce" Thread-Topic: [dpdk-dev] [PATCH v3 6/8] raw/ioat: add configure, start and stop functions Thread-Index: AQHVLNT+NgbjgQravkC31XaJiL3mzaavsjBA Date: Thu, 27 Jun 2019 16:37:33 +0000 Message-ID: <3AEA2BF9852C6F48A459DA490692831F2A48844C@irsmsx110.ger.corp.intel.com> References: <20190530212525.40370-1-bruce.richardson@intel.com> <20190627104055.8244-1-bruce.richardson@intel.com> <20190627104055.8244-7-bruce.richardson@intel.com> In-Reply-To: <20190627104055.8244-7-bruce.richardson@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjhjM2U5OTMtYzJiNi00NzQ3LWE0MDgtYTE3NWNkNWQ0OWY1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiemZhanBLckJDa2lLM2c1cU5FSXBYY0pqelhUTkRMUGVHQlhqQ1FQRmFYWFdYMCthNXZuSGM1d1lyMDcwQnRLQyJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 6/8] raw/ioat: add configure, start and stop functions 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, June 27, 2019 11:41 AM > To: dev@dpdk.org > Cc: thomas@monjalon.net; jerinj@marvell.com; Richardson, Bruce > > Subject: [dpdk-dev] [PATCH v3 6/8] raw/ioat: add configure, start and sto= p > functions > +int ioat_rawdev_test(uint16_t dev_id); > + > static int > ioat_rawdev_create(const char *name, struct rte_pci_device *dev) { > static const struct rte_rawdev_ops ioat_rawdev_ops =3D { > + .dev_configure =3D ioat_dev_configure, > + .dev_start =3D ioat_dev_start, > + .dev_stop =3D ioat_dev_stop, > .dev_info_get =3D ioat_dev_info_get, > + .dev_selftest =3D ioat_rawdev_test, Build fail for ./devtools/test-build.sh x86_64-native-linux-gcc+next+share= d /drivers/raw/ioat/ioat_rawdev.c: In function 'ioat_rawdev_create': drivers/raw/ioat/ioat_rawdev.c:163:20: error: initialization of 'int (*)(vo= id)' from incompatible pointer type 'int (*)(uint16_t)' {aka 'int (*)(short= unsigned int)'} [-Werror=3Dincompatible-pointer-types] 163 | .dev_selftest =3D ioat_rawdev_test, Thanks, Reshma