From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 00BFFC31E for ; Wed, 1 Jul 2015 12:00:19 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 01 Jul 2015 03:00:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,384,1432623600"; d="scan'208";a="517105285" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by FMSMGA003.fm.intel.com with ESMTP; 01 Jul 2015 03:00:14 -0700 Received: from irsmsx109.ger.corp.intel.com ([169.254.13.200]) by IRSMSX103.ger.corp.intel.com ([169.254.3.216]) with mapi id 14.03.0224.002; Wed, 1 Jul 2015 11:00:14 +0100 From: "Burakov, Anatoly" To: Alejandro Lucero , Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH v2] vfio: Fix overflow while assigning vfio BAR region offset and size Thread-Index: AQHQs3nGJ4z84U05fEKmKnXhI3cOlp3GOa6AgAAcCGA= Date: Wed, 1 Jul 2015 10:00:13 +0000 Message-ID: References: <61d1c9174f7f9159d4005dd2cea16c7719cec964.1434462470.git.rahul.lakkireddy@chelsio.com> <2eeeff646a329cca169033f541de3e96cec3a27a.1435067129.git.rahul.lakkireddy@chelsio.com> <4201419.gIoUKGuTjB@xps13> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: dev , Felix Marti , Nirranjan Kirubaharan , Kumar Sanghvi Subject: Re: [dpdk-dev] [PATCH v2] vfio: Fix overflow while assigning vfio BAR region offset and size 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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