diff options
Diffstat (limited to 'source/compiler')
| -rw-r--r-- | source/compiler/aslanalyze.c | 2 | ||||
| -rw-r--r-- | source/compiler/aslcompiler.l | 4 | ||||
| -rw-r--r-- | source/compiler/aslerror.c | 2 | ||||
| -rw-r--r-- | source/compiler/aslmethod.c | 1 | ||||
| -rw-r--r-- | source/compiler/aslparseop.c | 4 | ||||
| -rw-r--r-- | source/compiler/aslwalks.c | 2 | ||||
| -rw-r--r-- | source/compiler/dtfield.c | 2 | ||||
| -rw-r--r-- | source/compiler/dttemplate.c | 3 |
8 files changed, 11 insertions, 9 deletions
diff --git a/source/compiler/aslanalyze.c b/source/compiler/aslanalyze.c index 63feba2b127b..d2c40eababb5 100644 --- a/source/compiler/aslanalyze.c +++ b/source/compiler/aslanalyze.c @@ -470,7 +470,7 @@ AnCheckMethodReturnValue ( "Method returns [%s], %s operator requires [%s]", AslGbl_StringBuffer, OpInfo->Name, AslGbl_StringBuffer2); - AslError (ASL_ERROR, ASL_MSG_INVALID_TYPE, ArgOp, AslGbl_MsgBuffer); + AslError (ASL_WARNING, ASL_MSG_INVALID_TYPE, ArgOp, AslGbl_MsgBuffer); } } diff --git a/source/compiler/aslcompiler.l b/source/compiler/aslcompiler.l index 8e448fb76ead..f77dfc0d7242 100644 --- a/source/compiler/aslcompiler.l +++ b/source/compiler/aslcompiler.l @@ -812,9 +812,9 @@ NamePathTail [.]{NameSeg} "__PATH__" { count (0); return (PARSEOP___PATH__); } "__METHOD__" { count (0); return (PARSEOP___METHOD__); } "__EXPECT__"{ErrorCode} { char *s; - int index = 0; + unsigned int index = 0; count (0); - while (!isdigit (AslCompilertext[index])) + while (!isdigit ((int) AslCompilertext[index])) { index++; } diff --git a/source/compiler/aslerror.c b/source/compiler/aslerror.c index 150983429b3b..51c8c9b2ba89 100644 --- a/source/compiler/aslerror.c +++ b/source/compiler/aslerror.c @@ -1456,7 +1456,7 @@ AslIsExceptionDisabled ( { return (TRUE); } - /* Fall through */ + ACPI_FALLTHROUGH; case ASL_WARNING: case ASL_REMARK: diff --git a/source/compiler/aslmethod.c b/source/compiler/aslmethod.c index 32b4b123f02e..9f5b753b2d17 100644 --- a/source/compiler/aslmethod.c +++ b/source/compiler/aslmethod.c @@ -288,6 +288,7 @@ MtMethodAnalysisWalkBegin ( NextType = Next->Asl.Child; MethodInfo->ValidReturnTypes = MtProcessTypeOp (NextType); + Op->Asl.AcpiBtype |= MethodInfo->ValidReturnTypes; /* Get the ParameterType node */ diff --git a/source/compiler/aslparseop.c b/source/compiler/aslparseop.c index 51ef9b8c413c..6b17689d2e68 100644 --- a/source/compiler/aslparseop.c +++ b/source/compiler/aslparseop.c @@ -414,7 +414,7 @@ TrCreateValuedLeafOp ( for (i = 0; i < ACPI_NAMESEG_SIZE; i++) { - if (islower (Op->Asl.Value.Name[i])) + if (islower ((int) Op->Asl.Value.Name[i])) { AcpiUtStrupr (&Op->Asl.Value.Name[i]); AslError (ASL_REMARK, ASL_MSG_LOWER_CASE_NAMESEG, Op, Op->Asl.Value.Name); @@ -431,7 +431,7 @@ TrCreateValuedLeafOp ( StringPtr = Op->Asl.Value.Name; for (i = 0; *StringPtr; i++) { - if (islower (*StringPtr)) + if (islower ((int) *StringPtr)) { AcpiUtStrupr (&Op->Asl.Value.Name[i]); AslError (ASL_REMARK, ASL_MSG_LOWER_CASE_NAMEPATH, Op, Op->Asl.Value.Name); diff --git a/source/compiler/aslwalks.c b/source/compiler/aslwalks.c index 215544f6a527..66e702640da2 100644 --- a/source/compiler/aslwalks.c +++ b/source/compiler/aslwalks.c @@ -516,7 +516,7 @@ AnOperandTypecheckWalkEnd ( break; } - /* Fallthrough */ + ACPI_FALLTHROUGH; case ARGI_STORE_TARGET: diff --git a/source/compiler/dtfield.c b/source/compiler/dtfield.c index f976bba5255a..9a5729cfe95e 100644 --- a/source/compiler/dtfield.c +++ b/source/compiler/dtfield.c @@ -227,7 +227,7 @@ DtCompileOneField ( break; } - /* Fall through. */ + ACPI_FALLTHROUGH; case DT_FIELD_TYPE_BUFFER: diff --git a/source/compiler/dttemplate.c b/source/compiler/dttemplate.c index 5129138fd904..2262c745147d 100644 --- a/source/compiler/dttemplate.c +++ b/source/compiler/dttemplate.c @@ -255,6 +255,7 @@ DtCreateTemplates ( if (AcpiGbl_Optind < 3) { + fprintf (stderr, "Creating default template: [DSDT]\n"); Status = DtCreateOneTemplateFile (ACPI_SIG_DSDT, 0); goto Exit; } @@ -640,7 +641,7 @@ DtCreateOneTemplate ( { fprintf (stderr, "Created ACPI table templates for [%4.4s] " - "and %u [SSDT], written to \"%s\"\n", + "and %u [SSDT] in same file, written to \"%s\"\n", Signature, TableCount, DisasmFilename); } |
