]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPI: property: Fix argument order in __acpi_node_get_property_reference()
authorSunil V L <sunilvl@ventanamicro.com>
Fri, 17 Oct 2025 10:07:44 +0000 (15:37 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 20 Oct 2025 20:01:15 +0000 (22:01 +0200)
commitf3f313c51148668d3c44f1119762325ce2c0715b
tree7b34ba6949a1cf96d455ddce97a5f81489f1829c
parent211ddde0823f1442e4ad052a2f30f050145ccada
ACPI: property: Fix argument order in __acpi_node_get_property_reference()

A refactoring bug introduced an argument order mistake in the call to
acpi_fwnode_get_reference_args() from __acpi_node_get_property_reference().
This caused incorrect behavior when resolving ACPI property references.

Fix the issue by correcting the argument order.

Fixes: e121be784d35 ("ACPI: property: Refactor acpi_fwnode_get_reference_args() to support nargs_prop")
Reported-by: Thomas Richard <thomas.richard@bootlin.com>
Closes: https://lore.kernel.org/all/1241f2b6-9b4e-4623-8a83-77db8774ac32@bootlin.com/
Tested-by: Thomas Richard <thomas.richard@bootlin.com>
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20251017100744.71871-1-sunilvl@ventanamicro.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/property.c