From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0068.outbound.protection.outlook.com [104.47.41.68]) by dpdk.org (Postfix) with ESMTP id 0E87B1C876; Fri, 11 May 2018 19:13:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=RBxO0zFOipFFvsJYh9zXJtLWbEhwfbd9XauFuz51pJk=; b=BSpuTHZIRKCMKCKQxXJ6F9i3Y+/eRRYi+KdWom6crJBxh0dt8o+DwlpzvDDJnWQ3nDo5cXk5FJK0IYcf2976TL99k0zlIp3kIy2mNpyNBKy/2Mnh6JWkfD8gYkx+TsBY/meW5l5HIKQpSBkO+1Zmi7AAx3a+/fIDy72PbJLS2F0= Received: from DM2PR07MB1547.namprd07.prod.outlook.com (10.161.140.147) by DM2PR07MB1562.namprd07.prod.outlook.com (10.161.140.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.755.16; Fri, 11 May 2018 17:13:31 +0000 Received: from DM2PR07MB1547.namprd07.prod.outlook.com ([fe80::d43c:136b:6bb1:d48a]) by DM2PR07MB1547.namprd07.prod.outlook.com ([fe80::d43c:136b:6bb1:d48a%16]) with mapi id 15.20.0755.012; Fri, 11 May 2018 17:13:30 +0000 From: "Shaikh, Shahed" To: "De Lara Guarch, Pablo" , Andy Green , "dev@dpdk.org" CC: "stable@dpdk.org" , "Mody, Rasesh" Thread-Topic: [dpdk-dev] [PATCH v4 09/18] net/qede: strncpy length constant and NUL Thread-Index: AQHT6RWVS/CLjr21W0209ur/fwhYBKQqen0AgABJPeA= Date: Fri, 11 May 2018 17:13:30 +0000 Message-ID: References: <152600304856.53146.9681482138854493833.stgit@localhost.localdomain> <152600316103.53146.10955338688055072616.stgit@localhost.localdomain> <1a5248e0-d33f-db7c-748e-39805a111aa2@warmcat.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [173.186.134.106] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM2PR07MB1562; 7:9AnEJWaqm03zU0EvSDsZGyf5kMYjcFJymuVBfVuSIh1Bb1Sp38/y0ihqhBV6oY/9bYh+Uk7DyadZbz0yUzhP/HH6MMbrrC5sJ4Z8+JjENbzDuzq2SxAK+ZmD/Hbk4pQ6CvhIw57HSNPMVHmfsREGTPHq07H4xv7PYxLbztdZfKM79/81t4v/d2lG2R8jPCTTWQuc4o4c1yrodgGYU0ULnzXzlP2vs/nYaxwp0BjP+ZMVrezP0zRjSXnyZ954xjSv x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(366004)(396003)(39380400002)(376002)(346002)(39860400002)(189003)(199004)(81166006)(5660300001)(476003)(7736002)(74316002)(5250100002)(305945005)(186003)(102836004)(6346003)(26005)(4326008)(478600001)(11346002)(3280700002)(81156014)(8936002)(446003)(8676002)(2501003)(72206003)(486006)(25786009)(14454004)(3660700001)(3846002)(6116002)(55016002)(53936002)(229853002)(93886005)(33656002)(86362001)(6436002)(66066001)(7696005)(2906002)(54906003)(2900100001)(110136005)(107886003)(9686003)(68736007)(99286004)(76176011)(6506007)(105586002)(97736004)(6246003)(106356001)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR07MB1562; H:DM2PR07MB1547.namprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(2017052603328)(7153060)(7193020); SRVR:DM2PR07MB1562; x-ms-traffictypediagnostic: DM2PR07MB1562: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231254)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DM2PR07MB1562; BCL:0; PCL:0; RULEID:; SRVR:DM2PR07MB1562; x-forefront-prvs: 06691A4183 received-spf: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Shahed.Shaikh@cavium.com; x-microsoft-antispam-message-info: 0TusqtmnNrVY7zVqrJXM1pWwlb/42CAXUuQ+dSevnp3+nx5j8f8akDQGuLabw9e4bbZ38G0r+IbNlTaQDD4zgi+nJ21Ovq6j8iPbQFiRj92N0pO8qgpjgWxJD+bX7i2qjITKrInZP1hMncFjkAuTFTuLE2CTyXxlkhN5UdFDXVO7q08/7I2ZPHJu5zdmO8AN spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 05b3f133-2956-4b99-b36d-08d5b76284ca X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-Network-Message-Id: 05b3f133-2956-4b99-b36d-08d5b76284ca X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2018 17:13:30.4566 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR07MB1562 Subject: Re: [dpdk-dev] [PATCH v4 09/18] net/qede: strncpy length constant and NUL 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 17:13:33 -0000 DQoNCj4gPiA+Pg0KPiA+ID4+ICsjaW5jbHVkZSA8cnRlX3N0cmluZ19mbnMuaD4NCj4gPiA+PiAr DQo+ID4gPj4gICAjaW5jbHVkZSAiYmNtX29zYWwuaCINCj4gPiA+PiAgICNpbmNsdWRlICJlY29y ZS5oIg0KPiA+ID4+ICAgI2luY2x1ZGUgImVjb3JlX3NwcS5oIg0KPiA+ID4+IEBAIC0xMTA0LDkg KzExMDYsOSBAQCBzdGF0aWMgZW51bSBfZWNvcmVfc3RhdHVzX3QNCj4gPiA+PiBlY29yZV9pbnRf ZGVhc3NlcnRpb24oc3RydWN0IGVjb3JlX2h3Zm4gKnBfaHdmbiwNCj4gPiA+PiAgIAkJCQkJCQkg ICAgICBwX2FldS0+Yml0X25hbWUsDQo+ID4gPj4gICAJCQkJCQkJICAgICAgbnVtKTsNCj4gPiA+ PiAgIAkJCQkJZWxzZQ0KPiA+ID4+IC0JCQkJCQlPU0FMX1NUUk5DUFkoYml0X25hbWUsDQo+ID4g Pj4gLQkJCQkJCQkgICAgIHBfYWV1LT5iaXRfbmFtZSwNCj4gPiA+PiAtCQkJCQkJCSAgICAgMzAp Ow0KPiA+ID4+ICsJCQkJCQlzdHJsY3B5KGJpdF9uYW1lLA0KPiA+ID4+ICsJCQkJCQkJcF9hZXUt PmJpdF9uYW1lLA0KPiA+ID4+ICsJCQkJCQkJc2l6ZW9mKGJpdF9uYW1lKSk7DQo+ID4gPj4NCj4g PiA+PiAgIAkJCQkJLyogV2Ugbm93IG5lZWQgdG8gcGFzcyBiaXRtYXNrIGluIGl0cw0KPiA+ID4+ ICAgCQkJCQkgKiBjb3JyZWN0IHBvc2l0aW9uLg0KPiA+ID4NCj4gPiA+IEknZCBzYXkgaXQgc2hv dWxkIGJlIGJldHRlciB0byBjaGFuZ2UgT1NBTF9TVFJOQ1BZIHR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