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.50; 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-oln040092069050.outbound.protection.outlook.com [40.92.69.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 9B992209574D0 for ; Wed, 28 Feb 2018 10:39:36 -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=N9UiSC3/HOtRo0iDSWi/jb+X+k0tfSrJqBLV12/GkFw=; b=GIZQoKAgTLs6z5Mz5nglSeir0+C6ZORLaZVPsdJtAuGRTYA6fCK8n7GYdpI8xFr8yTcuIOnfa6JbotFdX8wyoBGe4ufM6qt/H64QfiO3BZhEJz2dd+G2WQKqv2JRLonWhZ7Zd5BewxOxVKaUrOuk+0bWecAYUpDRV2ly6LTSDNCuST2VgJmqW/ZkUkMdGkNcLpgBKZge7kRRNrPipRsL8f1utq62s3k9hipUuMckI/Z88CqfAM2xZagPPX266Gg1SqRsv7DhnXKCfwKnWLhMZoTDrO9+xKMM1C1WutswwqsH5Vs6kkKtPKSAeTOBmkREbiRrr4Fu/UigerosIK3deA== Received: from HE1EUR02FT054.eop-EUR02.prod.protection.outlook.com (10.152.10.57) by HE1EUR02HT168.eop-EUR02.prod.protection.outlook.com (10.152.11.35) 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:45:41 +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:45:41 +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:45:40 +0000 From: =?utf-8?B?TWFydmluIEjDpHVzZXI=?= To: "edk2-devel@lists.01.org" , Laszlo Ersek CC: "michael.d.kinney@intel.com" , "liming.gao@intel.com" Thread-Topic: [edk2] [PATCH 1/2] MdePkg/Base.h: Ensure safe bitwise operations. Thread-Index: AQHTr+q3IxS4cmiO9UyN5haxybivfqO4qaYAgAAEg7CAAPiiAIAABh8ggAArWgCAAAM54IAASqVw Date: Wed, 28 Feb 2018 18:45:40 +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:7781EF489E23C8D64830EBE22F39BDE906D088FBD98C53461C0C4884B6CD7C71; UpperCasedChecksum:1BD7A38DBE067ED522CC9E5E624CF01C2645BB68D1C0842D13AEB2034D348D8A; SizeAsReceived:7699; Count:46 x-tmn: [rpsWhVfTuSe4HxC5CbWcztuYWRCrO2rW] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1EUR02HT168; 6:WHVORSm9JnaZZtQ6Mu1gJXlmgxioBqG8IHH+T7vMxZ96yq98jyp8XskshX80mJvb5F2KKsvyZMjaQxvJTNakhO1QnstbMLLA9CYelM/hq2bK9IaLP2nbt+3augysxLiEmKIDuiQDSRxiPzhxGyOYmeYPEQSal13f5KLnGJxxsV1PkCJPk93sJMFhq+u1zf7srt9C2d9dh7qxGMU8aZoSj5f5ywn7ZuFYvtz+gUofCx94yPSR0mAJlBC/DUX6lImLrf00PtovI6y0eJPFqvYg/q+s5KLdLCSmsO8fvOTV00iCvzPD+cg29a61jOwpEeSx9Xu9ao1iM/TKhVB0ZSaXH/tGqnCR3Jk9lrf39Oh+OMY=; 5:CnmR+quqkrtFiIXRKvDmNeqha9jGG1S8geOpWWyjTcUzEcLQ8zlMdqQJL2xQHRkK3jgQHoDLJynTN7PBejT+wt3xEPQCzUX5qae+HNdwdquEVvWcbrOgvwTEdhM7+4aGT3dHGkdxjw8kB6c26jhXVKSTp521yPXPPe3lbzHOtxI=; 24:gHfv5pPB9U1Gj/FcNx+Y1fc9gFJv8NwMPqBdT65DrSWFPOOxh5X+4EPCDE2IpylPeAHdrNztR8ShzSukOwe6rKDZpcQpPn5DCv+0ttaawMo=; 7:5zL0A+qR3JZvDNlLqLrjNx6Ev75XM9t4krLbSakCoJ085xnLP2THFFlTa1X5m70TQr9YMoAs9qae4NKWr8/+yx0hBMdfnmN4DPJbbnPs+dFnA1i4lYaczTUPpIhEGCCrN8q4xzxkPKUBAl3Cw3dYLQCqZ3piFhguSvZODwxZ2tET3gFILuHEJPPZfHNaWN+3MbVk/1B3ZuXPMpWUrVqM4sFTABpiSjAkrD39haXvtUSsYeu5yeRHROt+FXAf02eB 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:HE1EUR02HT168; x-ms-traffictypediagnostic: HE1EUR02HT168: x-ms-office365-filtering-correlation-id: 8e02a43a-9658-49a9-9f2a-08d57edb7767 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:HE1EUR02HT168; BCL:0; PCL:0; RULEID:; SRVR:HE1EUR02HT168; x-forefront-prvs: 0597911EE1 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:HE1EUR02HT168; 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: 8e02a43a-9658-49a9-9f2a-08d57edb7767 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Feb 2018 18:45:40.8541 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR02HT168 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:39:38 -0000 Content-Language: de-DE Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SSBoYXZlIGp1c3QgbG9jYWxseSB1cGRhdGVkIGFsbCBCSVQgZGVmaW5lcyB0byB1c2UgdGhlIFVM TCBwcmVmaXggYW5kIGFkZGVkIGNhc3RzIHRvIGRlZmluZXMgdXNpbmcgdGhlbS4NCkkgZGlkIHRo YXQgdG8gZW5zdXJlIHRoYXQgMSkgaW52ZXJzaW9ucyBhbHdheXMgcHJvZHVjZSB0aGUgY29ycmVj dCB2YWx1ZSBhbmQgMikgYXNzaWdubWVudHMgbmV2ZXIgcmVzdWx0IGluIGltcGxpY2l0IGNhc3Rz IHRvIGEgc21hbGxlciBpbnQsIHdoaWNoIHdvdWxkIHJhaXNlIGEgd2FybmluZy4NCg0KQWZ0ZXIg SSB3YXMgZG9uZSBkb2luZyBpdCBmb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