From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.92.69.46; helo=eur02-ve1-obe.outbound.protection.outlook.com; envelope-from=marvin.haeuser@outlook.com; receiver=edk2-devel@lists.01.org Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-oln040092069046.outbound.protection.outlook.com [40.92.69.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1821322402E1B for ; Wed, 28 Feb 2018 10:46:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=AD8jBzUvvp1BtB3OXcw7tO8lQhDGnOSaKpA/qqGmhlA=; b=rDcbytQ6TUHvKZiW0Wp0B5FwCzOXH/Mh6eTr4Nej8JzTpoq0oYlSbjUsk/uXFIeaDOer508lahsMPBjqX3VnhrQBCtF7aIl96p1oz630c7vVAGbaRAzUo1I4E1YzDauZ5AhCAKbz/9szDcvvLp/iANzn8M594Dbseh+MgxdgVnrnQrqRfrAGdqnhbRNdIbAH8lDtbZ5WqXbPj/OoBmk14ZB+qS24lQDC3u3j3EOANmpYYtMQfHojwy19HBozN6kmdK97uzqbA+PaeOSv725CTA7Gu+dzRUld3EizzBNbCEs4mO5GB6GwFvTWhjDIIqAJmI6Zc5n89o04qbpKRX1TUw== Received: from HE1EUR02FT054.eop-EUR02.prod.protection.outlook.com (10.152.10.55) by HE1EUR02HT203.eop-EUR02.prod.protection.outlook.com (10.152.11.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Wed, 28 Feb 2018 18:52:17 +0000 Received: from AM4PR06MB1491.eurprd06.prod.outlook.com (10.152.10.56) by HE1EUR02FT054.mail.protection.outlook.com (10.152.11.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15 via Frontend Transport; Wed, 28 Feb 2018 18:52:17 +0000 Received: from AM4PR06MB1491.eurprd06.prod.outlook.com ([fe80::7d81:9d96:1051:d20d]) by AM4PR06MB1491.eurprd06.prod.outlook.com ([fe80::7d81:9d96:1051:d20d%14]) with mapi id 15.20.0527.021; Wed, 28 Feb 2018 18:52:17 +0000 From: =?utf-8?B?TWFydmluIEjDpHVzZXI=?= To: "edk2-devel@lists.01.org" , "michael.d.kinney@intel.com" CC: "lersek@redhat.com" , "liming.gao@intel.com" Thread-Topic: [edk2] [PATCH 1/2] MdePkg/Base.h: Ensure safe bitwise operations. Thread-Index: AQHTr+q3IxS4cmiO9UyN5haxybivfqO4qaYAgAAEg7CAAPiiAIAABh8ggAArWgCAAAM54IAASveAgAACYDA= Date: Wed, 28 Feb 2018 18:52:17 +0000 Message-ID: References: <62c9363b-7f27-cfff-492a-560660727b86@redhat.com> <366ffc0c-b55f-a3c1-973e-b80d3dd07d26@redhat.com> <2b22bfbd-24ce-e26c-9f1c-e5ba2816b48f@redhat.com> In-Reply-To: Accept-Language: de-DE, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:BDC8D6E8E63875C94171D6A5C4EFADB7EE4426ABA2E2DA51B32E0B805551DD8C; UpperCasedChecksum:23470C54F3191F239E8FF90885A9D8D08FAF2A4205A2CF69EA6FAEB371B77F11; SizeAsReceived:7779; Count:46 x-tmn: [ZMv7qr6KHd6eHFxgNEpfepyaY5e6rlFx] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1EUR02HT203; 6:Ycs70RcBt4v9+WE2ttNzOrua7KUFmA+FrxMdSwOfKxlcnbOs3c93TJV0DiZqRLaHAXIYIVSttAQ+XHN1ELtj4HVx6sjBLS0mrP/QNwcNMku5xLObmAOio1s1MNBdKYO6RI19ktvTNK1aOHu9T4v74SlGgI8pHyjTUaLs97vcqRPFk8r+2oX6NSDACDJ+1LHrzwP7MEBTbyNunlcgZUyElVmeJQiYOCiFNS2fMiDFD39xCFydb5gjdH8FZ8lVwqytdjoYzGOiCG8ENhwWa7CWCH7049A5vcXtxePMUTIV6JjFveT+lHz90DMxd1BnHtYX09s78BlvVEcPNcdEIM7nwFytqeZUQIriFxjwEmudwqk=; 5:iuBI+iVnZa3kRv1l0yqJUiJgD+/FswNj66IdHgx3hjPBnhYKqZKKOY7+DfOlLmLIDwwSy6X9ObAvw4Fow9ux1V5wVPzP1hbbNEVQKU+SSZewYHaEW87zx4Bk21IaRH/El1VlVaVX5eGtNZh3wiRQ3mOY+kSgJ5Xs6Kxo3v6Cw4w=; 24:G4/bQTdbXousbdJ2AZsQzsfSA8cXu0iW221aB6she2aYylDxqRLkCG7T4TyPfMksr6/N09mZ5AjjRIRhdizxPmqs/aPVOgsd1C5aEYjGuNk=; 7:6GVwx3rkbR6ukkAomjtzoKMcjFGRatVmk2oxwhmEWk9duDuCsW+MOMQ21sndfo8Uqsqh2VyL8MGsNUcne+QdkLj7IuA9Vy5e12pvob936MK/W7YcUuIvbupKWBhfXt6od+BFfpt/hyKM7kQ6ofliHWyc48PL4l6cfUip/tii7o+FHIi33ujoM3fewxwBcMaR/PJPTnGInehYIS0H5jWr0B/MFuYcoebqC3F5+TH8x4iqARSceESk6c1oFaM5FYXM x-incomingheadercount: 46 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125374)(1603101448)(1701031045); SRVR:HE1EUR02HT203; x-ms-traffictypediagnostic: HE1EUR02HT203: x-ms-office365-filtering-correlation-id: ce5e82d0-0f16-405a-1783-08d57edc63a2 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:HE1EUR02HT203; BCL:0; PCL:0; RULEID:; SRVR:HE1EUR02HT203; x-forefront-prvs: 0597911EE1 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:HE1EUR02HT203; H:AM4PR06MB1491.eurprd06.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce5e82d0-0f16-405a-1783-08d57edc63a2 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Feb 2018 18:52:17.1484 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR02HT203 Subject: Re: [PATCH 1/2] MdePkg/Base.h: Ensure safe bitwise operations. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2018 18:46:13 -0000 Content-Language: de-DE Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGV5IE1pa2UsDQoNCllvdSBhcmUgcmlnaHQsIHRoZSBwYXRjaCB3YXMgcHJlbWF0dXJlIGJlY2F1 c2UgSSBkaWQgbm90IGNvbnNpZGVyIGFueSAnaW5jb3JyZWN0JyBvciAnY2xldmVyJyB1c2FnZXMg b2YgdGhlc2UgZGVmaW5pdGlvbnMuDQpUaGUgcHJvYmxlbSBpcyBub3QgcHJpbWFyaWx5IHVuZGVm aW5lZCBiZWhhdmlvciwgYnV0IGltcGxlbWVudGF0aW9uLWRlZmluZWQgYmVoYXZpb3IuDQpBbnkg Yml0d2lzZSBvcGVyYXRpb24gdG8gYSBzaWduZWQgaW50ZWdlciByZXN1bHRzIGluIGltcGxlbWVu dGF0aW9uLWRlZmluZWQgYmVoYXZpb3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