From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 2E1E31BD57; Fri, 11 May 2018 12:47:33 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 May 2018 03:47:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,388,1520924400"; d="scan'208";a="223429485" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by orsmga005.jf.intel.com with ESMTP; 11 May 2018 03:47:30 -0700 Received: from irsmsx112.ger.corp.intel.com (10.108.20.5) by IRSMSX103.ger.corp.intel.com (163.33.3.157) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 11 May 2018 11:47:30 +0100 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.150]) by irsmsx112.ger.corp.intel.com ([169.254.1.237]) with mapi id 14.03.0319.002; Fri, 11 May 2018 11:47:30 +0100 From: "De Lara Guarch, Pablo" To: Andy Green , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4 10/18] net/qede: solve broken strncpy Thread-Index: AQHT6Mn8x6TUUQHkGUeBou6erjQ2bqQqWK1A Date: Fri, 11 May 2018 10:47:29 +0000 Message-ID: References: <152600304856.53146.9681482138854493833.stgit@localhost.localdomain> <152600316606.53146.14953519058439248573.stgit@localhost.localdomain> In-Reply-To: <152600316606.53146.14953519058439248573.stgit@localhost.localdomain> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTU1ZTgzOWYtNTQ4Yi00M2E1LWI1ZTYtZmE0NTNkNGNmODYxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Ikg5NXJudVc3Rm9vNmw5SHArcHJtSG5zUnRJbFF1cWthZkhBaHl1NFJCQ0U9In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 10/18] net/qede: solve broken strncpy 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, 11 May 2018 10:47:33 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IFttYWlsdG86ZGV2 LWJvdW5jZXNAZHBkay5vcmddIE9uIEJlaGFsZiBPZiBBbmR5IEdyZWVuDQo+IFNlbnQ6IEZyaWRh eSwgTWF5IDExLCAyMDE4IDI6NDYgQU0NCj4gVG86IGRldkBkcGRrLm9yZw0KPiBTdWJqZWN0OiBb ZHBkay1kZXZdIFtQQVRDSCB2NCAxMC8xOF0gbmV0L3FlZGU6IHNvbHZlIGJyb2tlbiBzdHJuY3B5 DQo+IA0KPiAvaG9tZS9hZ3JlZW4vcHJvamVjdHMvZHBkay9kcml2ZXJzL25ldC9xZWRlL3FlZGVf bWFpbi5jOiBJbiBmdW5jdGlvbg0KPiDigJhxZWRfc2xvd3BhdGhfc3RhcnTigJk6DQo+IC9ob21l L2FncmVlbi9wcm9qZWN0cy9kcGR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