Message ID | 20230914090457.32325-1-jiapeng.chong@linux.alibaba.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp217976vqi; Thu, 14 Sep 2023 02:20:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHt+HlvCKoCtLHUYJG8Qs0ocZsj0bTcsqEgk4LGA7Hc84WBJELgyItM8HNiuR+KOsJ0BOzx X-Received: by 2002:a05:6870:95a4:b0:1bf:607:e0f2 with SMTP id k36-20020a05687095a400b001bf0607e0f2mr5142943oao.29.1694683240693; Thu, 14 Sep 2023 02:20:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694683240; cv=none; d=google.com; s=arc-20160816; b=TKZem2rBFHCSIKB7k6WIZ2mtN/2tDm0wW3l4mrtC7qIuIAO1ONRlBcWt0QCuCgujKP fRiU+M2WNxPWJLeg3O6wWFs/UzobkM3CaRqNCC3c0eTfDEtnpwBdGRF7/12By4dCPMwL Cz5Av/LcjnzBkX2XWuBFZv7x2A+WbvxgFA0w53bHMtDO2E6Pz1gpoCIxkaUyHIuLY/7Q 9rhBNTJ7YzLVl/WcmtUQ+48ttDqo82LLk/+1iJGyUfhZZBEbrmg9nQGTic6CfuRLOje+ IVHdExaSAwf0TvEBdxeeiGVhOs+KcL7kfIddV1BhrmG0FbQA1G4PnyFkNygASONVyEGa qCGw== 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 :message-id:date:subject:cc:to:from; bh=/rjROFCkNOQPqaGtDXvNWTTr1inhsfqF17kHYCJVRwQ=; fh=TapvEXZTIZB6cr1I2j4y+MsEQWH4VaZKMFgKGEDdR6A=; b=uM7VIbS54vSFZCoYFiH4WTZ7XvQipCxaxA4rELjJ6a37q/lZRJ3Vi7Qw1LpPIGqyCB s/T1IWFuWy7sHCYC0leqCYEsVMgZMLaMwdVt6fhW9us+xFoOsZ0ciAn0w9jmojqPYbfi ZzzU2NbnEZEUz4cBhdEmvJ6/NhahWq0WGl02ZL3eKKVxNNi2eHOccy+WE/iFf99PPCKW Gxr9+16bQFR0YQVeOA13uSMjLeyaHPcsTAytQvW0yAFPTqh77CYkqzgzVIr8VsU/kBG5 iLAgcoXPs2wruuAz5NnyzBzukxvVPNdfSdDnq1b6XaGDUbNB3p395Vni3BUai0K5eEzT 3z1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id i71-20020a63874a000000b00565b3d5a563si1084521pge.724.2023.09.14.02.20.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 02:20:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id A145E80688B1; Thu, 14 Sep 2023 02:05:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236725AbjINJFc (ORCPT <rfc822;chrisfriedt@gmail.com> + 35 others); Thu, 14 Sep 2023 05:05:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236695AbjINJFa (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 14 Sep 2023 05:05:30 -0400 Received: from out30-97.freemail.mail.aliyun.com (out30-97.freemail.mail.aliyun.com [115.124.30.97]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E54A2CC7; Thu, 14 Sep 2023 02:05:25 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0Vs215Tz_1694682300; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vs215Tz_1694682300) by smtp.aliyun-inc.com; Thu, 14 Sep 2023 17:05:23 +0800 From: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> To: kent.overstreet@linux.dev Cc: bfoster@redhat.com, linux-bcachefs@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong <jiapeng.chong@linux.alibaba.com>, Abaci Robot <abaci@linux.alibaba.com> Subject: [PATCH 9/9] bcachefs: Modify mismatched function name Date: Thu, 14 Sep 2023 17:04:49 +0800 Message-Id: <20230914090457.32325-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 14 Sep 2023 02:05:34 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777004172282617623 X-GMAIL-MSGID: 1777004173666192909 |
Series |
[1/9] bcachefs: Modify mismatched function name
|
|
Commit Message
Jiapeng Chong
Sept. 14, 2023, 9:04 a.m. UTC
No functional modification involved.
fs/bcachefs/alloc_foreground.c:514: warning: expecting prototype for bch_bucket_alloc(). Prototype was for bch2_bucket_alloc_trans() instead.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6584
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
fs/bcachefs/alloc_foreground.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Thu, Sep 14, 2023 at 05:04:49PM +0800, Jiapeng Chong wrote: > No functional modification involved. > > fs/bcachefs/alloc_foreground.c:514: warning: expecting prototype for bch_bucket_alloc(). Prototype was for bch2_bucket_alloc_trans() instead. > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6584 > Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> > --- JFYI, it seems like the patch series is oddly threaded with patch 9/9 being the "cover letter..?" Also, what's the granularity of the patches here? Per robot filed bug? Per source file? I don't think it really matters for this particular series, though personally I would probably squash these down into one upon merge (and prefer to see any further patches of this nature similarly condensed). Brian > fs/bcachefs/alloc_foreground.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/bcachefs/alloc_foreground.c b/fs/bcachefs/alloc_foreground.c > index e02749ddc362..10a7979707ef 100644 > --- a/fs/bcachefs/alloc_foreground.c > +++ b/fs/bcachefs/alloc_foreground.c > @@ -502,7 +502,7 @@ static struct open_bucket *bch2_bucket_alloc_freelist(struct btree_trans *trans, > } > > /** > - * bch_bucket_alloc - allocate a single bucket from a specific device > + * bch2_bucket_alloc_trans - allocate a single bucket from a specific device > * > * Returns index of bucket on success, 0 on failure > */ > -- > 2.20.1.7.g153144c >
On Thu, Sep 14, 2023 at 05:04:49PM +0800, Jiapeng Chong wrote: > No functional modification involved. > > fs/bcachefs/alloc_foreground.c:514: warning: expecting prototype for bch_bucket_alloc(). Prototype was for bch2_bucket_alloc_trans() instead. I've already fixed all of these.
diff --git a/fs/bcachefs/alloc_foreground.c b/fs/bcachefs/alloc_foreground.c index e02749ddc362..10a7979707ef 100644 --- a/fs/bcachefs/alloc_foreground.c +++ b/fs/bcachefs/alloc_foreground.c @@ -502,7 +502,7 @@ static struct open_bucket *bch2_bucket_alloc_freelist(struct btree_trans *trans, } /** - * bch_bucket_alloc - allocate a single bucket from a specific device + * bch2_bucket_alloc_trans - allocate a single bucket from a specific device * * Returns index of bucket on success, 0 on failure */