From 91c681977b2cb1f1d63b5b9a769e5f5419ecffd2 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Fri, 26 Jun 2009 08:39:21 +0000 Subject: Update code style. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8669 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Universal/SectionExtractionDxe/SectionExtraction.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'IntelFrameworkModulePkg/Universal/SectionExtractionDxe') diff --git a/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c b/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c index f08577cf28..10a992a801 100644 --- a/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c +++ b/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c @@ -808,7 +808,7 @@ CreateChildNode ( // Make sure we initialize the new stream with the correct // authentication status for both aggregate and local status fields. // - if ((GuidedHeader->Attributes & EFI_GUIDED_SECTION_AUTH_STATUS_VALID) != 0) { + if ((GuidedHeader->Attributes & EFI_GUIDED_SECTION_AUTH_STATUS_VALID) == EFI_GUIDED_SECTION_AUTH_STATUS_VALID) { // // OR in the parent stream's aggregate status. // @@ -837,7 +837,7 @@ CreateChildNode ( // // There's no GUIDed section extraction protocol available. // - if ((GuidedHeader->Attributes & EFI_GUIDED_SECTION_PROCESSING_REQUIRED) != 0) { + if ((GuidedHeader->Attributes & EFI_GUIDED_SECTION_PROCESSING_REQUIRED) == EFI_GUIDED_SECTION_PROCESSING_REQUIRED) { // // If the section REQUIRES an extraction protocol, then we're toast // @@ -849,7 +849,7 @@ CreateChildNode ( // Figure out the proper authentication status // AuthenticationStatus = Stream->AuthenticationStatus; - if (GuidedHeader->Attributes & EFI_GUIDED_SECTION_AUTH_STATUS_VALID) { + if ((GuidedHeader->Attributes & EFI_GUIDED_SECTION_AUTH_STATUS_VALID) == EFI_GUIDED_SECTION_AUTH_STATUS_VALID) { // // The local status of the new stream is contained in // AuthenticaionStatus. This value needs to be ORed into the -- cgit v1.2.3