Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1295628iog; Tue, 14 Jun 2022 03:19:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw382Sr2L7w0D0nXzTcO07ElySd/v53xWCn3r0rUNzEWb/kxy3qsFw3yBBcN5ORBkCSbPQA X-Received: by 2002:a17:907:2d86:b0:711:da8b:b579 with SMTP id gt6-20020a1709072d8600b00711da8bb579mr3534603ejc.67.1655201972766; Tue, 14 Jun 2022 03:19:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655201972; cv=none; d=google.com; s=arc-20160816; b=h61UQdgOBMYEtDn09go0kSAnFCIDDCZ0zen850xmd2TQ8IHDQxmUS1uVGMPD3+Xnsn 0GBnB3wI6nnT+sLcUwjiAfcG6x74DLVWr+EeNAv3AuxJvmGuExBpDYvJJT95x4JT1DsM IOubAeoSfVZ0sxObNoZxm/5D3cGV+pHCFo+2odpP68U/uhmNxLckH1EeCwbjEkdyHzTq 0996h878A95JdIsPYxO5wgF7htsGan/BTcbPPf1HMnmwqXH1e/qSX5CHRoYPJDU8Q0ek kMHBrgNLF5zgPF6dvBnx/sUCt7zBQj+vDHzKgk0r9dTeKiCsvOjQ59/pfG5bvID4toEs m1DQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=tf7oejfnAETdCG+y0zWvmudoGm+bf5qbgHbzaJNEwUg=; b=Xna92FJzM2jPy8Il6HqwZQmQocruXLG97VD0IxQI71lGr4s4olzOJDBI1JJYugQ6Ng dRYa5EkNzRbw2tXeoiY6AgczxClWEXIC+pFIOIreq1DIJGXk0LxlbnTAB72a6K8uzJbq xGovyFElQ8uCB9hYee4n1/Z3styOH+4JyiVGDpu/lV4NcD1cvxIVABwBy39Onkhw10Q6 4uC2KsHUARWEQeJnJT3MTwFGPe4RMHDAVqvZ6JiD1qB+s2EtqqY5GhCSGKpQxc1lfbTJ AAyj7+WVZOfgZJn/etOTwVk3U3ToQ+px2/Rkb/T66OU9+miXxGdIJYEqLOySWJ94kQLv sSYg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs19-20020a170906dc9300b00715854c2765si8848730ejc.757.2022.06.14.03.19.06; Tue, 14 Jun 2022 03:19:32 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351936AbiFNKQu (ORCPT + 99 others); Tue, 14 Jun 2022 06:16:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351911AbiFNKQj (ORCPT ); Tue, 14 Jun 2022 06:16:39 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B2AFD46CBB for ; Tue, 14 Jun 2022 03:16:37 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8D94A23A; Tue, 14 Jun 2022 03:16:37 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 86A7E3F792; Tue, 14 Jun 2022 03:16:36 -0700 (PDT) From: Sudeep Holla To: =?UTF-8?q?Ludvig=20P=C3=A4rsson?= Cc: Sudeep Holla , linux-kernel@vger.kernel.org, Cristian Marussi , linux-arm-kernel@lists.infradead.org, kernel@axis.com Subject: Re: [PATCH] firmware: arm_scmi: Fix incorrect error propagation Date: Tue, 14 Jun 2022 11:16:34 +0100 Message-Id: <165520087950.1030128.11353401621920544992.b4-ty@arm.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220610140055.31491-1-ludvig.parsson@axis.com> References: <20220610140055.31491-1-ludvig.parsson@axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,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 On Fri, 10 Jun 2022 16:00:55 +0200, Ludvig Pärsson wrote: > scmi_voltage_descriptors_get() will incorrecly return an > error code if the last iteration of the for loop that > retrieves the descriptors is skipped due to an error. > Skipping an iteration in the loop is not an error, but > the `ret` value from the last iteration will be > propagated when the function returns. > > [...] Applied to sudeep.holla/linux (for-next/scmi), thanks! [1/1] firmware: arm_scmi: Fix incorrect error propagation https://git.kernel.org/sudeep.holla/c/44dbdf3bb3 -- Regards, Sudeep