Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3906324pxj; Tue, 11 May 2021 14:49:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9ndLB8OJCxcoHAj+MjAH4XHGQCu9aoP2LThhghn0V/efccisb6Fy3O8gK+LlEg7xvhIVX X-Received: by 2002:a17:906:d7b1:: with SMTP id pk17mr33343438ejb.294.1620769745245; Tue, 11 May 2021 14:49:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620769745; cv=none; d=google.com; s=arc-20160816; b=MUfovN5J1CnVeLHRa/MJ14/ek1OhwbhWyk8Ecef6PWa/3QTivb8VV6BjJNk2FjeFB7 t1F/8rfDlagBznuljzlHUC5x84BpvSfCMbhOz72jPVvDLnMfV4nx/i8QeSCi3JK/GIq+ BTyqbpk5CvgP4d7geh98Zt/Sqi8vsWj107yJxNZ6Kgr6/w25sabw8WpVN6wFKt3NPcqu Ij5jvCe5aNjws3XqDh4iKEcONQv0yxw41yI1SIEBLnbqTUQKtvBhocsUjdTRBRzLP2rP GtIJ/iUGyFK5cjPHzN0RwAO38BzBdByF6aYk8yGlrcc3GJUPQxhRVFsvHFMue+9N5m1N TsTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jaEpEYUhm8cmPxAiRoMO3lVkTVz03Ul6/ZhsvB+sgFs=; b=AEC5i1Nw/RV+m37HxbhmnYgoZ+3Os73mx4t1xiiSFWB2tDtv0kaPtw/wGIl5Q/SqdG q6wqB4OsOc5Xc8MuaeoZ5mAHbmPE3K+AKLdaNXCuv9TyRO1QBaMrKvh/roVSji66hI+n BluRwiioh7xmXEvjsG+QFhbdLfi4TrzRTa/vLsGCHUi3WCwvEMOSqTSlRiyCMZ910AmX AC5izo4q0ersEgFcmDS7n2sz7m33LmPI+78XnKqdeMhraF+yFSxN5FQnRieM7FSiG5nq yP2pB8rekrs5jekKhYDZ8wn2hzrBP+npYkzi6rNoaqCVRuuajKmzS9BRr67HzVp3sz1I c8PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d1ikvOxt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q6si16497347ejn.673.2021.05.11.14.48.41; Tue, 11 May 2021 14:49:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d1ikvOxt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229994AbhEKVr5 (ORCPT + 99 others); Tue, 11 May 2021 17:47:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:55044 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229954AbhEKVr4 (ORCPT ); Tue, 11 May 2021 17:47:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C8E3461628; Tue, 11 May 2021 21:46:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620769609; bh=yQ5/e8IUju67X6+70qV5Ek399SBWebFRuJc27jgg3as=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=d1ikvOxt3Ug+YIjZgxvz/wNXfZwzjxatli9+qeX6baqqRqjxx/3WDMn6kYRY/rvg/ 8httbkC9/PJN8FuuTgZf6ICCwdBwDfje9SVhtfsxv8/trfxxpurcyf6KQTAquz4l9Z 8591X4jt8KsrV4Bi4uhGzzOMBHzlii3qLFf160axu4UAykhj7XxZ7KowrHV7g/ubuo 5Wrfvi1IXnD+eZ9HhjaiEx6XsGCmgWM3EOf4DXUNoz1tOI5xwtEPZdaxFnG1+R9Lg8 RwKCBRUG9rBbYPQJ/Qm0Nb+9dHnTpqZrT6z7XmfNnhBpF76mE9pcnCJSs0Kxb9tMJZ mfeAgjsEpPK7A== Received: by pali.im (Postfix) id 0094A9DD; Tue, 11 May 2021 23:46:46 +0200 (CEST) Date: Tue, 11 May 2021 23:46:46 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Andrew Lunn Cc: Marek =?utf-8?B?QmVow7pu?= , Gregory CLEMENT , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 mvebu + mvebu/dt64 1/6] firmware: turris-mox-rwtm: fix reply status decoding function Message-ID: <20210511214646.qifskipplwmjvqex@pali> References: <20210308153703.23097-1-kabel@kernel.org> <20210429083636.22560-1-pali@kernel.org> <20210505180433.550178c8@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 05 May 2021 18:20:46 Andrew Lunn wrote: > On Wed, May 05, 2021 at 06:04:33PM +0200, Marek Behún wrote: > > On Mon, 3 May 2021 14:22:49 +0200 > > Andrew Lunn wrote: > > > > > On Thu, Apr 29, 2021 at 10:36:31AM +0200, Pali Rohár wrote: > > > > From: Marek Behún > > > > > > > > The status decoding function mox_get_status() currently contains a dead > > > > code path: if the error status is not MBOX_STS_SUCCESS, it always > > > > returns -EIO, so the comparison to MBOX_STS_FAIL is never executed and > > > > we don't get the actual error code sent by the firmware. > > > > > > > > Fix this. > > > > > > > > Signed-off-by: Marek Behún > > > > Fixes: 389711b37493 ("firmware: Add Turris Mox rWTM firmware driver") > > > > > > You have put a fixes tag here, meaning you want it in stable? How does > > > dead code elimination fulfil the stable requirements? > > > > > > Do any of these changes contain real fixes? > > > > > > Andrew > > > > Andrew, this is not dead code elimination. > > Please word you commit message differently. > > The status decoding function mox_get_status() currently contains an > incorrect check: ... > > Andrew Andrew, Marek has already updated commit message and I have sent a new version v3 of this patch series with this update. It is OK now?