From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 3FE27F72 for ; Wed, 16 Jan 2019 12:26:51 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2019 03:26:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,485,1539673200"; d="scan'208";a="128200721" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 16 Jan 2019 03:26:49 -0800 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 16 Jan 2019 03:26:49 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 16 Jan 2019 03:26:49 -0800 Received: from shsmsx152.ccr.corp.intel.com ([169.254.6.44]) by shsmsx102.ccr.corp.intel.com ([169.254.2.63]) with mapi id 14.03.0415.000; Wed, 16 Jan 2019 19:26:47 +0800 From: "Xu, Rosen" To: "Pei, Andy" , "dev@dpdk.org" CC: "Zhang, Tianfei" Thread-Topic: [DPDK] [PATCH v4] raw/ifpga: fix a typo and delete code of unused function Thread-Index: AQHUrJSzOWAegFJYBk2IUb2SrHqGcaWxv5CA Date: Wed, 16 Jan 2019 11:26:47 +0000 Message-ID: <0E78D399C70DA940A335608C6ED296D73A4C6CCA@SHSMSX152.ccr.corp.intel.com> References: <1545746524-116580-1-git-send-email-andy.pei@intel.com> <1547530680-423006-1-git-send-email-andy.pei@intel.com> In-Reply-To: <1547530680-423006-1-git-send-email-andy.pei@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTU1ODhiMmUtYWIzZi00ZTVmLTkyNTktMmJkYTJlZWVkMDczIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiTGF2OXVlV1plbVNwYTh1ZFp0ZENwWkdXendFSzhiMnlUbWkzd2lDRDdcL1o4K216bTBZb3lDWXFQc28yMFNaekQifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action 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] [DPDK] [PATCH v4] raw/ifpga: fix a typo and delete code of unused function 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: Wed, 16 Jan 2019 11:26:51 -0000 Hi, Pls don't use fixline if your patch code doesn't merged in community. > -----Original Message----- > From: Pei, Andy > Sent: Tuesday, January 15, 2019 13:38 > To: dev@dpdk.org > Cc: Xu, Rosen ; Zhang, Tianfei > ; Pei, Andy > Subject: [DPDK] [PATCH v4] raw/ifpga: fix a typo and delete code of unuse= d > function >=20 > fix a typo and delete code of unused function >=20 > Fixes: 88c9eb7cb4b5 (\"fix a typo and delete code of unused function\") > Cc: andy.pei@intel.com > Cc: rosen.xu@intel.com > Cc: tianfei.zhang@intel.com >=20 > Signed-off-by: Andy Pei > --- > drivers/raw/ifpga_rawdev/base/opae_hw_api.c | 24 +----------------------= - > 1 file changed, 1 insertion(+), 23 deletions(-) >=20 > diff --git a/drivers/raw/ifpga_rawdev/base/opae_hw_api.c > b/drivers/raw/ifpga_rawdev/base/opae_hw_api.c > index 50f6438..ea42757 100644 > --- a/drivers/raw/ifpga_rawdev/base/opae_hw_api.c > +++ b/drivers/raw/ifpga_rawdev/base/opae_hw_api.c > @@ -304,7 +304,7 @@ static struct opae_adapter_ops *match_ops(struct > opae_adapter *adapter) >=20 > /** > * opae_adapter_init - init opae_adapter data structure > - * @adpdate: pointer of opae_adater data structure > + * @adapter: pointer of opae_adater data structure > * @name: adapter name. > * @data: private data of this adapter. > * > @@ -325,28 +325,6 @@ int opae_adapter_init(struct opae_adapter > *adapter, } >=20 > /** > - * opae_adapter_alloc - alloc opae_adapter data structure > - * @name: adapter name. > - * @data: private data of this adapter. > - * > - * Return: opae_adapter on success, otherwise NULL. > - */ > - /**This function will no longer be called. > -struct opae_adapter *opae_adapter_alloc(const char *name, void *data) -{ > - struct opae_adapter *adapter =3D opae_zmalloc(sizeof(*adapter)); > - > - if (!adapter) > - return NULL; > - > - if (opae_adapter_init(adapter, name, data)) > - return NULL; > - > - return adapter; > -} > -**/ > - > -/** > * opae_adapter_enumerate - enumerate this adapter > * @adapter: adapter to enumerate. > * > -- > 1.8.3.1