From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 602A8A04B1; Wed, 30 Sep 2020 07:28:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 437831DA49; Wed, 30 Sep 2020 07:28:25 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 866D51D9EA; Wed, 30 Sep 2020 07:28:22 +0200 (CEST) IronPort-SDR: epRj+IJW0NV16XheTZVDSkvNFXs2pVvlWuHUefZEApMVEtrm1CVEW2DoS8fcLc9iP/2RJ1PPLX PMV5g4+EBkYA== X-IronPort-AV: E=McAfee;i="6000,8403,9759"; a="226519360" X-IronPort-AV: E=Sophos;i="5.77,321,1596524400"; d="scan'208";a="226519360" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2020 22:28:20 -0700 IronPort-SDR: G1uVh01T1wdXXVrVGDPPX+Sx4ZPhzWG+BixGW16m0eBHpKS/Vur5oUhWR2z+cU6OqA8wykdvGJ BQ8CEOtkmIPw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,321,1596524400"; d="scan'208";a="457529150" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga004.jf.intel.com with ESMTP; 29 Sep 2020 22:28:20 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 29 Sep 2020 22:28:19 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 29 Sep 2020 22:28:19 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.168) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 29 Sep 2020 22:28:19 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ML8jC6StMGqCuN8viaPhMYInw2HzgSSKh+mPnX3zLkORyMEVu2d45g70qXmhaZqqrvY6NztU7hCDn8CJ8Irmb/h9jp6X2fyW2YSdOpr8J+lerStGV70nTDQNfrUfe36mAu8IVV/XLIiVDeI/DUxFIVIvQIPBfQp0YMI7vlhKu2caiSfxUKUnmG5uQBL5brpg4u4kr8yMT0aASkMmxUlGsiJaTWYaxtW8yT9N6BKEI/cIwcTGAOiAYTTz/+wJZTP2rqfNdVMQkZ0Ar0axe4yW4SgiLangfXSlXXX+6wGdS4lXvL+Ndrx9YOKf+OC6xn+2xIDv9bcVR5zX/lVbRv7BZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=G/N2eFkiPZ07Nq+Xr700sa2IVBeIotQyIVUaksdJLJc=; b=FhIS4/yt4BzaqwppmxL9VUKxHLIVDz6tkU8UoFEF6+DfGOyBl45yg4ZJsqVzS3T09cmRPynLCyuVZNwMzRpCB4ltaQV94gmGQWddkNYS10EyJx+1SW5jzHWux4ZyfP8CYk3w5uxIDuaUyJUazvQ+ahUBLL1M2Qb3+/G/vXdgzceuGG6lxUY4voiXYP9P1KApIyRJRRNeEMMRhoMO08SWvyJOSmb4SYIup6euBDlc+ZOnLeBcNGesRTGBlVeuR5EB2oW6AM43bJra+4iibyKkJBC+UathXSWmASf733noosp72OWPKF6AH2E/WrXxi0D64yG6O0w3t4My0ThkxdoBbw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=G/N2eFkiPZ07Nq+Xr700sa2IVBeIotQyIVUaksdJLJc=; b=ufPONv4xNFuVFSOYl9dzA9NLaG1SKSGww8wCYEZWvB5T13C2OnuTKEByygw2eAH78SP8MCmj2+CH2IhBsHACkP3ugskGhFvGUju2eLOq3Nuy6KMwqyKgOd4lq98XxC1QJx6STQ2jNuk+vJz2Myj3nAhMmk3YRrw5hYFaIVIz16c= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3597.namprd11.prod.outlook.com (2603:10b6:208:ee::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.32; Wed, 30 Sep 2020 05:28:17 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::1dc7:9f52:91c1:52da]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::1dc7:9f52:91c1:52da%3]) with mapi id 15.20.3412.029; Wed, 30 Sep 2020 05:28:16 +0000 From: "Xia, Chenbo" To: wangyunjian , "dev@dpdk.org" CC: "maxime.coquelin@redhat.com" , "Wang, Zhihong" , "jerry.lilijun@huawei.com" , "xudingke@huawei.com" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] examples/vhost_blk: fix unchecked return value Thread-Index: AQHWky7ALm8Qw/XPekej/ye0cg8uTKmArgIg Date: Wed, 30 Sep 2020 05:28:16 +0000 Message-ID: References: <87d9cf9f99c249962a9445167271878896e85d2f.1601032637.git.wangyunjian@huawei.com> In-Reply-To: <87d9cf9f99c249962a9445167271878896e85d2f.1601032637.git.wangyunjian@huawei.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.38] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 918ae667-8c8b-463e-7c78-08d86501a292 x-ms-traffictypediagnostic: MN2PR11MB3597: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2ZaVlmKBwd73ljLmQAmmB1byZ0YZ+D2+WBwpINlWqVR03fGgKNq0ixUzjXBQO5CrQkC8Ef9Oo+f0Dc3+pZrK+/i8KyJYaARlwQQjLXvDEA1omkpEX+ERQMba3AksTJFhY16iMz0EP47EbozKcP5j3W8UYrYqiOFt3cKWWxRmD7uOq+RA6RkB0FVLPyFhVOxrGHYXPM7VORUNsIvJ0/8kZJwxFoxe1SE8F/fQYWGeogikYL/FzAQfcwbzWiTUAxsmjfqaigLHLHbpqocRbeO6LaNkKDgAwIqOCIWg9lmUxWIHOI6n4b+pJ6opjDsODNkLPEKEVa6XdJx1jgtD7mWgDg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(366004)(376002)(136003)(396003)(346002)(4326008)(2906002)(316002)(54906003)(110136005)(83380400001)(55016002)(9686003)(86362001)(7696005)(8676002)(53546011)(6506007)(26005)(186003)(8936002)(71200400001)(5660300002)(33656002)(478600001)(52536014)(66946007)(64756008)(66446008)(66556008)(66476007)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: kl2xF9UUudJvuPko5WYFdW2oWXELzlpDpoOojv8gSRk1TRdNdP95CLTlttBJIKIeFjSmjUGnc0xxa8RoXNEgockFU9dXeKKSr1GJb3pwpEK/ntPH32jHid/NzaxkvmH2r7yyuZJ2TmGu9SqDrfvMnk4NexRv1Ha89Osrfr64+iMmmUVNxqzXTRzJ82ecKs+EAT4Y0oilTU/l59IsbHIRoQqrOeAv591NOwehe3WQRY1US8c2t2Y6xPHX1PTJiQvnlKV4QotgekAd1i7JgVy93k5RbukmY4xIb1z8NJ6+J2LojCrJjSiyRFeDVq6hLri4+eY9iNClDK/p9uDRqljy6N15qwj3ZWTFaKQK1I9+zy/R6fiv5dch/JIjV1gDqEXRVmI0eFz7+Sb6mnueeVxQEldLvnw/bwz6v0NF9bnlTbkfBwT1vUsmK6gep6O7dtPy5gW2qoBN5aMcJsDT9/Vh5tBBiFM0exfLc4lSYZFwv/t4i15SMBs6Qk7rbiH9mCE7JHQdel1g9J8lkiyUGNOqLE7x8QJKLNvV1N8YC5xCGzpt0BRX9Q7N175sBR1TiYescbmkZVdkYtl1rjayxJOfkNkvDQjNnskKh5sJMkYMkXRC57k9RIs6+hh57aNULn+NqCSD7g0Sm69Pn9UpjEgu5g== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 918ae667-8c8b-463e-7c78-08d86501a292 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Sep 2020 05:28:16.8497 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: HYBgH2P7lL7KpmNIGI9qCPMdTcEJxMopEgbLZ1JiVYF1G+XZVYppOc8530KxAEdCAp1b9kQeU5j9bZ0OVls64g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3597 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] examples/vhost_blk: fix unchecked return value 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiB3YW5neXVuamlhbiA8d2FuZ3l1 bmppYW5AaHVhd2VpLmNvbT4NCj4gU2VudDogRnJpZGF5LCBTZXB0ZW1iZXIgMjUsIDIwMjAgNzoy MiBQTQ0KPiBUbzogZGV2QGRwZGsub3JnDQo+IENjOiBtYXhpbWUuY29xdWVsaW5AcmVkaGF0LmNv bTsgWGlhLCBDaGVuYm8gPGNoZW5iby54aWFAaW50ZWwuY29tPjsgV2FuZywNCj4gWmhpaG9uZyA8 emhpaG9uZy53YW5nQGludGVsLmNvbT47IGplcnJ5LmxpbGlqdW5AaHVhd2VpLmNvbTsNCj4geHVk aW5na2VAaHVhd2VpLmNvbTsgWXVuamlhbiBXYW5nIDx3YW5neXVuamlhbkBodWF3ZWkuY29tPjsN Cj4gc3RhYmxlQGRwZGsub3JnDQo+IFN1YmplY3Q6IFtkcGRrLWRldl0gW1BBVENIXSBleGFtcGxl cy92aG9zdF9ibGs6IGZpeCB1bmNoZWNrZWQgcmV0dXJuIHZhbHVlDQo+IA0KPiBGcm9tOiBZdW5q aWFuIFdhbmcgPHdhbmd5dW5qaWFuQGh1YXdlaS5jb20+DQo+IA0KPiBUaGlzIGNoZWNrcyB0aGUg cmV0dXJuIHZhbHVlIGZyb20gdGhlIGZ1bmN0aW9uDQo+IHJ0ZV92aG9zdF9kcml2ZXJfc3R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