On Wed, May 25, 2022 at 04:01:16PM +0300, Sakari Ailus wrote: > The value acpi_add_nondev_subnodes() returns is bool so change the return > type of the function to match that. Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > Fixes: 445b0eb058f5 ("ACPI / property: Add support for data-only subnodes") > Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> > --- > drivers/acpi/property.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/acpi/property.c b/drivers/acpi/property.c > index d3173811614ec..bc9a645f8bb77 100644 > --- a/drivers/acpi/property.c > +++ b/drivers/acpi/property.c > @@ -155,10 +155,10 @@ static bool acpi_nondev_subnode_ok(acpi_handle scope, > return acpi_nondev_subnode_data_ok(handle, link, list, parent); > } > > -static int acpi_add_nondev_subnodes(acpi_handle scope, > - const union acpi_object *links, > - struct list_head *list, > - struct fwnode_handle *parent) > +static bool acpi_add_nondev_subnodes(acpi_handle scope, > + const union acpi_object *links, > + struct list_head *list, > + struct fwnode_handle *parent) > { > bool ret = false; > int i; > -- > 2.30.2 > -- With Best Regards, Andy Shevchenko