Skip to content

Commit ab93d7e

Browse files
SaketADumbrerafaeljw
authored andcommitted
ACPICA: Update the format of Arg3 of _DSM
To get rid of type incompatibility warnings in Linux. Fixes: 81f92cf ("ACPICA: ACPI_TYPE_ANY does not include the package type") Link: acpica/acpica@4fb74872dcec Signed-off-by: Saket Dumbre <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent f338e77 commit ab93d7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/acpi/acpica/acpredef.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ const union acpi_predefined_info acpi_gbl_predefined_methods[] = {
451451

452452
{{"_DSM",
453453
METHOD_4ARGS(ACPI_TYPE_BUFFER, ACPI_TYPE_INTEGER, ACPI_TYPE_INTEGER,
454-
ACPI_TYPE_ANY | ACPI_TYPE_PACKAGE) |
454+
ACPI_TYPE_PACKAGE | ACPI_TYPE_ANY) |
455455
ARG_COUNT_IS_MINIMUM,
456456
METHOD_RETURNS(ACPI_RTYPE_ALL)}}, /* Must return a value, but it can be of any type */
457457

0 commit comments

Comments
 (0)