Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2846640rdh; Mon, 30 Oct 2023 09:16:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHvwj5SCLlUMQDRJeTmrfFIML5C3GpE/K+vsGrpmRyxUyBJvr7pCct4hoQXRf0CumjjWWhr X-Received: by 2002:a17:902:ec84:b0:1cc:4cb0:d273 with SMTP id x4-20020a170902ec8400b001cc4cb0d273mr3669479plg.56.1698682577731; Mon, 30 Oct 2023 09:16:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698682577; cv=none; d=google.com; s=arc-20160816; b=i+sgbiQdxzvoQGNb3dqUm0WsMzc0FTUhpAHUz4IDHAmrau5wfp7nztmYSFPOdRtp+W Qfxl78/x54Y0bSFg1BWCSdmbONeG5RF5eXPhpvUQM3p7KyicVAlZ8fOsAhxwl30MJPPX YRJrdNS8FM/h2AHbL32e2ncIXGHpHNEQgl20taVbXk03i11SQsWk8nl4pJU/zFS1jhnF 0xFSQPRVKE8uTKI5Qkt3a7vffmROvh1EgIGrclaHWlxPBoNpEbIARksr6+sbr5xNOTjZ 1omv/iJKTHGi3VZeA87cV7gKiMi9Zk4cm9s5RvWZTm+0hF3/txE7nBZ8qVkFarkbD3LA 9ROg== 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:subject:cc:to:from:date; bh=fybyNUlaRkOzeht4mzbMH1mxFE+UWKnHVXwEYLD4kH0=; fh=GwUA7iixakkO5NTXBBRh1SUU4bI3bHSxo/Z9KQ16JZ0=; b=Pg+rFN6LsHF2ESVVXL3FdRacCqW/GQvlKv2se/JC9aLSzJ4NlB2fwJGH2fG9C97V4M cx5mE7U7AjCSr5iOCdzghPkZNyi/UL/dDuTCCSgnxDkjXUQ+i3Lc1Qk2KhgjX4SCwLJw 9ztTxdALfFKhAad05mKHnkAnUsg6SOfQgzg7ixhf5bZBUzLakK4Ce0jDrmQLCjfHnJrX d5mvLj2XdD+GqMGOPomWG4VOY6FUitwxcJvhc6Ggq77WQ7eKgtQi3Jj/GHeLNj25pCab 2/vv+ghMJ5wKagyEsFg9Psu+UKq5UOR8IEjy9mCenymMFgiW6hc+jRhwyEi+Rc7Xr2UR 7WDw== 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:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id n12-20020a170902d2cc00b001cc33027349si3649785plc.360.2023.10.30.09.16.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 09:16:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A088480781FC; Mon, 30 Oct 2023 09:15:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233311AbjJ3QPb (ORCPT + 99 others); Mon, 30 Oct 2023 12:15:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbjJ3QP3 (ORCPT ); Mon, 30 Oct 2023 12:15:29 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DEC183 for ; Mon, 30 Oct 2023 09:15:26 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7391CC433C7; Mon, 30 Oct 2023 16:15:25 +0000 (UTC) Date: Mon, 30 Oct 2023 12:15:23 -0400 From: Steven Rostedt To: LKML , Linux Trace Kernel Cc: Masami Hiramatsu , Mark Rutland Subject: [PATCH] eventfs: Fix kerneldoc of eventfs_remove_rec() Message-ID: <20231030121523.0b2225a7@gandalf.local.home> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 30 Oct 2023 09:15:36 -0700 (PDT) From: "Steven Rostedt (Google)" The eventfs_remove_rec() had some missing parameters in the kerneldoc comment above it. Also, rephrase the description a bit more to have a bit more correct grammar. Fixes: 5790b1fb3d672 ("eventfs: Remove eventfs_file and just use eventfs_inode"); Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202310052216.4SgqasWo-lkp@intel.com/ Signed-off-by: Steven Rostedt (Google) --- fs/tracefs/event_inode.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/tracefs/event_inode.c b/fs/tracefs/event_inode.c index 5a3cc5394294..1c28e013201f 100644 --- a/fs/tracefs/event_inode.c +++ b/fs/tracefs/event_inode.c @@ -977,9 +977,11 @@ static void free_rcu_ei(struct rcu_head *head) /** * eventfs_remove_rec - remove eventfs dir or file from list * @ei: eventfs_inode to be removed. + * @head: the list head to place the deleted @ei and children + * @level: prevent recursion from going more than 3 levels deep. * - * This function recursively remove eventfs_inode which - * contains info of file or dir. + * This function recursively removes eventfs_inodes which + * contains info of files and/or directories. */ static void eventfs_remove_rec(struct eventfs_inode *ei, struct list_head *head, int level) { -- 2.42.0