summaryrefslogtreecommitdiff
path: root/source/components
diff options
context:
space:
mode:
Diffstat (limited to 'source/components')
-rw-r--r--source/components/debugger/dbinput.c4
-rw-r--r--source/components/debugger/dbobject.c2
-rw-r--r--source/components/disassembler/dmwalk.c8
-rw-r--r--source/components/dispatcher/dscontrol.c2
-rw-r--r--source/components/dispatcher/dsdebug.c2
-rw-r--r--source/components/dispatcher/dswexec.c3
-rw-r--r--source/components/dispatcher/dswload.c2
-rw-r--r--source/components/dispatcher/dswload2.c2
-rw-r--r--source/components/executer/exfldio.c2
-rw-r--r--source/components/executer/exresop.c4
-rw-r--r--source/components/executer/exstore.c4
-rw-r--r--source/components/hardware/hwgpe.c2
-rw-r--r--source/components/parser/psloop.c3
-rw-r--r--source/components/parser/psparse.c2
-rw-r--r--source/components/utilities/utdelete.c2
-rw-r--r--source/components/utilities/utstrsuppt.c4
16 files changed, 23 insertions, 25 deletions
diff --git a/source/components/debugger/dbinput.c b/source/components/debugger/dbinput.c
index 0cc97310fa10..15e9f351b122 100644
--- a/source/components/debugger/dbinput.c
+++ b/source/components/debugger/dbinput.c
@@ -642,7 +642,7 @@ AcpiDbGetNextToken (
/* Remove any spaces at the beginning, ignore blank lines */
- while (*String && isspace (*String))
+ while (*String && isspace ((int) *String))
{
String++;
}
@@ -754,7 +754,7 @@ AcpiDbGetNextToken (
/* Find end of token */
- while (*String && !isspace (*String))
+ while (*String && !isspace ((int) *String))
{
String++;
}
diff --git a/source/components/debugger/dbobject.c b/source/components/debugger/dbobject.c
index 01d885d03df7..a5af85d6beab 100644
--- a/source/components/debugger/dbobject.c
+++ b/source/components/debugger/dbobject.c
@@ -201,7 +201,7 @@ AcpiDbDumpMethodInfo (
/* Ignore control codes, they are not errors */
- if ((Status & AE_CODE_MASK) == AE_CODE_CONTROL)
+ if (ACPI_CNTL_EXCEPTION (Status))
{
return;
}
diff --git a/source/components/disassembler/dmwalk.c b/source/components/disassembler/dmwalk.c
index 76ef0aacb66c..2359468f142d 100644
--- a/source/components/disassembler/dmwalk.c
+++ b/source/components/disassembler/dmwalk.c
@@ -400,7 +400,7 @@ AcpiDmBlockType (
return (BLOCK_NONE);
}
- /*lint -fallthrough */
+ ACPI_FALLTHROUGH;
case AML_PACKAGE_OP:
case AML_VARIABLE_PACKAGE_OP:
@@ -422,7 +422,7 @@ AcpiDmBlockType (
return (BLOCK_NONE);
}
- /*lint -fallthrough */
+ ACPI_FALLTHROUGH;
default:
@@ -688,7 +688,7 @@ AcpiDmDescendingOp (
return (AE_OK);
}
- /* Fallthrough */
+ ACPI_FALLTHROUGH;
default:
@@ -772,7 +772,7 @@ AcpiDmDescendingOp (
AcpiDmNamestring (NextOp->Common.Value.Name);
AcpiOsPrintf (", ");
- /*lint -fallthrough */
+ ACPI_FALLTHROUGH;
default:
diff --git a/source/components/dispatcher/dscontrol.c b/source/components/dispatcher/dscontrol.c
index 4ff0b3823a5d..32632c547e22 100644
--- a/source/components/dispatcher/dscontrol.c
+++ b/source/components/dispatcher/dscontrol.c
@@ -210,7 +210,7 @@ AcpiDsExecBeginControlOp (
}
}
- /*lint -fallthrough */
+ ACPI_FALLTHROUGH;
case AML_IF_OP:
/*
diff --git a/source/components/dispatcher/dsdebug.c b/source/components/dispatcher/dsdebug.c
index a7ece9b013bd..68d3fc2fb07a 100644
--- a/source/components/dispatcher/dsdebug.c
+++ b/source/components/dispatcher/dsdebug.c
@@ -254,7 +254,7 @@ AcpiDsDumpMethodStack (
/* Ignore control codes, they are not errors */
- if ((Status & AE_CODE_MASK) == AE_CODE_CONTROL)
+ if (ACPI_CNTL_EXCEPTION (Status))
{
return_VOID;
}
diff --git a/source/components/dispatcher/dswexec.c b/source/components/dispatcher/dswexec.c
index 3fa7b95bba8e..87e692a0634a 100644
--- a/source/components/dispatcher/dswexec.c
+++ b/source/components/dispatcher/dswexec.c
@@ -772,8 +772,7 @@ AcpiDsExecEndOp (
break;
}
- /* Fall through */
- /*lint -fallthrough */
+ ACPI_FALLTHROUGH;
case AML_INT_EVAL_SUBTREE_OP:
diff --git a/source/components/dispatcher/dswload.c b/source/components/dispatcher/dswload.c
index 62a4fdca417b..be2f4a2beef8 100644
--- a/source/components/dispatcher/dswload.c
+++ b/source/components/dispatcher/dswload.c
@@ -375,7 +375,7 @@ AcpiDsLoad1BeginOp (
break;
}
- /*lint -fallthrough */
+ ACPI_FALLTHROUGH;
default:
diff --git a/source/components/dispatcher/dswload2.c b/source/components/dispatcher/dswload2.c
index 0ab715cd139b..76148af324bd 100644
--- a/source/components/dispatcher/dswload2.c
+++ b/source/components/dispatcher/dswload2.c
@@ -366,7 +366,7 @@ AcpiDsLoad2BeginOp (
break;
}
- /*lint -fallthrough */
+ ACPI_FALLTHROUGH;
default:
diff --git a/source/components/executer/exfldio.c b/source/components/executer/exfldio.c
index 69f9e1a6c5fe..64be8bf1da9f 100644
--- a/source/components/executer/exfldio.c
+++ b/source/components/executer/exfldio.c
@@ -616,7 +616,7 @@ AcpiExFieldDatumIo (
* RegionField case and write the datum to the Operation Region
*/
- /*lint -fallthrough */
+ ACPI_FALLTHROUGH;
case ACPI_TYPE_LOCAL_REGION_FIELD:
/*
diff --git a/source/components/executer/exresop.c b/source/components/executer/exresop.c
index bf43d5d28d7c..b0d1c7409e60 100644
--- a/source/components/executer/exresop.c
+++ b/source/components/executer/exresop.c
@@ -358,7 +358,7 @@ AcpiExResolveOperands (
TargetOp = AML_DEBUG_OP;
- /*lint -fallthrough */
+ ACPI_FALLTHROUGH;
case ACPI_REFCLASS_ARG:
case ACPI_REFCLASS_LOCAL:
@@ -422,7 +422,7 @@ AcpiExResolveOperands (
* Else not a string - fall through to the normal Reference
* case below
*/
- /*lint -fallthrough */
+ ACPI_FALLTHROUGH;
case ARGI_REFERENCE: /* References: */
case ARGI_INTEGER_REF:
diff --git a/source/components/executer/exstore.c b/source/components/executer/exstore.c
index b374d6faa1e0..d6b9143bbbf9 100644
--- a/source/components/executer/exstore.c
+++ b/source/components/executer/exstore.c
@@ -248,7 +248,7 @@ AcpiExStore (
return_ACPI_STATUS (AE_OK);
}
- /*lint -fallthrough */
+ ACPI_FALLTHROUGH;
default:
@@ -585,7 +585,7 @@ AcpiExStoreObjectToNode (
break;
}
- /* Fallthrough */
+ ACPI_FALLTHROUGH;
case ACPI_TYPE_DEVICE:
case ACPI_TYPE_EVENT:
diff --git a/source/components/hardware/hwgpe.c b/source/components/hardware/hwgpe.c
index e8ad8926ce11..c7b7a4696794 100644
--- a/source/components/hardware/hwgpe.c
+++ b/source/components/hardware/hwgpe.c
@@ -254,7 +254,7 @@ AcpiHwLowSetGpe (
return (AE_BAD_PARAMETER);
}
- /*lint -fallthrough */
+ ACPI_FALLTHROUGH;
case ACPI_GPE_ENABLE:
diff --git a/source/components/parser/psloop.c b/source/components/parser/psloop.c
index 5b4b0d989bdd..6ccac91012b5 100644
--- a/source/components/parser/psloop.c
+++ b/source/components/parser/psloop.c
@@ -410,8 +410,7 @@ AcpiPsParseLoop (
*/
WalkState->Op = NULL;
Status = AcpiDsGetPredicateValue (WalkState, ACPI_TO_POINTER (TRUE));
- if (ACPI_FAILURE (Status) &&
- ((Status & AE_CODE_MASK) != AE_CODE_CONTROL))
+ if (ACPI_FAILURE (Status) && !ACPI_CNTL_EXCEPTION (Status))
{
if (Status == AE_AML_NO_RETURN_VALUE)
{
diff --git a/source/components/parser/psparse.c b/source/components/parser/psparse.c
index d935ebc2df76..16458bc3e9d5 100644
--- a/source/components/parser/psparse.c
+++ b/source/components/parser/psparse.c
@@ -533,7 +533,7 @@ AcpiPsNextParseState (
default:
Status = CallbackStatus;
- if ((CallbackStatus & AE_CODE_MASK) == AE_CODE_CONTROL)
+ if (ACPI_CNTL_EXCEPTION (CallbackStatus))
{
Status = AE_OK;
}
diff --git a/source/components/utilities/utdelete.c b/source/components/utilities/utdelete.c
index aafd52959379..0e0500a0d20b 100644
--- a/source/components/utilities/utdelete.c
+++ b/source/components/utilities/utdelete.c
@@ -266,7 +266,7 @@ AcpiUtDeleteInternalObj (
(void) AcpiEvDeleteGpeBlock (Object->Device.GpeBlock);
}
- /*lint -fallthrough */
+ ACPI_FALLTHROUGH;
case ACPI_TYPE_PROCESSOR:
case ACPI_TYPE_THERMAL:
diff --git a/source/components/utilities/utstrsuppt.c b/source/components/utilities/utstrsuppt.c
index 153b56e85cff..c0ea049558d8 100644
--- a/source/components/utilities/utstrsuppt.c
+++ b/source/components/utilities/utstrsuppt.c
@@ -274,7 +274,7 @@ AcpiUtConvertDecimalString (
* 1) Runtime: terminate with no error, per the ACPI spec
* 2) Compiler: return an error
*/
- if (!isdigit (*String))
+ if (!isdigit ((int) *String))
{
#ifdef ACPI_ASL_COMPILER
Status = AE_BAD_DECIMAL_CONSTANT;
@@ -336,7 +336,7 @@ AcpiUtConvertHexString (
* 1) Runtime: terminate with no error, per the ACPI spec
* 2) Compiler: return an error
*/
- if (!isxdigit (*String))
+ if (!isxdigit ((int) *String))
{
#ifdef ACPI_ASL_COMPILER
Status = AE_BAD_HEX_CONSTANT;