diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2015-11-25 21:04:42 +0000 | 
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2015-11-25 21:04:42 +0000 | 
| commit | b9098066cd6284319bca922f13e59517f774a103 (patch) | |
| tree | f01fd6c9053cb01ed84c00cb42ee789adafceaf5 /source/compiler/aslresource.c | |
| parent | 1e24cf365bc9c8df179b145c90d52852724e54ee (diff) | |
Notes
Diffstat (limited to 'source/compiler/aslresource.c')
| -rw-r--r-- | source/compiler/aslresource.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/source/compiler/aslresource.c b/source/compiler/aslresource.c index 1b96a362d554..895d69c18fce 100644 --- a/source/compiler/aslresource.c +++ b/source/compiler/aslresource.c @@ -396,6 +396,7 @@ RsGetStringDataLength (          {              return ((UINT16) (strlen (InitializerOp->Asl.Value.String) + 1));          } +          InitializerOp = ASL_GET_PEER_NODE (InitializerOp);      } @@ -431,7 +432,6 @@ RsAllocateResourceNode (      Rnode->Buffer = UtLocalCalloc (Size);      Rnode->BufferLength = Size; -      return (Rnode);  } @@ -467,7 +467,6 @@ RsCreateResourceField (      Op->Asl.ExternalName = Name;      Op->Asl.CompileFlags |= NODE_IS_RESOURCE_FIELD; -      Op->Asl.Value.Tag.BitOffset = (ByteOffset * 8) + BitOffset;      Op->Asl.Value.Tag.BitLength = BitLength;  } @@ -888,7 +887,7 @@ RsDoOneResourceDescriptor (      default:          printf ("Unknown resource descriptor type [%s]\n", -                    Info->DescriptorTypeOp->Asl.ParseOpName); +            Info->DescriptorTypeOp->Asl.ParseOpName);          break;      } @@ -904,7 +903,8 @@ RsDoOneResourceDescriptor (      if (Rnode)      {          Info->DescriptorTypeOp->Asl.FinalAmlLength = Rnode->BufferLength; -        Info->DescriptorTypeOp->Asl.Extra = ((AML_RESOURCE *) Rnode->Buffer)->DescriptorType; +        Info->DescriptorTypeOp->Asl.Extra = +            ((AML_RESOURCE *) Rnode->Buffer)->DescriptorType;      }      return (Rnode); | 
