diff options
Diffstat (limited to 'source/components/namespace/nsarguments.c')
| -rw-r--r-- | source/components/namespace/nsarguments.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 - " |
