Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2279661rdb; Sun, 3 Dec 2023 09:46:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IFj5cxlKY2T0b3qbErkAu8Ga71pTU1N3rKlNRqyLqoKb5QWREwrdqFw1RhE0IXrE/7tLa2h X-Received: by 2002:a17:902:b193:b0:1d0:9027:de9b with SMTP id s19-20020a170902b19300b001d09027de9bmr385398plr.6.1701625618191; Sun, 03 Dec 2023 09:46:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701625618; cv=none; d=google.com; s=arc-20160816; b=NP+/fOWT3ZzWUKJo3nQAB+S6zBbUk/UMjMLUxYiUdY755byBLoAFbu3P5ZsTMmvJ7g PuC9fJdbbxgQC45I8/zoniX/JuejA7qg7FMsYRS6V3Y8NXI1brT3cRlfx+jSFX36DR/J uTg4JWx+bHxxKeiaEu6OFHRzWuMQOU2fqyrRwyQvcqKnIUa7UPLcUwRPxmvCruBSIj6r X9m76hyy/DuT7c2wkv5/gBsvV2iixjps+dzDgxwHajpboyVV5qnBTRUqJ5t44UaC5ix+ d/VVIJ4D8GhxQMOsx4XRVASWeLlPzWu+bARcyTOdwUFWY0MVZqn9FaAG11Y5x7JJ9F0Q 1G4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:content-language:subject:references:cc:to:user-agent :mime-version:date:message-id:dkim-signature; bh=/0uABy5p+lD1/t8pLC8a1UTZg8b9mPTQ0FRBl/mwsVg=; fh=ZYLq5X2zbxgTeJYuKDeVZ0/gglIbfAu66JwBS5amt5Y=; b=1DjBseiws0tNQn/10e67wr/q2R7XVwwwjgNCfBcotGDLBDipEMDOn9A6FLTwLnjnai peP+ZcACEGu1XOULwrK0bOQAGY2RIeshsS50k+/UvkUuslqo/8WYP44vSVBOYUfUfsgb eTAxlWVlzmY3T8rLadFIOP7CvTQv8BS63ipG8oFGxszy3axef2tFo8rbfmjkcnqc9oYd PLF0lHFIrfois1/lFAgf+UW77/EVf6BI2GjvI3vWbPGbOAzcjdBwZOxGV+EE2yG3ztXM Yzih3iusYT6ANG9mJBMiokBUcG/06R36p9c2GmRAZxMCPNHVr7D0SoB2HJIJNhD8hB28 7OOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ixit.cz header.s=dkim header.b=o0iagnjm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=ixit.cz Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id d8-20020a170903230800b001cfd934bda1si2300892plh.232.2023.12.03.09.46.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Dec 2023 09:46:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@ixit.cz header.s=dkim header.b=o0iagnjm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=ixit.cz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id D461F807C85D; Sun, 3 Dec 2023 09:46:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233801AbjLCRqk (ORCPT + 99 others); Sun, 3 Dec 2023 12:46:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjLCRqj (ORCPT ); Sun, 3 Dec 2023 12:46:39 -0500 Received: from ixit.cz (ip-89-177-23-149.bb.vodafone.cz [89.177.23.149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8DC4EA; Sun, 3 Dec 2023 09:46:43 -0800 (PST) Received: from [10.0.0.200] (unknown [10.0.0.1]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ixit.cz (Postfix) with ESMTPSA id 52CF5161141; Sun, 3 Dec 2023 18:46:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ixit.cz; s=dkim; t=1701625600; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=/0uABy5p+lD1/t8pLC8a1UTZg8b9mPTQ0FRBl/mwsVg=; b=o0iagnjmhHvdCaV5lzHQSenVOcIWFHj+qxGESPGjVaXTkyQ8jIlqz7E4esWAU0vjB8YjBG TsMPTC7Lz4jIukDlq7SOfXyOjg0RKbR8zt1rC+6l5MqG0Ii7W0wQdIUhtZ/a6Np7P9DBR1 Fise9q5guGz3sFspXBh06L0jS+Ob9GA= Message-ID: <3a32ad33-5f0e-4166-a118-1bbbec9c68e0@ixit.cz> Date: Sun, 3 Dec 2023 18:46:40 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: luhongfei@vivo.com Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, opensource.kernel@vivo.com, stable@vger.kernel.org References: <20230612133452.47315-1-luhongfei@vivo.com> Subject: Re: [PATCH v3] soc: qcom: pmic: Fix resource leaks in a device_for_each_child_node() loop Content-Language: en-US From: David Heidelberg Autocrypt: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Z3QSr9LoJiOBZv9XkbhXS164iRB7rBZk6ZRVgCz3V6 hhhjkipYvpJ/fpjXNsVL8jvel1mYNf0a46T4QQDQx4KQj0zXJbC2fFikAtu1AULktF4iEXEI rSjFoqhd4euZ+QARAQABwsF8BBgBCAAmFiEE13oJz+7cK71TpwR0YAI/xNNJIHIFAl5v1x4C GwwFCQeEzgAACgkQYAI/xNNJIHJTZg/+NqA4kGauw0qAR1bm2VVaDJjajjJerDLr/uMEgBCo DXiDu0obZ3XwMDe2ohXxV4L875B7q/lzgWR/YrJNU3CkMFknPZl++gVhkBZ0xQhMs0HsIEgD TKgX3bKCIy7niHVMq6S8tYs2eTnK6NEQFWr2Vq6fAT8NjYMhaAbIMvZfz/hCkwzWD5QTejZi ulP6Cl4AVa4mun6FzMpHAcXk/NdSgWYO0f7AtW+KzIKKrcT2HcDBGM2OaPuEajHFX/1lyyRO LiGcgz9E/5WfzvaBrqWy6CdIzJWtGsOKWMyjry5227UOwqPTqIWAs10XgaYsevES0ljDDA0y wX/adCrlOaNQaBcB/bIKjrrsHg+5XnanET7PbB75cDmd0AT0DNeCs/AZXDn2O7gKmPq3GokU zCw7l/b5I49Zp1zybEwVy+TYC0e/d05geyjQN7e2i0RcElGaHQ+82iRIJD3cvDfrk4+HPzeE 8udw5/rKxFMHhti1wgtklyJBc64JK2vgB6xJz9Zc4WoNnifc8QjyhsQ7K0UI9jykBXrb1ZZO DYlcrAqh9Sx4vNTmdi6pJWSsrhDtfmDIw81GIW5pc0QpZPqGeKMi5xEU8se5fQ21DuE5LRKF Zd4Uq64igWvLAgHIcJHgNbc5BruuZm9p1+S5SfQGfnOYxJM1PkY/E32H52iV/Babj30= In-Reply-To: <20230612133452.47315-1-luhongfei@vivo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 03 Dec 2023 09:46:56 -0800 (PST) Heya! I think this would be great candidate for backport, at least up to 6.6. What do you think? David