summaryrefslogtreecommitdiff
path: root/source/components/namespace
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2020-10-08 16:44:28 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2020-10-08 16:44:28 +0000
commite09636e66f40fad3b03a8dd4b86b1a371c435631 (patch)
tree7b65a7c39bdcce933c0b6ad825b31a72f28fd631 /source/components/namespace
parentb1dc29fa09052190e87f93cf1888edea9c42df24 (diff)
Notes
Diffstat (limited to 'source/components/namespace')
-rw-r--r--source/components/namespace/nsalloc.c2
-rw-r--r--source/components/namespace/nsarguments.c4
-rw-r--r--source/components/namespace/nsxfobj.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/source/components/namespace/nsalloc.c b/source/components/namespace/nsalloc.c
index 6610c7f3b750..e75648717ec0 100644
--- a/source/components/namespace/nsalloc.c
+++ b/source/components/namespace/nsalloc.c
@@ -481,7 +481,7 @@ AcpiNsDeleteChildren (
NodeToDelete = NextNode;
NextNode = NextNode->Peer;
AcpiNsDeleteNode (NodeToDelete);
- };
+ }
/* Clear the parent's child pointer */
diff --git a/source/components/namespace/nsarguments.c b/source/components/namespace/nsarguments.c
index 2e2828dd3e7d..1a2d1099e6e4 100644
--- a/source/components/namespace/nsarguments.c
+++ b/source/components/namespace/nsarguments.c
@@ -205,7 +205,9 @@ AcpiNsCheckArgumentTypes (
ArgType = METHOD_GET_NEXT_TYPE (ArgTypeList);
UserArgType = Info->Parameters[i]->Common.Type;
- if (UserArgType != ArgType)
+ /* No typechecking for ACPI_TYPE_ANY */
+
+ if ((UserArgType != ArgType) && (ArgType != ACPI_TYPE_ANY))
{
ACPI_WARN_PREDEFINED ((AE_INFO, Info->FullPathname, ACPI_WARN_ALWAYS,
"Argument #%u type mismatch - "
diff --git a/source/components/namespace/nsxfobj.c b/source/components/namespace/nsxfobj.c
index 68e64033b1f2..de793323adfd 100644
--- a/source/components/namespace/nsxfobj.c
+++ b/source/components/namespace/nsxfobj.c
@@ -169,7 +169,8 @@
*
* RETURN: Status
*
- * DESCRIPTION: This routine returns the type associatd with a particular handle
+ * DESCRIPTION: This routine returns the type associated with a particular
+ * handle
*
******************************************************************************/