Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3353201rwa; Tue, 23 Aug 2022 03:25:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR4DGrX8l5wISTw2Gk6jxZsCjzDPAba2xqKzoR+6+N8LRyhr0BkrIQpJDeOJzvARCPRHiRb4 X-Received: by 2002:a05:6402:2788:b0:447:3383:7a35 with SMTP id b8-20020a056402278800b0044733837a35mr330872ede.23.1661250306169; Tue, 23 Aug 2022 03:25:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661250306; cv=none; d=google.com; s=arc-20160816; b=I81rL6JyDOouE1mjuKj0kTf63mzpHh7WXMGR0IHtvvogKUKc168LddjQ8cgyKGSBNP ZizSFxKZfbC7/FBzKSVwa2v/LZJUcEMbUiwGlQ6uslkRj6PynHlTVxNapaEay3FTOruB XZ7MpYVIUMxD2fTd8IA4aw6DK+BTSGP89yaLaBWmkL0i6NEGnlRfRWEkECxev5jA/GSy X7FrTuvs80KImckheqwKq01KFLgl2dMk67urrDvVPSkUd6x07JaPhQsl8Ad1ptCSpYAu wWCLlbpPWssJJiKUuCeqEe6ih4hMHOtxulzHItMzmaQY1+xIr9Hsq6wFXPq9vSiimrLo if6g== 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=YnlPWfdtd/p1xy+YP4TxWda7ELTzUQbNfw9Et3fwWBGUo/B2rgBqyjGB0MxJw/ivLa nNlrhTt6bYtpQrdgVJjldRELEuwA4AXwiIZv1+qqHjqrOKKOfrYLMg9sOUPOtj+SlwGx M2yKcEidj7ZGZupi/QiE7VQyBEJXQD1hu2ygh1j0lGX8H31J/1oaXZ9KpSxU1enrCcqV 7WIWBa1tZcC6uVFd0YOGKUxzttU1U5qAnXP9rBKocwy5/qvBkxNfog4cI2eadLc9BSt0 SPz8kt0EBzQh9zoL1jqxLhn+sYQ3meyTIHbaqG0nv09TNNKrd/yMMV2Nh5JExFyJQJ6e gcXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=iAs6Pntl; 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 24-20020a508758000000b0043bd77de21esi1608070edv.51.2022.08.23.03.24.40; Tue, 23 Aug 2022 03:25:06 -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=iAs6Pntl; 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 S1354280AbiHWKVH (ORCPT + 99 others); Tue, 23 Aug 2022 06:21:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352912AbiHWKJd (ORCPT ); Tue, 23 Aug 2022 06:09:33 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 464DE6B65A; Tue, 23 Aug 2022 01:55:27 -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 03BF2B81C28; Tue, 23 Aug 2022 08:55:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7A07C433C1; Tue, 23 Aug 2022 08:55:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661244924; bh=HOXCiQRCue+WqyhD977c9T+bU9sdz6fgKX43vY6tDYk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iAs6PntlpGWwH7/UEl6nPjniqxps2CXEASynQkM1niMdcs8mvxg2Km3vZ3H5iNYKV MaoKe6zw0bLTkxP9LWI67J8KuKHfsEs/cVV24IbTgUfe+QbcpIu0j4nrGSaH3Mgwpt 6MSFAuMcJJf1Y3vyAeEx0f2s1rVz5Yhc811GQq6I= 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.14 190/229] ACPI: property: Return type of acpi_add_nondev_subnodes() should be bool Date: Tue, 23 Aug 2022 10:25:51 +0200 Message-Id: <20220823080100.397245393@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080053.202747790@linuxfoundation.org> References: <20220823080053.202747790@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;