Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp920335pxj; Fri, 21 May 2021 02:11:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5fkrKSHwflNA8cBTOCwaxlJ/DIkDR/KIcJDvMp33F/CMSefLpYitsdlbUwUwsKPRHW4WC X-Received: by 2002:a05:6402:50b:: with SMTP id m11mr10399581edv.367.1621588271984; Fri, 21 May 2021 02:11:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621588271; cv=none; d=google.com; s=arc-20160816; b=FgNBkxUl8wdgKEVtBjOkfg5dRzVc0yobeadwLryy/6c8x8jwaQakR4RP3boPsze9Pc ow4LhZ36ZnydtWcl6F63Fn1oCwfEWKXxja2+MmMbpMhX6+PZyUPprogwA0L4L2duekLZ ybRPHMc8sgToyCgSbDUf1/oF9TjdpAxjNL55BUL3n82awL94UdDAUyj1yIo8zTih64gL YaxRqmq0+uVNYH1CuNfKoEw93VWY3OQTA+52AX5DdV42RZlxJYLRGKF4z+kFoe2JiFBR UFwlFbzf3nC79HLuNXw7yDUJz7gFKtlAbFsjtA2FT8Gs10kphLHYyruXzRexl3i53OBu 2a3g== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=IGDQQDiI7HZiXlue7+J3IsI7T4KJlFOevj7dwPwUejc=; b=usND4GBPcpLHGkieJ+Z2sbS+0SL34yQ0eZjESwjxhQ7MVrNHC0CdLekwordLBCI9eY nNOcmtRuvPd6yWFu+i8HlSCIFxi114JPGM2gkmiZY8udWvVm5rfiOpvg8GXi1aGgmM/+ GZ9DjXOJoKjK8A0UKP5ILRlOEk5DQJXi+4pQcQb7qICt5aFXw7Z3kp3ujxiBW+NUXhOb dHn8344Jh9cowmGQLCMwzoBFljdxHV3ga9y7BH0LOQBQS2TxGNZNR6edbWUDSW/+4UY4 ChN9JI44cJvAvqjYQ2fF41pyfduNKC5NRSINDUq+ufdEV6GjEoli6Dmkr0ahEzGphkn2 vRIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bT7Qhuof; 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 hp6si6274638ejc.243.2021.05.21.02.10.49; Fri, 21 May 2021 02:11:11 -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=bT7Qhuof; 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 S237963AbhEUB6i (ORCPT + 99 others); Thu, 20 May 2021 21:58:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:38842 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237361AbhEUB6h (ORCPT ); Thu, 20 May 2021 21:58:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 67D6B61363; Fri, 21 May 2021 01:57:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621562235; bh=Y4sLWiCzmZggrB+DEXmTmjrF0Kc7khKDtRYj72Uoeqw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bT7QhuofxtHbsF5GzqdcOeUo7Ce9mBCbXSyj24ijq9OMyTHIVBSSRNZAShFQxCGYf qz22D7ADPC+AxZhB4zbHZqZLUq95Fl4xNrLiDaQFJE5lmuSr6LsqpTlM1FhH9c5Agt /0bGAaxfgBn8oS/eksHmJgAiabwDAhfo2scRNdbzy7k6ZEaS4PISO+jc5FmtkbZRdD BYzDXWcMMh0Mdt2EsVLQzZB+9PL6cEyJoPDlbGKvsvRudrOkWauNg8xa5ZoUYs//f+ TwN5Pu2LpR66EGKm539QBCvpG6SG8h3inFC7h7KTktoRY6MVS4HI5ng1xSp3/nVCsI /vsDuOFvc8RLw== Date: Fri, 21 May 2021 09:57:01 +0800 From: Gao Xiang To: Chao Yu Cc: Gao Xiang , Dan Carpenter , Wei Yongjun , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Hulk Robot , linux-erofs@lists.ozlabs.org Subject: Re: [PATCH -next] erofs: fix error return code in erofs_read_superblock() Message-ID: <20210521015700.GA5725@hsiangkao-HP-ZHAN-66-Pro-G1> References: <20210519141657.3062715-1-weiyongjun1@huawei.com> <20210520053226.GB1955@kadam> <20210520084023.GA5720@hsiangkao-HP-ZHAN-66-Pro-G1> <9f96b12f-b05b-c118-4391-448f780702ff@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <9f96b12f-b05b-c118-4391-448f780702ff@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 21, 2021 at 09:14:58AM +0800, Chao Yu wrote: > On 2021/5/20 16:40, Gao Xiang wrote: > > Hi Yongjun and Dan, > > > > On Thu, May 20, 2021 at 08:32:26AM +0300, Dan Carpenter wrote: > > > On Wed, May 19, 2021 at 02:16:57PM +0000, Wei Yongjun wrote: > > > > 'ret' will be overwritten to 0 if erofs_sb_has_sb_chksum() return true, > > > > thus 0 will return in some error handling cases. Fix to return negative > > > > error code -EINVAL instead of 0. > > > > > > > > Reported-by: Hulk Robot > > > > Signed-off-by: Wei Yongjun > > > > > > You need to add Fixes tags to bug fix patches and you need to ensure > > > that the authors of the Fixes commit are CC'd so they can review your > > > fix. get_maintainer.pl will add the author automatically, but normally > > > I like to put them in the To header to make sure they see it. > > > > > > Fixes: b858a4844cfb ("erofs: support superblock checksum") > > > > The commit and the tag look good to me (sorry for a bit delay on this), > > > > Fixes: b858a4844cfb ("erofs: support superblock checksum") > > Cc: stable # 5.5+ > > Reviewed-by: Gao Xiang > > Reviewed-by: Chao Yu Thanks Chao, will add soon. :) > > Thanks, > > > > > (will apply to dev-test for a while and then to -next.) > > > > Thanks, > > Gao Xiang > > > > . > >