Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1301967pxj; Fri, 21 May 2021 10:48:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgsekq0qHB7sCJ4lZwhQMjEqjL57mYTOHSO30U8JW5WO4R/CFvVnuKGLCC9TAzuc4Ug+r4 X-Received: by 2002:a05:6402:2207:: with SMTP id cq7mr12223627edb.216.1621619295514; Fri, 21 May 2021 10:48:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621619295; cv=none; d=google.com; s=arc-20160816; b=JhzRCL5z8H9Allo8zf726L9Ywn8zXtvHL5gPNJcFnxv7udj2Qh07j1valLmed0tz4S 8nlotjEsAYnhPPTmhFXc09giCpUZVG5kSIQpIJNiwcwphj7RY5TnIJSg4QZhfJsOIGsF pubuPkfE9kwb1sdCI07NpyOGgNX8SovzBf3HdVVMjT6UPEOKd4hX0elkD37S6LMyPSAn Nmzvc3ySjqpVji9F+x2C9Dtm11iY5bIXnsNXl/TsHmW18e/S58SFpiDFZowgAqrkUmeE Oxji4HPS4jmuBhHkyMIgj48gfB8ljVJEvfo+117PVuCrsnXkGRiCuiaGAH9pa3ajjrlK iGGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=nL4TPPGbJgn/T2QSKZvXttmtkX+WvU3k6BxtduuWdio=; b=Zf6ZdEuMrVR2YO74F5aTCYIpJSh4oo4lOYjS80nVRI6SSF0ZqZvKJ5L73hKsLGqQzK cwLt1Wvej2Ej/HLmqZ5ORoaxMMbVHT10FwFPJ+N4SMOj4Ufe2z8mhMcXWKI0KmQ10PCw uR8QM9gqZYDVJxzg7d+0TqAhv1NDJ+sQQ7913C2bevL7zan4aiDLDTMUSr0LJYgSDCCN IUtDZ/QxQ7an7+TD2+l9Od30mcZrF6i9PGN07hav79NlGk+TmEi77Q+LMZgUOkGqKhJr h2ncbgfJ5HIIeMk3yy5+htc8UvERRcxr36+lNi7pBmHiCUa/uWJd0ACOzkIacSc/fk98 rtNw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a3si3553903ejd.575.2021.05.21.10.47.52; Fri, 21 May 2021 10:48:15 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236490AbhEUBQY (ORCPT + 99 others); Thu, 20 May 2021 21:16:24 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:3635 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236106AbhEUBQX (ORCPT ); Thu, 20 May 2021 21:16:23 -0400 Received: from dggems701-chm.china.huawei.com (unknown [172.30.72.59]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4FmT9k1rJDzmWpV; Fri, 21 May 2021 09:12:42 +0800 (CST) Received: from dggemx753-chm.china.huawei.com (10.0.44.37) by dggems701-chm.china.huawei.com (10.3.19.178) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Fri, 21 May 2021 09:14:59 +0800 Received: from [10.136.110.154] (10.136.110.154) by dggemx753-chm.china.huawei.com (10.0.44.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 21 May 2021 09:14:58 +0800 Subject: Re: [PATCH -next] erofs: fix error return code in erofs_read_superblock() To: Gao Xiang , Dan Carpenter , Wei Yongjun CC: , , "Hulk Robot" , References: <20210519141657.3062715-1-weiyongjun1@huawei.com> <20210520053226.GB1955@kadam> <20210520084023.GA5720@hsiangkao-HP-ZHAN-66-Pro-G1> From: Chao Yu Message-ID: <9f96b12f-b05b-c118-4391-448f780702ff@huawei.com> Date: Fri, 21 May 2021 09:14:58 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20210520084023.GA5720@hsiangkao-HP-ZHAN-66-Pro-G1> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.136.110.154] X-ClientProxiedBy: dggemx704-chm.china.huawei.com (10.1.199.51) To dggemx753-chm.china.huawei.com (10.0.44.37) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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, > > (will apply to dev-test for a while and then to -next.) > > Thanks, > Gao Xiang > > . >