From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AB049A00C3 for ; Fri, 1 Jul 2022 09:11:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F7CC40A80; Fri, 1 Jul 2022 09:11:06 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 5DB7040694; Fri, 1 Jul 2022 09:11:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656659463; x=1688195463; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=vXD7yraGC2U+8UPAfmeLf/TafprOdlNwusC49pFh/QE=; b=oF8TVNFs1Lq4QbwiWlilOUMxdqCu9MWyRXkNhCc1cHFZ/SpaJPI7EpL+ Gulyrr9HfCqLk3C6ML87/QH1NxwIrtEsJxJBfpREmPVSzcpFMU4+kep4a dL5ZClMH0RRAJ+GmqUYw/nfOG25b8trL1Va5ZKzG0QbOACNU5Dxozn8hE fQDqUbZGHVeJ+Zret/uub3Bt6dVc5DNZtyhw4o27TQqgnF99bqc4CAlhc U39pA7yhcRsxhxHvvpnBpfbEUyOBe2F57uvUIsBoqU7G5eNEaJaiABkED +3LWYUo6dFKNtv6TTZfF8JVbZ+TkvcrXcI9Ea6R+z7WrYz44nW1bTNda1 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10394"; a="281336701" X-IronPort-AV: E=Sophos;i="5.92,236,1650956400"; d="scan'208";a="281336701" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jul 2022 00:11:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,236,1650956400"; d="scan'208";a="837929584" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga006.fm.intel.com with ESMTP; 01 Jul 2022 00:11:02 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Fri, 1 Jul 2022 00:11:01 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Fri, 1 Jul 2022 00:11:01 -0700 Received: from fmsmsx612.amr.corp.intel.com ([10.18.126.92]) by fmsmsx612.amr.corp.intel.com ([10.18.126.92]) with mapi id 15.01.2308.027; Fri, 1 Jul 2022 00:11:01 -0700 From: "Hu, Jiayu" To: Maxime Coquelin , "dev@dpdk.org" CC: "Xia, Chenbo" , "stable@dpdk.org" , David Marchand Subject: RE: [PATCH v2] vhost: fix unchecked return value Thread-Topic: [PATCH v2] vhost: fix unchecked return value Thread-Index: AQHYi5ed68hrNuuevES3hubaEEmZsq1oLYSAgADtHWA= Date: Fri, 1 Jul 2022 07:11:01 +0000 Message-ID: References: <20220623010858.951367-1-jiayu.hu@intel.com> <20220629090706.1395614-1-jiayu.hu@intel.com> <844c38da-2fcc-a612-20e3-f0422edd59e6@redhat.com> In-Reply-To: <844c38da-2fcc-a612-20e3-f0422edd59e6@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.500.17 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org SGkgTWF4aW1lLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE1heGlt ZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+DQo+IFNlbnQ6IFRodXJzZGF5 LCBKdW5lIDMwLCAyMDIyIDU6NTcgUE0NCj4gVG86IEh1LCBKaWF5dSA8amlheXUuaHVAaW50ZWwu Y29tPjsgZGV2QGRwZGsub3JnDQo+IENjOiBYaWEsIENoZW5ibyA8Y2hlbmJvLnhpYUBpbnRlbC5j b20+OyBzdGFibGVAZHBkay5vcmc7IERhdmlkIE1hcmNoYW5kDQo+IDxkYXZpZC5tYXJjaGFuZEBy ZWRoYXQuY29tPg0KPiBTdWJqZWN0OiBSZTogW1BBVENIIHYyXSB2aG9zdDogZml4IHVuY2hlY2tl ZCByZXR1cm4gdmFsdWUNCj4gDQo+IA0KPiANCj4gT24gNi8yOS8yMiAxMTowNywgSmlheXUgSHUg d3JvdGU6DQo+ID4gVGhpcyBwYXRjaCBjaGVja3MgdGhlIHJldHVybiB2YWx1ZSBvZiBydGVfZG1h X2luZm9fZ2V0KCkgY2FsbGVkIGluDQo+ID4gcnRlX3Zob3N0X2FzeW5jX2RtYV9jb25maWd1cmUo KS4NCj4gPg0KPiA+IENvdmVyaXR5IGlzc3VlOiAzNzkwNjYNCj4gPiBGaXhlczogNTNkM2Y0Nzc4 YzFkICgidmhvc3Q6IGludGVncmF0ZSBkbWFkZXYgaW4gYXN5bmNocm9ub3VzDQo+ID4gZGF0YS1w YXRoIikNCj4gPiBDYzogc3RhYmxlQGRwZGsub3JnDQo+ID4NCj4gPiBTaWduZWQtb2ZmLWJ5OiBK aWF5dSBIdSA8amlheXUuaHVAaW50ZWwuY29tPg0KPiA+IFJldmlld2VkLWJ5OiBDaGVuYm8gWGlh IDxjaGV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