From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4646E21E87986 for ; Tue, 12 Sep 2017 23:26:55 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP; 12 Sep 2017 23:29:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,386,1500966000"; d="scan'208";a="899749327" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 12 Sep 2017 23:29:51 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 12 Sep 2017 23:29:50 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 12 Sep 2017 23:29:49 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.39]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.219]) with mapi id 14.03.0319.002; Wed, 13 Sep 2017 14:29:48 +0800 From: "Zeng, Star" To: Paulo Alcantara , "edk2-devel@lists.01.org" CC: "Dong, Eric" , "Ni, Ruiyu" , "Bi, Dandan" , "Zeng, Star" Thread-Topic: [PATCH] MdeModulePkg/UdfDxe: Remove negative comparison of unsigned number Thread-Index: AQHTLEsk9oaBZ5JdJkSAcz7I8VLM2KKyQ1ew//+FdgCAAI//wA== Date: Wed, 13 Sep 2017 06:29:47 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B940959@shsmsx102.ccr.corp.intel.com> References: <8c5a7ec1d6f908eabda755bb6d3bc9a28b14210e.1505277490.git.pcacjr@zytor.com> <0C09AFA07DD0434D9E2A0C6AEB0483103B940874@shsmsx102.ccr.corp.intel.com> <37D67821-E356-4E48-B175-3107DEF070AC@zytor.com> In-Reply-To: <37D67821-E356-4E48-B175-3107DEF070AC@zytor.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] MdeModulePkg/UdfDxe: Remove negative comparison of unsigned number X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2017 06:26:55 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 T2ssIGdvdCBpdC4NClJlYWxseSB0aGFua3MgZm9yIHRoZSBjb250cmlidXRpb24uIDopDQoNClJl dmlld2VkLWJ5OiBTdGFyIFplbmcgPHN0YXIuemVuZ0BpbnRlbC5jb20+IGFuZCBwdXNoZWQgdGhl IHBhdGNoIGF0IDM1YWVjOTZjMjIxYjY0M2IyNmU3ODMwNWY2YWNkYThhYjA2NDdjZjMuDQoNClRo YW5rcywNClN0YXINCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBQYXVsbyBBbGNh bnRhcmEgW21haWx0bzpwY2FjanJAenl0b3IuY29tXSANClNlbnQ6IFdlZG5lc2RheSwgU2VwdGVt YmVyIDEzLCAyMDE3IDE6NDcgUE0NClRvOiBaZW5nLCBTdGFyIDxzdGFyLnplbmdAaW50ZWwuY29t PjsgZWRrMi1kZXZlbEBsaXN0cy4wMS5vcmcNCkNjOiBEb25nLCBFcmljIDxlcmljLmRvbmdAaW50 ZWwuY29tPjsgTmksIFJ1aXl1IDxydWl5dS5uaUBpbnRlbC5jb20+OyBCaSwgRGFuZGFuIDxkYW5k YW4uYmlAaW50ZWwuY29tPg0KU3ViamVjdDogUkU6IFt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