|
|
88c41d |
Use proper integer formatting
|
|
|
88c41d |
|
|
|
88c41d |
From: Al Stone <ahs3@redhat.com>
|
|
|
88c41d |
|
|
|
88c41d |
|
|
|
88c41d |
---
|
|
|
88c41d |
source/compiler/aslcompile.c | 2 +-
|
|
|
88c41d |
source/compiler/aslerror.c | 4 ++--
|
|
|
88c41d |
source/compiler/aslopt.c | 2 +-
|
|
|
88c41d |
source/compiler/aslpredef.c | 2 +-
|
|
|
88c41d |
source/compiler/aslprepkg.c | 2 +-
|
|
|
88c41d |
source/components/debugger/dbexec.c | 2 +-
|
|
|
88c41d |
source/components/dispatcher/dsmthdat.c | 4 ++--
|
|
|
88c41d |
source/components/dispatcher/dsutils.c | 2 +-
|
|
|
88c41d |
source/components/dispatcher/dswscope.c | 4 ++--
|
|
|
88c41d |
source/components/events/evgpe.c | 4 ++--
|
|
|
88c41d |
source/components/executer/exdump.c | 2 +-
|
|
|
88c41d |
source/components/executer/exfldio.c | 4 ++--
|
|
|
88c41d |
source/components/executer/exnames.c | 4 ++--
|
|
|
88c41d |
source/components/hardware/hwregs.c | 2 +-
|
|
|
88c41d |
source/components/tables/tbfadt.c | 6 +++---
|
|
|
88c41d |
source/components/tables/tbxfroot.c | 6 +++---
|
|
|
88c41d |
source/components/utilities/utownerid.c | 2 +-
|
|
|
88c41d |
source/tools/acpiexec/aemain.c | 2 +-
|
|
|
88c41d |
18 files changed, 28 insertions(+), 28 deletions(-)
|
|
|
88c41d |
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/compiler/aslcompile.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/compiler/aslcompile.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/compiler/aslcompile.c
|
|
|
88c41d |
@@ -750,7 +750,7 @@ CmCleanupAndExit (
|
|
|
88c41d |
|
|
|
88c41d |
if (Gbl_ExceptionCount[ASL_ERROR] > ASL_MAX_ERROR_COUNT)
|
|
|
88c41d |
{
|
|
|
88c41d |
- printf ("\nMaximum error count (%u) exceeded\n",
|
|
|
88c41d |
+ printf ("\nMaximum error count (%d) exceeded\n",
|
|
|
88c41d |
ASL_MAX_ERROR_COUNT);
|
|
|
88c41d |
}
|
|
|
88c41d |
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/compiler/aslerror.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/compiler/aslerror.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/compiler/aslerror.c
|
|
|
88c41d |
@@ -880,7 +880,7 @@ AslLogNewError (
|
|
|
88c41d |
Gbl_ExceptionCount[Level]++;
|
|
|
88c41d |
if (Gbl_ExceptionCount[ASL_ERROR] > ASL_MAX_ERROR_COUNT)
|
|
|
88c41d |
{
|
|
|
88c41d |
- printf ("\nMaximum error count (%u) exceeded\n", ASL_MAX_ERROR_COUNT);
|
|
|
88c41d |
+ printf ("\nMaximum error count (%d) exceeded\n", ASL_MAX_ERROR_COUNT);
|
|
|
88c41d |
|
|
|
88c41d |
Gbl_SourceLine = 0;
|
|
|
88c41d |
Gbl_NextError = Gbl_ErrorLog;
|
|
|
88c41d |
@@ -1036,7 +1036,7 @@ AslDisableException (
|
|
|
88c41d |
|
|
|
88c41d |
if (Gbl_DisabledMessagesIndex >= ASL_MAX_DISABLED_MESSAGES)
|
|
|
88c41d |
{
|
|
|
88c41d |
- printf ("Too many messages have been disabled (max %u)\n",
|
|
|
88c41d |
+ printf ("Too many messages have been disabled (max %d)\n",
|
|
|
88c41d |
ASL_MAX_DISABLED_MESSAGES);
|
|
|
88c41d |
return (AE_LIMIT);
|
|
|
88c41d |
}
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/compiler/aslopt.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/compiler/aslopt.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/compiler/aslopt.c
|
|
|
88c41d |
@@ -584,7 +584,7 @@ OptOptimizeNamePath (
|
|
|
88c41d |
}
|
|
|
88c41d |
|
|
|
88c41d |
ACPI_DEBUG_PRINT_RAW ((ACPI_DB_OPTIMIZATIONS,
|
|
|
88c41d |
- "PATH OPTIMIZE: Line %5d ParentOp [%12.12s] ThisOp [%12.12s] ",
|
|
|
88c41d |
+ "PATH OPTIMIZE: Line %5u ParentOp [%12.12s] ThisOp [%12.12s] ",
|
|
|
88c41d |
Op->Asl.LogicalLineNumber,
|
|
|
88c41d |
AcpiPsGetOpcodeName (Op->Common.Parent->Common.AmlOpcode),
|
|
|
88c41d |
AcpiPsGetOpcodeName (Op->Common.AmlOpcode)));
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/compiler/aslpredef.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/compiler/aslpredef.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/compiler/aslpredef.c
|
|
|
88c41d |
@@ -114,7 +114,7 @@ ApCheckForPredefinedMethod (
|
|
|
88c41d |
|
|
|
88c41d |
if (MethodInfo->NumArguments != 0)
|
|
|
88c41d |
{
|
|
|
88c41d |
- sprintf (MsgBuffer, "%s requires %u", Op->Asl.ExternalName, 0);
|
|
|
88c41d |
+ sprintf (MsgBuffer, "%s requires %d", Op->Asl.ExternalName, 0);
|
|
|
88c41d |
|
|
|
88c41d |
AslError (ASL_WARNING, ASL_MSG_RESERVED_ARG_COUNT_HI, Op,
|
|
|
88c41d |
MsgBuffer);
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/compiler/aslprepkg.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/compiler/aslprepkg.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/compiler/aslprepkg.c
|
|
|
88c41d |
@@ -309,7 +309,7 @@ ApCheckPackage (
|
|
|
88c41d |
|
|
|
88c41d |
if (Count & 1)
|
|
|
88c41d |
{
|
|
|
88c41d |
- sprintf (MsgBuffer, "%4.4s: Package length, %d, must be even.",
|
|
|
88c41d |
+ sprintf (MsgBuffer, "%4.4s: Package length, %u, must be even.",
|
|
|
88c41d |
Predefined->Info.Name, Count);
|
|
|
88c41d |
|
|
|
88c41d |
AslError (ASL_ERROR, ASL_MSG_RESERVED_PACKAGE_LENGTH,
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/components/debugger/dbexec.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/components/debugger/dbexec.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/components/debugger/dbexec.c
|
|
|
88c41d |
@@ -230,7 +230,7 @@ AcpiDbExecuteMethod (
|
|
|
88c41d |
ACPI_ERROR ((AE_INFO,
|
|
|
88c41d |
"Possible overflow of internal debugger "
|
|
|
88c41d |
"buffer (size 0x%X needed 0x%X)",
|
|
|
88c41d |
- ACPI_DEBUG_BUFFER_SIZE, (UINT32) ReturnObj->Length));
|
|
|
88c41d |
+ (UINT32) ACPI_DEBUG_BUFFER_SIZE, (UINT32) ReturnObj->Length));
|
|
|
88c41d |
}
|
|
|
88c41d |
}
|
|
|
88c41d |
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/components/dispatcher/dsmthdat.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/components/dispatcher/dsmthdat.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/components/dispatcher/dsmthdat.c
|
|
|
88c41d |
@@ -291,7 +291,7 @@ AcpiDsMethodDataGetNode (
|
|
|
88c41d |
if (Index > ACPI_METHOD_MAX_LOCAL)
|
|
|
88c41d |
{
|
|
|
88c41d |
ACPI_ERROR ((AE_INFO,
|
|
|
88c41d |
- "Local index %u is invalid (max %u)",
|
|
|
88c41d |
+ "Local index %u is invalid (max %d)",
|
|
|
88c41d |
Index, ACPI_METHOD_MAX_LOCAL));
|
|
|
88c41d |
return_ACPI_STATUS (AE_AML_INVALID_INDEX);
|
|
|
88c41d |
}
|
|
|
88c41d |
@@ -306,7 +306,7 @@ AcpiDsMethodDataGetNode (
|
|
|
88c41d |
if (Index > ACPI_METHOD_MAX_ARG)
|
|
|
88c41d |
{
|
|
|
88c41d |
ACPI_ERROR ((AE_INFO,
|
|
|
88c41d |
- "Arg index %u is invalid (max %u)",
|
|
|
88c41d |
+ "Arg index %u is invalid (max %d)",
|
|
|
88c41d |
Index, ACPI_METHOD_MAX_ARG));
|
|
|
88c41d |
return_ACPI_STATUS (AE_AML_INVALID_INDEX);
|
|
|
88c41d |
}
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/components/dispatcher/dsutils.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/components/dispatcher/dsutils.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/components/dispatcher/dsutils.c
|
|
|
88c41d |
@@ -788,7 +788,7 @@ AcpiDsCreateOperands (
|
|
|
88c41d |
}
|
|
|
88c41d |
|
|
|
88c41d |
ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH,
|
|
|
88c41d |
- "NumOperands %d, ArgCount %d, Index %d\n",
|
|
|
88c41d |
+ "NumOperands %d, ArgCount %u, Index %u\n",
|
|
|
88c41d |
WalkState->NumOperands, ArgCount, Index));
|
|
|
88c41d |
|
|
|
88c41d |
/* Create the interpreter arguments, in reverse order */
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/components/dispatcher/dswscope.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/components/dispatcher/dswscope.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/components/dispatcher/dswscope.c
|
|
|
88c41d |
@@ -149,7 +149,7 @@ AcpiDsScopeStackPush (
|
|
|
88c41d |
WalkState->ScopeDepth++;
|
|
|
88c41d |
|
|
|
88c41d |
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC,
|
|
|
88c41d |
- "[%.2d] Pushed scope ", (UINT32) WalkState->ScopeDepth));
|
|
|
88c41d |
+ "[%.2d] Pushed scope ", WalkState->ScopeDepth));
|
|
|
88c41d |
|
|
|
88c41d |
OldScopeInfo = WalkState->ScopeInfo;
|
|
|
88c41d |
if (OldScopeInfo)
|
|
|
88c41d |
@@ -211,7 +211,7 @@ AcpiDsScopeStackPop (
|
|
|
88c41d |
WalkState->ScopeDepth--;
|
|
|
88c41d |
|
|
|
88c41d |
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC,
|
|
|
88c41d |
- "[%.2d] Popped scope [%4.4s] (%s), New scope -> ",
|
|
|
88c41d |
+ "[%.2u] Popped scope [%4.4s] (%s), New scope -> ",
|
|
|
88c41d |
(UINT32) WalkState->ScopeDepth,
|
|
|
88c41d |
AcpiUtGetNodeName (ScopeInfo->Scope.Node),
|
|
|
88c41d |
AcpiUtGetTypeName (ScopeInfo->Common.Value)));
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/components/events/evgpe.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/components/events/evgpe.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/components/events/evgpe.c
|
|
|
88c41d |
@@ -481,7 +481,7 @@ AcpiEvGpeDetect (
|
|
|
88c41d |
"Ignore disabled registers for GPE %02X-%02X: "
|
|
|
88c41d |
"RunEnable=%02X, WakeEnable=%02X\n",
|
|
|
88c41d |
GpeRegisterInfo->BaseGpeNumber,
|
|
|
88c41d |
- GpeRegisterInfo->BaseGpeNumber + (ACPI_GPE_REGISTER_WIDTH - 1),
|
|
|
88c41d |
+ (unsigned int) (GpeRegisterInfo->BaseGpeNumber + (ACPI_GPE_REGISTER_WIDTH - 1)),
|
|
|
88c41d |
GpeRegisterInfo->EnableForRun,
|
|
|
88c41d |
GpeRegisterInfo->EnableForWake));
|
|
|
88c41d |
continue;
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/components/executer/exdump.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/components/executer/exdump.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/components/executer/exdump.c
|
|
|
88c41d |
@@ -678,7 +678,7 @@ AcpiExDumpOperand (
|
|
|
88c41d |
if (Depth > 0)
|
|
|
88c41d |
{
|
|
|
88c41d |
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "%*s[%u] %p Refs=%u ",
|
|
|
88c41d |
- Depth, " ", Depth, ObjDesc, ObjDesc->Common.ReferenceCount));
|
|
|
88c41d |
+ (int) Depth, " ", Depth, ObjDesc, ObjDesc->Common.ReferenceCount));
|
|
|
88c41d |
}
|
|
|
88c41d |
else
|
|
|
88c41d |
{
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/components/executer/exfldio.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/components/executer/exfldio.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/components/executer/exfldio.c
|
|
|
88c41d |
@@ -681,8 +681,8 @@ AcpiExWriteWithUpdateRule (
|
|
|
88c41d |
|
|
|
88c41d |
ACPI_ERROR ((AE_INFO,
|
|
|
88c41d |
"Unknown UpdateRule value: 0x%X",
|
|
|
88c41d |
- (ObjDesc->CommonField.FieldFlags &
|
|
|
88c41d |
- AML_FIELD_UPDATE_RULE_MASK)));
|
|
|
88c41d |
+ (unsigned int) (ObjDesc->CommonField.FieldFlags &
|
|
|
88c41d |
+ AML_FIELD_UPDATE_RULE_MASK)));
|
|
|
88c41d |
return_ACPI_STATUS (AE_AML_OPERAND_VALUE);
|
|
|
88c41d |
}
|
|
|
88c41d |
}
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/components/executer/exnames.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/components/executer/exnames.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/components/executer/exnames.c
|
|
|
88c41d |
@@ -237,7 +237,7 @@ AcpiExNameSegment (
|
|
|
88c41d |
*/
|
|
|
88c41d |
ACPI_DEBUG_PRINT ((ACPI_DB_INFO,
|
|
|
88c41d |
"Leading character is not alpha: %02Xh (not a name)\n",
|
|
|
88c41d |
- CharBuf[0]));
|
|
|
88c41d |
+ (unsigned int) CharBuf[0]));
|
|
|
88c41d |
Status = AE_CTRL_PENDING;
|
|
|
88c41d |
}
|
|
|
88c41d |
else
|
|
|
88c41d |
@@ -249,7 +249,7 @@ AcpiExNameSegment (
|
|
|
88c41d |
Status = AE_AML_BAD_NAME;
|
|
|
88c41d |
ACPI_ERROR ((AE_INFO,
|
|
|
88c41d |
"Bad character 0x%02x in name, at %p",
|
|
|
88c41d |
- *AmlAddress, AmlAddress));
|
|
|
88c41d |
+ (unsigned int) (*AmlAddress), AmlAddress));
|
|
|
88c41d |
}
|
|
|
88c41d |
|
|
|
88c41d |
*InAmlAddress = ACPI_CAST_PTR (UINT8, AmlAddress);
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/components/hardware/hwregs.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/components/hardware/hwregs.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/components/hardware/hwregs.c
|
|
|
88c41d |
@@ -460,7 +460,7 @@ AcpiHwClearAcpiStatus (
|
|
|
88c41d |
|
|
|
88c41d |
|
|
|
88c41d |
ACPI_DEBUG_PRINT ((ACPI_DB_IO, "About to write %04X to %8.8X%8.8X\n",
|
|
|
88c41d |
- ACPI_BITMASK_ALL_FIXED_STATUS,
|
|
|
88c41d |
+ (UINT32) ACPI_BITMASK_ALL_FIXED_STATUS,
|
|
|
88c41d |
ACPI_FORMAT_UINT64 (AcpiGbl_XPm1aStatus.Address)));
|
|
|
88c41d |
|
|
|
88c41d |
LockFlags = AcpiOsAcquireLock (AcpiGbl_HardwareLock);
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/components/tables/tbfadt.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/components/tables/tbfadt.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/components/tables/tbfadt.c
|
|
|
88c41d |
@@ -233,7 +233,7 @@ AcpiTbInitGenericAddress (
|
|
|
88c41d |
if (!(Flags & ACPI_FADT_GPE_REGISTER))
|
|
|
88c41d |
{
|
|
|
88c41d |
ACPI_ERROR ((AE_INFO,
|
|
|
88c41d |
- "%s - 32-bit FADT register is too long (%u bytes, %u bits) "
|
|
|
88c41d |
+ "%s - 32-bit FADT register is too long (%u bytes, %d bits) "
|
|
|
88c41d |
"to convert to GAS struct - 255 bits max, truncating",
|
|
|
88c41d |
RegisterName, ByteWidth, (ByteWidth * 8)));
|
|
|
88c41d |
}
|
|
|
88c41d |
@@ -304,7 +304,7 @@ AcpiTbSelectAddress (
|
|
|
88c41d |
|
|
|
88c41d |
ACPI_BIOS_WARNING ((AE_INFO,
|
|
|
88c41d |
"32/64X %s address mismatch in FADT: "
|
|
|
88c41d |
- "0x%8.8X/0x%8.8X%8.8X, using %u-bit address",
|
|
|
88c41d |
+ "0x%8.8X/0x%8.8X%8.8X, using %d-bit address",
|
|
|
88c41d |
RegisterName, Address32, ACPI_FORMAT_UINT64 (Address64),
|
|
|
88c41d |
AcpiGbl_Use32BitFadtAddresses ? 32 : 64));
|
|
|
88c41d |
|
|
|
88c41d |
@@ -628,7 +628,7 @@ AcpiTbConvertFadt (
|
|
|
88c41d |
|
|
|
88c41d |
ACPI_BIOS_WARNING ((AE_INFO,
|
|
|
88c41d |
"32/64X address mismatch in FADT/%s: "
|
|
|
88c41d |
- "0x%8.8X/0x%8.8X%8.8X, using %u-bit address",
|
|
|
88c41d |
+ "0x%8.8X/0x%8.8X%8.8X, using %d-bit address",
|
|
|
88c41d |
Name, Address32,
|
|
|
88c41d |
ACPI_FORMAT_UINT64 (Address64->Address),
|
|
|
88c41d |
AcpiGbl_Use32BitFadtAddresses ? 32 : 64));
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/components/tables/tbxfroot.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/components/tables/tbxfroot.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/components/tables/tbxfroot.c
|
|
|
88c41d |
@@ -177,7 +177,7 @@ AcpiFindRootPointer (
|
|
|
88c41d |
{
|
|
|
88c41d |
ACPI_ERROR ((AE_INFO,
|
|
|
88c41d |
"Could not map memory at 0x%8.8X for length %u",
|
|
|
88c41d |
- ACPI_EBDA_PTR_LOCATION, ACPI_EBDA_PTR_LENGTH));
|
|
|
88c41d |
+ (UINT32) ACPI_EBDA_PTR_LOCATION, (UINT32) ACPI_EBDA_PTR_LENGTH));
|
|
|
88c41d |
|
|
|
88c41d |
return_ACPI_STATUS (AE_NO_MEMORY);
|
|
|
88c41d |
}
|
|
|
88c41d |
@@ -204,7 +204,7 @@ AcpiFindRootPointer (
|
|
|
88c41d |
{
|
|
|
88c41d |
ACPI_ERROR ((AE_INFO,
|
|
|
88c41d |
"Could not map memory at 0x%8.8X for length %u",
|
|
|
88c41d |
- PhysicalAddress, ACPI_EBDA_WINDOW_SIZE));
|
|
|
88c41d |
+ PhysicalAddress, (UINT32) ACPI_EBDA_WINDOW_SIZE));
|
|
|
88c41d |
|
|
|
88c41d |
return_ACPI_STATUS (AE_NO_MEMORY);
|
|
|
88c41d |
}
|
|
|
88c41d |
@@ -236,7 +236,7 @@ AcpiFindRootPointer (
|
|
|
88c41d |
{
|
|
|
88c41d |
ACPI_ERROR ((AE_INFO,
|
|
|
88c41d |
"Could not map memory at 0x%8.8X for length %u",
|
|
|
88c41d |
- ACPI_HI_RSDP_WINDOW_BASE, ACPI_HI_RSDP_WINDOW_SIZE));
|
|
|
88c41d |
+ (UINT32) ACPI_HI_RSDP_WINDOW_BASE, (UINT32) ACPI_HI_RSDP_WINDOW_SIZE));
|
|
|
88c41d |
|
|
|
88c41d |
return_ACPI_STATUS (AE_NO_MEMORY);
|
|
|
88c41d |
}
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/components/utilities/utownerid.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/components/utilities/utownerid.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/components/utilities/utownerid.c
|
|
|
88c41d |
@@ -237,7 +237,7 @@ AcpiUtReleaseOwnerId (
|
|
|
88c41d |
else
|
|
|
88c41d |
{
|
|
|
88c41d |
ACPI_ERROR ((AE_INFO,
|
|
|
88c41d |
- "Release of non-allocated OwnerId: 0x%2.2X", OwnerId + 1));
|
|
|
88c41d |
+ "Release of non-allocated OwnerId: 0x%2.2X", (UINT32) OwnerId + 1));
|
|
|
88c41d |
}
|
|
|
88c41d |
|
|
|
88c41d |
(void) AcpiUtReleaseMutex (ACPI_MTX_CACHES);
|
|
|
88c41d |
Index: acpica-unix2-20180531/source/tools/acpiexec/aemain.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20180531.orig/source/tools/acpiexec/aemain.c
|
|
|
88c41d |
+++ acpica-unix2-20180531/source/tools/acpiexec/aemain.c
|
|
|
88c41d |
@@ -209,7 +209,7 @@ AeDoOptions (
|
|
|
88c41d |
|
|
|
88c41d |
if (strlen (AcpiGbl_Optarg) > (AE_BUFFER_SIZE -1))
|
|
|
88c41d |
{
|
|
|
88c41d |
- printf ("**** The length of command line (%u) exceeded maximum (%u)\n",
|
|
|
88c41d |
+ printf ("**** The length of command line (%u) exceeded maximum (%d)\n",
|
|
|
88c41d |
(UINT32) strlen (AcpiGbl_Optarg), (AE_BUFFER_SIZE -1));
|
|
|
88c41d |
return (-1);
|
|
|
88c41d |
}
|