Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3413700rwa; Tue, 23 Aug 2022 04:29:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR5D+D0Uu3K/e5JwXyWJ7ozl6eIEQqGrlIP/RLv1x1PcPVLywoIO+/sJcwVDKVTqswEl2NsA X-Received: by 2002:a17:902:f550:b0:173:c1:690e with SMTP id h16-20020a170902f55000b0017300c1690emr2504300plf.77.1661254196991; Tue, 23 Aug 2022 04:29:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661254196; cv=none; d=google.com; s=arc-20160816; b=ev15azu+/3MytPTZttH2gNzP0R0gVqkLLdv4K13aUP2k2O8bvwst1KpmhddGF3aoVC woJ/zlfb/5O2wlfdLLAMm1epTS0ZhIwUr2TDaRPcUEw9ZllXTbV6eZkjZsEQIMLtLXVp AdArrqag3O1dwItIhyIA0mAyNbR//swTynI9QfQW95252pk2mwc9oCifNF3q7Z0phTqo jEF5XqX9dH9GC+MtAqdHiPpXWB28jMeEo06jD/F4m3gg4RAo8igibrkMMIjAauXPz/pP 3hbqdO6FRA/lpraJW91t6puJZAAu6txbAjWmYd1OKpk2xuj5y7Mn4zaNKk5ZETQWG74w s08A== 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=WRAsaCM8jAj6iUwHs+EH3Ir9HX7X9Oh7Tu8cpsCCkVQ=; b=YVWjeqUbdmqn5SyX2CON88ubWLPk8jUCuR/ceIUh2DQvgwnalBJGaNdjlIL9fg3+Fp CEmXXT2IRhCqkk2kPD7io5Xym5zL0e6PBOK9eqYSvhkNUn4cZ2OOnshngvgQx8gZmqpZ K4kCbYEKkGBUoCZpjjL0k+eUh6AVIhsikb1u18geLxxVD+hdIxW9VOg84Oamccp3nFuP IxBiT66VBUaXPDPSzEf96Rrueyr4tfUsHK8VchCH01Qci3glwaW+DR8mfETTwzyqhTr8 HzM8iaJxMKgH2PW/6C0pVxSQrlgoLdTOPiip8j5G3UTYF+OQlHT6htJnSA7E2QcFtTBX I8ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="ibzkYG/K"; 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 o16-20020a170902d4d000b00170a752cae8si13189374plg.115.2022.08.23.04.29.45; Tue, 23 Aug 2022 04:29:56 -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="ibzkYG/K"; 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 S242511AbiHWJxx (ORCPT + 99 others); Tue, 23 Aug 2022 05:53:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352171AbiHWJvV (ORCPT ); Tue, 23 Aug 2022 05:51:21 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 868A29E2C6; Tue, 23 Aug 2022 01:45:40 -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 ams.source.kernel.org (Postfix) with ESMTPS id EF74AB81C4A; Tue, 23 Aug 2022 08:45:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E72DC433D7; Tue, 23 Aug 2022 08:45:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661244338; bh=sZA4j3WfRODB02016YMFjVMHgF4nnVisj24HWC5yEA8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ibzkYG/KtSTy9lrVBF5m5TZjOgURUAW0n+Ed2rGVbkwNY4sfp2WBaJtJv2hAfDmVC nYgsHQwxd7zNeRLWq6QksUStVkamPCyTos21834e8srQWVO+R84XxeR/cE3vnBHi8Z LIM8ZZhgFywz9y6/Eqx+gBxMJn1gcFunG+Es1D+4= 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 5.15 075/244] ACPI: property: Return type of acpi_add_nondev_subnodes() should be bool Date: Tue, 23 Aug 2022 10:23:54 +0200 Message-Id: <20220823080101.560162672@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080059.091088642@linuxfoundation.org> References: <20220823080059.091088642@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 @@ -155,10 +155,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;