Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2576981ybl; Thu, 29 Aug 2019 10:00:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzm5K96s80VrL2rNT4xZAfqFs6wjf6vzWv0+/qHh4v7P0wxzm2BbeYP13MihPVRL2S7+1hP X-Received: by 2002:a63:61cf:: with SMTP id v198mr9156576pgb.217.1567098047912; Thu, 29 Aug 2019 10:00:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567098047; cv=none; d=google.com; s=arc-20160816; b=TQwlPDT/YjuP24EcjI8GAi7cL9uSSVgR6miFVjz/Nr6MpdW2XLzMkWCBcOeXgI7dyk fjxyKS+tTMhqy7KzEvsJKMsgLOgJBgRluECcRP6jHRV6c/wcsfpHmvTyG9eD4CvDN/Ko JOraXU/qbMah/LgK1JcnTGT8NwIxvSirX2FcYwAZXxXrNyribGkpFm+2DeAkr8Kqn9cE TvtjDrANw9WpQej9HKwrawJ/us9TcQZHTf2kfzaCS4jjk/R5KFiXNwpGg3A8Gvwq/yJm oknHClCqrBlsVYVkbvyKXOARq5hCfZbcsJTBBo2Hqb6iFd6oQT94G9I/G8dfxI2xKXWx Gi5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=Eokqx6abG1IpdeQFJ/vzFE5VWHXRDeVg8oJLvHPOEDY=; b=FU+2uOdNGsR9Ny03tzJJd4K9WJgXv1AnVQkuijlKat1I0PozdgO7bKajwrUaHXeeTv X2U5sanCqHRnDuHjwq7TouBPKiaVnsheiK4ug31dG9uCjZEphkf5MtZZBPh4lHgkn6EA GpxcDMu4IIkiEZGgFNgDpt/X/2LvMg7ITenELh23nSBsO3NtWWqYObYjDdVvCjkdgCkA uhqle+Y4ntinf5pZ/HVBZErdhLuYU5cqycGcWI4x8u/+bsLfara16RL/48uyvwjM3Owf 9D+Dk755W0hGsuTMcF56CXkWDFQCOJysw7Qiq4qYtfsDk0VN/pRAP+8FnAlelN+ewmjm Ik8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a24si3135696pfi.205.2019.08.29.10.00.31; Thu, 29 Aug 2019 10:00:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727773AbfH2Q70 (ORCPT + 99 others); Thu, 29 Aug 2019 12:59:26 -0400 Received: from smtprelay0040.hostedemail.com ([216.40.44.40]:48847 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726893AbfH2Q70 (ORCPT ); Thu, 29 Aug 2019 12:59:26 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 6D17A182251B3; Thu, 29 Aug 2019 16:59:24 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::,RULES_HIT:41:355:379:599:800:960:967:968:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2198:2199:2393:2525:2553:2559:2563:2682:2685:2693:2828:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:5007:8603:9025:10004:10400:10848:11026:11232:11658:11914:12043:12296:12297:12438:12555:12663:12740:12760:12895:12986:13069:13161:13229:13311:13357:13439:14180:14181:14659:14721:21060:21080:21627:21939:30012:30054:30090:30091,0,RBL:23.242.196.136:@perches.com:.lbl8.mailshell.net-62.8.0.180 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:29,LUA_SUMMARY:none X-HE-Tag: pen83_8c14c4bdf600f X-Filterd-Recvd-Size: 3280 Received: from XPS-9350.home (cpe-23-242-196-136.socal.res.rr.com [23.242.196.136]) (Authenticated sender: joe@perches.com) by omf01.hostedemail.com (Postfix) with ESMTPA; Thu, 29 Aug 2019 16:59:22 +0000 (UTC) Message-ID: <74c4784319b40deabfbaea92468f7e3ef44f1c96.camel@perches.com> Subject: Re: [PATCH] staging: exfat: add exfat filesystem code to staging From: Joe Perches To: Gao Xiang , Dan Carpenter Cc: "devel@driverdev.osuosl.org" , Sasha Levin , Valdis =?UTF-8?Q?Kl=C4=93tnieks?= , Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" , Christoph Hellwig , "linux-fsdevel@vger.kernel.org" , OGAWA Hirofumi Date: Thu, 29 Aug 2019 09:59:21 -0700 In-Reply-To: <20190829164442.GA203852@architecture4> References: <20190828170022.GA7873@kroah.com> <20190829062340.GB3047@infradead.org> <20190829063955.GA30193@kroah.com> <20190829094136.GA28643@infradead.org> <20190829095019.GA13557@kroah.com> <20190829103749.GA13661@infradead.org> <20190829111810.GA23393@kroah.com> <20190829151144.GJ23584@kadam> <20190829152757.GA125003@architecture4> <20190829154346.GK23584@kadam> <20190829164442.GA203852@architecture4> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.32.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2019-08-30 at 00:44 +0800, Gao Xiang wrote: > Hi Dan, > > On Thu, Aug 29, 2019 at 11:43:46PM +0800, Dan Carpenter wrote: > > > p.s. There are 2947 (un)likely places in fs/ directory. > > > > I was complaining about you adding new pointless ones, not existing > > ones. The likely/unlikely annotations are supposed to be functional and > > not decorative. I explained this very clearly. > > > > Probably most of the annotations in fs/ are wrong but they are also > > harmless except for the slight messiness. However there are definitely > > some which are important so removing them all isn't a good idea. > > > > > If you like, I will delete them all. > > > > But for erofs, I don't think that any of the likely/unlikely calls have > > been thought about so I'm fine with removing all of them in one go. > > Anyway, I have removed them all in > https://lore.kernel.org/r/20190829163827.203274-1-gaoxiang25@huawei.com/ > > Does it look good to you? Unrelated bikeshed from a trivial look: There's a block there that looks like: diff --git a/fs/erofs/data.c b/fs/erofs/data.c [] @@ -70,7 +70,7 @@ struct page *__erofs_get_meta_page(struct super_block *sb, } err = bio_add_page(bio, page, PAGE_SIZE, 0); - if (unlikely(err != PAGE_SIZE)) { + if (err != PAGE_SIZE) { err = -EFAULT; goto err_out; } The initial assignment to err is odd as it's not actually an error value -E but a int size from a unsigned int len. Here the return is either 0 or PAGE_SIZE. This would be more legible to me as: if (bio_add_page(bio, page, PAGE_SIZE, 0) != PAGE_SIZE) { err = -EFAULT; goto err_out; }