Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1462957rwb; Thu, 8 Dec 2022 10:58:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf7BC7R0HbVEgVvpNDdiuaJDhFatgqAuH6ukVrdRY/qiky5oI+35mHd1J4ZpebDuw4VT2Jly X-Received: by 2002:a17:90a:5298:b0:217:e054:9ac8 with SMTP id w24-20020a17090a529800b00217e0549ac8mr110425500pjh.246.1670525914672; Thu, 08 Dec 2022 10:58:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670525914; cv=none; d=google.com; s=arc-20160816; b=EXAoIXLVJ4qx3rEEITt1/+mxQb32B0DqQEwvtVVexRjbh08cDEHV0FVxnNG+xb552t wPOR7ejg4Ad2W+fd1t3aidtxY0mvNpR3AwQRbBAXvslCJ5yGSSjKL8OYJbukEZmrFBCc vH6Y3780jyfO5XgKhGYfnuSj204Dh1m2riTTgqVeOO/rO+Kz+ZCcPbIWyEfEostPHpdz Tg6H1pCM90hujyXrXJSE9zEyB8vtWv2SN4QesUQBhbF6jO1/+Wmt8GwGXotCS2kxH9XC x9eQ7FgRvRUsdADsuXc1YZB7V6eD28aA7e/HyKmSE5okL8B8sQH4OJLRiHmVQ/4gyzVv n5aQ== 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:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=9C0HDFjHc10GpGgdazj6pBqx03xYWYuJACXgqvC6t9Q=; b=gRL28z24U3NrO2Zf+N/SwOnTkKWn1JJ8CUTJMjSgLmOerb9spBw8NDM08AFlKcekoC n3W/BVl2uUgkBK+WYbC2EnqsBU5FIg1UNwdyypXsT2xcArmPzThiWcV+tCyK61jMtziA CbcBwBw8kcqlJcRbh/WZk4Qce4Fydd6cfyFSNSx8zYCDMnPwLJkWRhc9VrZCexEFSu1N T0rv/hQfqICyg18mAC/HhJbY6NUmJdT1UUoQdhgHPI8TKS3Ivqxu/lqDHM75UEU0h6gL Mjlt3vIeYUbn3KpXR0mIeGikF5OwLtiJRCv4uLtoNmfIJMaJTeZLwe0ckHEor2/i/f70 2DqA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x12-20020a056a00188c00b005750d19295esi19339553pfh.369.2022.12.08.10.58.26; Thu, 08 Dec 2022 10:58:34 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229941AbiLHScG (ORCPT + 72 others); Thu, 8 Dec 2022 13:32:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229912AbiLHSb2 (ORCPT ); Thu, 8 Dec 2022 13:31:28 -0500 Received: from smtp.smtpout.orange.fr (smtp-22.smtpout.orange.fr [80.12.242.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 832A1AE4E6 for ; Thu, 8 Dec 2022 10:31:13 -0800 (PST) Received: from [192.168.1.18] ([86.243.100.34]) by smtp.orange.fr with ESMTPA id 3LfhpT2ds1uKA3Lfhpfwkn; Thu, 08 Dec 2022 19:31:02 +0100 X-ME-Helo: [192.168.1.18] X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Thu, 08 Dec 2022 19:31:02 +0100 X-ME-IP: 86.243.100.34 Message-ID: Date: Thu, 8 Dec 2022 19:31:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH 1/2] mfd: qcom_rpm: Fix an error handling path in qcom_rpm_probe() To: Lee Jones Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Lee Jones , linux-arm-msm@vger.kernel.org References: Content-Language: fr, en-US From: Christophe JAILLET In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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 Le 08/12/2022 à 13:30, Lee Jones a écrit : > On Sun, 20 Nov 2022, Christophe JAILLET wrote: > >> If an error occurs after the clk_prepare_enable() call, a corresponding >> clk_disable_unprepare() should be called. >> >> Simplify code and switch to devm_clk_get_enabled() to fix it. >> >> Fixes: 3526403353c2 ("mfd: qcom_rpm: Handle message RAM clock") >> Signed-off-by: Christophe JAILLET >> --- >> This changes the order of the clean-ups if the .remove() function is called >> but it looks fine to me. >> --- >> drivers/mfd/qcom_rpm.c | 4 +--- >> 1 file changed, 1 insertion(+), 3 deletions(-) > > Something funny going on here. > > I received 3 identical versions of the same patch. > Yes, was my fault. Sorry for the inconvenience. CJ