Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3472358rwa; Tue, 23 Aug 2022 05:27:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR5p/bvBv/q/O4ho02ZQpwDmx7sjVkPazZEtGilv3nNrWb7CcSIvYDpH+X4FNlzluWaOFkcJ X-Received: by 2002:a17:90b:4ad2:b0:1fa:f9d3:df64 with SMTP id mh18-20020a17090b4ad200b001faf9d3df64mr3021544pjb.19.1661257621084; Tue, 23 Aug 2022 05:27:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661257621; cv=none; d=google.com; s=arc-20160816; b=WVj5/uycj2LkFhHRF07ZvfVvgW1TP/lgSvvtRDMDb8talVF/iOrJ0HCjSszpe4x7A6 k7H8slzZ6WVbjm7XyCdWYy79tvYE7C0wqX9RiTRbAGq15XqhLemeztRQGFzleUycALkF RIABr9HKrb+OiJWMBv7u0R1zg7IP4JBlrAzRIO4HL1QT89z3HHffZQvYODG9AZKJZQ5R 50a5HTX8pzDgYRxfJj75SbBDCxAV7H/RlvcI1b+wdZRlDf0nBpjZpqb3+5MV49/C1nAm xG8XkqQoJjTbStCVZ1PYmrsSugEi4up/R2aJLbLZQDO4b4Ew6arS4tZxYr9dLCV74Oy/ imjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=hn/FLk71kwb5Xt0maKQmT5kjc5nmkbkX1pHiUtXrbl4=; b=RPHqXu4gg/3UR2UIkrUcW37qEp15f+yzfsjVDyLH8bh4f5USdcj+D4g3dSR3OFaXL8 9yh+VmDO5XgvrrQjh4IvCwCAHf/JPgN72tCVyNrL6yytdnkebHT8iHHsDS0MK4nnrngi HlmMNTM26G3ixdvPRy57KXRwTnJoFFUTftO0JMz038HbbgWlD/au/ojH1xw632GoC0ph +cJh+ou+bQKtQgU6GdVSxDxXu3HuvV9JJ16rcNqeZU1vmD8LCxs+R6J6KJThl7ALZhOW 8PIsZTBi1/Agz9oDkaMrLBfxAgo10/wCg2VOT74zIDwyXroPsbMP7CEowA3ZIvZn/G1D JH3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NAtISwrF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o136-20020a62cd8e000000b005362ac517e3si11177590pfg.60.2022.08.23.05.26.50; Tue, 23 Aug 2022 05:27:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NAtISwrF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356637AbiHWKza (ORCPT + 99 others); Tue, 23 Aug 2022 06:55:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356045AbiHWKs6 (ORCPT ); Tue, 23 Aug 2022 06:48:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9520AAB074; Tue, 23 Aug 2022 02:12:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2D6ED60F4B; Tue, 23 Aug 2022 09:12:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2479CC433D7; Tue, 23 Aug 2022 09:12:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661245938; bh=HOXCiQRCue+WqyhD977c9T+bU9sdz6fgKX43vY6tDYk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NAtISwrFtRGJ7MpaVEaPAILIeIqqgwvh7y/v3S8sYGRcehwQVhJkGTEo+wtMBb1E9 EnzgQbthrtLEYN6op6XCdMXVZ/KDgMvps19lOnW5LT5J6MEjXegNzhrCa+F+XdmkpA QShiMlvqXZJaZZXGhc9v/jLGpMIxX7ZraUGvNs9A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sakari Ailus , Andy Shevchenko , "Rafael J. Wysocki" Subject: [PATCH 4.19 236/287] ACPI: property: Return type of acpi_add_nondev_subnodes() should be bool Date: Tue, 23 Aug 2022 10:26:45 +0200 Message-Id: <20220823080108.993459598@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080100.268827165@linuxfoundation.org> References: <20220823080100.268827165@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sakari Ailus commit 85140ef275f577f64e8a2c5789447222dfc14fc4 upstream. The value acpi_add_nondev_subnodes() returns is bool so change the return type of the function to match that. Fixes: 445b0eb058f5 ("ACPI / property: Add support for data-only subnodes") Signed-off-by: Sakari Ailus Reviewed-by: Andy Shevchenko Signed-off-by: Rafael J. Wysocki Signed-off-by: Greg Kroah-Hartman --- drivers/acpi/property.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/drivers/acpi/property.c +++ b/drivers/acpi/property.c @@ -132,10 +132,10 @@ static bool acpi_nondev_subnode_ok(acpi_ 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;