drivers/acpi/property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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>
---
drivers/acpi/property.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/property.c b/drivers/acpi/property.c
index 1b997a5497e7..43d5e457814e 100644
--- a/drivers/acpi/property.c
+++ b/drivers/acpi/property.c
@@ -1107,7 +1107,7 @@ int __acpi_node_get_property_reference(const struct fwnode_handle *fwnode,
size_t num_args,
struct fwnode_reference_args *args)
{
- return acpi_fwnode_get_reference_args(fwnode, propname, NULL, index, num_args, args);
+ return acpi_fwnode_get_reference_args(fwnode, propname, NULL, num_args, index, args);
}
EXPORT_SYMBOL_GPL(__acpi_node_get_property_reference);
--
2.43.0
On Fri, Oct 17, 2025 at 03:37:44PM +0530, Sunil V L wrote: > 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. Thanks for a fix which looks good to me, Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> -- With Best Regards, Andy Shevchenko
On Sat, Oct 18, 2025 at 9:38 PM Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > > On Fri, Oct 17, 2025 at 03:37:44PM +0530, Sunil V L wrote: > > 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. > > Thanks for a fix which looks good to me, > Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Applied as 6.18-rc material, thanks!
© 2016 - 2026 Red Hat, Inc.