diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2019-01-08 21:48:36 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2019-01-08 21:48:36 +0000 |
| commit | ca9862327327526f102b9370cc74b2a9e4641b0d (patch) | |
| tree | cda67673a7ce6436e82b270c552c6e665ce0d893 /source/components/dispatcher/dsopcode.c | |
| parent | d28459aaaf532373b12c80aa5b869f8b591954e7 (diff) | |
Notes
Diffstat (limited to 'source/components/dispatcher/dsopcode.c')
| -rw-r--r-- | source/components/dispatcher/dsopcode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/components/dispatcher/dsopcode.c b/source/components/dispatcher/dsopcode.c index ca2cd4700292..8b9a30aa76c3 100644 --- a/source/components/dispatcher/dsopcode.c +++ b/source/components/dispatcher/dsopcode.c @@ -8,7 +8,7 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999 - 2018, Intel Corp. + * Some or all of this work - Copyright (c) 1999 - 2019, Intel Corp. * All rights reserved. * * 2. License @@ -286,7 +286,7 @@ AcpiDsInitBufferField ( if (BitCount == 0) { - ACPI_ERROR ((AE_INFO, + ACPI_BIOS_ERROR ((AE_INFO, "Attempt to CreateField of length zero")); Status = AE_AML_OPERAND_VALUE; goto Cleanup; @@ -352,12 +352,12 @@ AcpiDsInitBufferField ( if ((BitOffset + BitCount) > (8 * (UINT32) BufferDesc->Buffer.Length)) { - ACPI_ERROR ((AE_INFO, + Status = AE_AML_BUFFER_LIMIT; + ACPI_BIOS_EXCEPTION ((AE_INFO, Status, "Field [%4.4s] at bit offset/length %u/%u " "exceeds size of target Buffer (%u bits)", AcpiUtGetNodeName (ResultDesc), BitOffset, BitCount, 8 * (UINT32) BufferDesc->Buffer.Length)); - Status = AE_AML_BUFFER_LIMIT; goto Cleanup; } |
