Message ID | 20231019031353.73846-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:2010:b0:403:3b70:6f57 with SMTP id fe16csp134038vqb; Wed, 18 Oct 2023 20:14:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHDQo/qfiMQhIRT4bOIDZ0neNTT2aTRkyWcoOFsgs4D5CCeoh7lgBwS2KxMSstcamIbEsoJ X-Received: by 2002:a17:902:e844:b0:1c9:e508:ad3b with SMTP id t4-20020a170902e84400b001c9e508ad3bmr1396828plg.14.1697685276784; Wed, 18 Oct 2023 20:14:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697685276; cv=none; d=google.com; s=arc-20160816; b=nDACFgtzWaoluKKe9OiwB2C3xBxBzVgQ0Zgd6UPNNje63tfUWx8PAs9UmpDOoNZmC5 pmJA8brfTjzFSxJlEC9YSfjEKXEE2Az5LTeQ5lquPn6grLN4X61nuXsLtOPEDPZ81Wsk cwz25sme2xZIv9Jlbng30PZY0kcDyFzY0iGppz0M0G6wLSUEJPpIeiE2mB9jgAL+i5ZP GY6WJtdRvqHqmKehcmsDYDYGlPOMIgLUKVbbcWwV4FYU0SLz2sGFSc5zbaBZvAJpLJrw x+OgFcFNHCYpvWeL6JPAarxBd87EsxKRpfea8T114ZKKLjtggnA/gUXQTeO9mNgEkNZf PWiw== 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=0vZFcwUkX/mSaDFYhWpLwC7TjbL6X7B7b5xu2tFpv8w=; fh=g9sJmQv8l8lTVzJWI+1jDcn1Hz/D40i9Q+5fj2916hI=; b=MdEaJI71K3WefSn3oWVJdlgu0+2flMS0GZkV0GHWRKruEd3lSKBlApBP0TAx4D5d2b JFeX5eYOa9VwC2UJdjrmPQkWivbOZyimBUd+io9cII6ngERb5g3AXrB4SeI9Nm5oOksW fJIzpF0RdYo2NTor06kytiz/Ea8w33EggiNxy+Hr6LLet70cKGgbz2DvTMSGOHGA1E/b mShiGfu3FEsOtY+yftGiDzmPace6keuy1jftw7QrGfUdWrrhfpOfz5j5y/ZsCSyjmd8d Wl+seac2XLbkvZBVNJH+/16vAYItTdZNlhzYe1ht0T0PQn7ZaduF1j28X1XaoVuL8Uw3 gMvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id n1-20020a170902d2c100b001c5f37aeebdsi1265077plc.579.2023.10.18.20.14.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 20:14:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id EAFEE8263EA2; Wed, 18 Oct 2023 20:14:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232501AbjJSDOE (ORCPT <rfc822;zwp10758@gmail.com> + 24 others); Wed, 18 Oct 2023 23:14:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230304AbjJSDOD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 18 Oct 2023 23:14:03 -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 6B6DF109; Wed, 18 Oct 2023 20:14:00 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R251e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VuSNTOI_1697685235; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VuSNTOI_1697685235) by smtp.aliyun-inc.com; Thu, 19 Oct 2023 11:13:57 +0800 From: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> To: rostedt@goodmis.org Cc: mhiramat@kernel.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Jiapeng Chong <jiapeng.chong@linux.alibaba.com>, Abaci Robot <abaci@linux.alibaba.com> Subject: [PATCH] tracefs/eventfs: Modify mismatched function name Date: Thu, 19 Oct 2023 11:13:53 +0800 Message-Id: <20231019031353.73846-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.7 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 fry.vger.email 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 (fry.vger.email [0.0.0.0]); Wed, 18 Oct 2023 20:14:32 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780152037117435274 X-GMAIL-MSGID: 1780152037117435274 |
Series |
tracefs/eventfs: Modify mismatched function name
|
|
Commit Message
Jiapeng Chong
Oct. 19, 2023, 3:13 a.m. UTC
No functional modification involved.
fs/tracefs/event_inode.c:864: warning: expecting prototype for eventfs_remove(). Prototype was for eventfs_remove_dir() instead.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6939
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
fs/tracefs/event_inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 10/19/2023 8:43 AM, Jiapeng Chong wrote: > No functional modification involved. > > fs/tracefs/event_inode.c:864: warning: expecting prototype for eventfs_remove(). Prototype was for eventfs_remove_dir() instead. > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6939 > Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com> -Mukesh > --- > fs/tracefs/event_inode.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/tracefs/event_inode.c b/fs/tracefs/event_inode.c > index 1ccd100bc565..ba9d1cb0d24c 100644 > --- a/fs/tracefs/event_inode.c > +++ b/fs/tracefs/event_inode.c > @@ -855,7 +855,7 @@ static void unhook_dentry(struct dentry **dentry, struct dentry **list) > } > } > /** > - * eventfs_remove - remove eventfs dir or file from list > + * eventfs_remove_dir - remove eventfs dir or file from list > * @ei: eventfs_inode to be removed. > * > * This function acquire the eventfs_mutex lock and call eventfs_remove_rec()
diff --git a/fs/tracefs/event_inode.c b/fs/tracefs/event_inode.c index 1ccd100bc565..ba9d1cb0d24c 100644 --- a/fs/tracefs/event_inode.c +++ b/fs/tracefs/event_inode.c @@ -855,7 +855,7 @@ static void unhook_dentry(struct dentry **dentry, struct dentry **list) } } /** - * eventfs_remove - remove eventfs dir or file from list + * eventfs_remove_dir - remove eventfs dir or file from list * @ei: eventfs_inode to be removed. * * This function acquire the eventfs_mutex lock and call eventfs_remove_rec()