From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=eric.jin@intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 3432721189FB9 for ; Fri, 2 Nov 2018 00:36:09 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Nov 2018 00:36:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,454,1534834800"; d="scan'208";a="277739041" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga006.fm.intel.com with ESMTP; 02 Nov 2018 00:36:08 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 2 Nov 2018 00:36:07 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 2 Nov 2018 00:36:07 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.161]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.102]) with mapi id 14.03.0415.000; Fri, 2 Nov 2018 15:36:05 +0800 From: "Jin, Eric" To: Supreeth Venkatesh , "edk2-devel@lists.01.org" CC: "Wu, Jiaxin" , "Jin, Eric" Thread-Topic: [PATCH] uefi-sct/SctPkg:The Lun display order issue in iSCSI device path text Thread-Index: AQHUZTVtoW4JtjjPtUuXa38XJmD5+qU8LZZQ Date: Fri, 2 Nov 2018 07:36:04 +0000 Message-ID: References: <20181013163301.9952-1-eric.jin@intel.com> <974803b7-c6be-2139-51b4-f95b082db266@arm.com> In-Reply-To: <974803b7-c6be-2139-51b4-f95b082db266@arm.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] uefi-sct/SctPkg:The Lun display order issue in iSCSI device path text X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2018 07:36:10 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgU3VwcmVldGgsDQoNClRoZSBpbnRlbnRpb24gb2YgdGhlIHBhdGNoIGlzIHRvIGZpeCB0aGUg TFVOIGRpc3BsYXkgaXNzdWUgaW4gdGhlIGlTQ1NJIGRldmljZSBwYXRoIHRleHQuDQpJbiB0aGUg VUVGSSBzcGVjLCB0aGUgYWNjb3JkaW5nIGRlZmluaXRpb24gaXMgY2xhcmlmaWVkIGFzICIgVGhl IExVTiBpcyBhbiA4IGJ5dGUgYXJyYXkgDQp0aGF0IGlzIGRpc3BsYXllZCBpbiBoZXhhZGVjaW1h bCBmb3JtYXQgd2l0aCBieXRlIDAgZmlyc3QgKGkuZS4sIG9uIHRoZSBsZWZ0KSBhbmQgYnl0ZSA3 IA0KbGFzdCAoaS5lLCBvbiB0aGUgcmlnaHQpLCBhbmQgaXMgcmVxdWlyZWQuICINCg0KVGhlIGN1 cnJlbnQgdGVzdCBoYXMgdGhlIG1pc3Rha2UgYW5kIG5lZWQgbWFrZSBzdXJlIHRoZSBkaXNwbGF5 IG9yZGVyIGlzIGNvcnJlY3QuDQpUaGUgaW5wdXQgaXMgcmVxdWlyZWQgdG8gY2hlY2sgdGhlIFRF WFQgdG8gYmluYXJ5IHN5c3RlbSBmb3JtYXQs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