mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git
synced 2026-04-05 00:08:32 -04:00
ACPICA: Update the format of Arg3 of _DSM
To get rid of type incompatibility warnings in Linux.
Fixes: 81f92cff6d ("ACPICA: ACPI_TYPE_ANY does not include the package type")
Link: https://github.com/acpica/acpica/commit/4fb74872dcec
Signed-off-by: Saket Dumbre <saket.dumbre@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/12856643.O9o76ZdvQC@rafael.j.wysocki
This commit is contained in:
committed by
Rafael J. Wysocki
parent
f338e77383
commit
ab93d7eee9
@@ -451,7 +451,7 @@ const union acpi_predefined_info acpi_gbl_predefined_methods[] = {
|
||||
|
||||
{{"_DSM",
|
||||
METHOD_4ARGS(ACPI_TYPE_BUFFER, ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER,
|
||||
ACPI_TYPE_ANY | ACPI_TYPE_PACKAGE) |
|
||||
ACPI_TYPE_PACKAGE | ACPI_TYPE_ANY) |
|
||||
ARG_COUNT_IS_MINIMUM,
|
||||
METHOD_RETURNS(ACPI_RTYPE_ALL)}}, /* Must return a value, but it can be of any type */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user