From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-outbound-2.vmware.com (smtp-outbound-2.vmware.com [208.91.2.13]) by dpdk.org (Postfix) with ESMTP id 4D6147F50 for ; Thu, 31 Mar 2016 19:50:04 +0200 (CEST) Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id E545F288C4; Thu, 31 Mar 2016 10:50:01 -0700 (PDT) Received: from EX13-CAS-005.vmware.com (ex13-cas-005.vmware.com [10.113.191.55]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id B7601B0F1C; Thu, 31 Mar 2016 10:50:02 -0700 (PDT) Received: from EX13-MBX-026.vmware.com (10.113.191.46) by EX13-MBX-025.vmware.com (10.113.191.45) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Thu, 31 Mar 2016 10:50:02 -0700 Received: from EX13-MBX-026.vmware.com ([fe80::858b:7f42:fd7c:703d]) by EX13-MBX-026.vmware.com ([fe80::858b:7f42:fd7c:703d%17]) with mapi id 15.00.1156.000; Thu, 31 Mar 2016 10:50:02 -0700 From: Yong Wang To: Stephen Hemminger CC: "dev@dpdk.org" Thread-Topic: [PATCH] vmxnet3: remove asserts that confuse coverity Thread-Index: AQHRisx2xqdRn0yUJUejh0mlOMDzF59z1eWA Date: Thu, 31 Mar 2016 17:50:01 +0000 Message-ID: References: <1459373905-10296-1-git-send-email-stephen@networkplumber.org> In-Reply-To: <1459373905-10296-1-git-send-email-stephen@networkplumber.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.113.170.11] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] vmxnet3: remove asserts that confuse coverity X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2016 17:50:04 -0000 T24gMy8zMC8xNiwgMjozOCBQTSwgIlN0ZXBoZW4gSGVtbWluZ2VyIiA8c3RlcGhlbkBuZXR3b3Jr cGx1bWJlci5vcmc+IHdyb3RlOg0KDQoNCg0KPlRoZXNlIGFzc2VydHMgYXJlIG9ubHkgZm9yIGRl YnVnZ2luZyBhbmQgbmV2ZXIgZmlyZWQgZHVyaW5nDQo+YW55IHRlc3RpbmcsIGJ1dCB0aGV5IGNv bmZ1c2UgY292ZXJpdHkncyBudWxsIHRyYWNraW5nLg0KPg0KPlNpZ25lZC1vZmYtYnk6IFN0ZXBo ZW4gSGVtbWluZ2VyIDxzdGVwaGVuQG5ldHdvcmtwbHVtYmVyLm9yZz4NCj4tLS0NCg0KQWNrZWQt Ynk6IFlvbmcgV2FuZyA8eW9uZ3dhbmdAdm13YXJlLmNvbT4NCg0KDQo+IGRyaXZlcnMvbmV0L3Zt eG5ldDMvdm14bmV0M19yeHR4LmMgfCAyIC0tDQo+IDEgZmlsZSBjaGFuZ2VkLCAyIGRlbGV0aW9u cygtKQ0KPg0KPmRpZmYgLS1naXQgYS9kcml2ZXJzL25ldC92bXhuZXQzL3ZteG5ldDNfcnh0eC5j IGIvZHJpdmVycy9uZXQvdm14bmV0My92bXhuZXQzX3J4dHguYw0KPmluZGV4IDY2YjBlZWQuLmY3 MjE1NmEgMTAwNjQ0DQo+LS0tIGEvZHJpdmVycy9uZXQvdm14bmV0My92bXhuZXQzX3J4dHguYw0K PisrKyBiL2RyaXZlcnMvbmV0L3ZteG5ldDMvdm14bmV0M19yeHR4LmMNCj5AQCAtNzEwLDcgKzcx MCw2IEBAIHZteG5ldDNfcmVjdl9wa3RzKHZvaWQgKnJ4X3F1ZXVlLCBzdHJ1Y3QgcnRlX21idWYg KipyeF9wa3RzLCB1aW50MTZfdCBuYl9wa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