From 9b46d42b758dd101c0333c3fed7974ab7d1e5028 Mon Sep 17 00:00:00 2001 From: Robert Moore Date: Fri, 12 Apr 2013 14:31:19 -0700 Subject: Add argument typechecking for all predefined ACPI names. Fully implements typechecking on all incoming arguments for all predefined names. This ensures that ACPI-related drivers are passing the correct number of arguments, each of the correct object type. Argument counts are checked for the incoming arguments as well as for the actual ASL definition of the ACPI name itself (it must match the ACPI specification). --- source/components/resources/rsutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/components/resources') diff --git a/source/components/resources/rsutils.c b/source/components/resources/rsutils.c index 642f32be1..110d19782 100644 --- a/source/components/resources/rsutils.c +++ b/source/components/resources/rsutils.c @@ -882,7 +882,7 @@ AcpiRsSetSrsMethodData ( } Info->PrefixNode = Node; - Info->Pathname = METHOD_NAME__SRS; + Info->RelativePathname = METHOD_NAME__SRS; Info->Parameters = Args; Info->Flags = ACPI_IGNORE_RETURN_VALUE; -- cgit v1.2.3