From: Yang Li <yang.lee@linux.alibaba.com>
To: rostedt@goodmis.org
Cc: mingo@redhat.com, linux-kernel@vger.kernel.org,
Yang Li <yang.lee@linux.alibaba.com>
Subject: [PATCH -next 1/2] ftrace: Tidy up some false kernel-doc markings
Date: Fri, 29 Oct 2021 14:38:42 +0800 [thread overview]
Message-ID: <1635489523-76132-1-git-send-email-yang.lee@linux.alibaba.com> (raw)
Deals with
W=1 warning: This comment starts with '/**', but isn't a kernel-doc
comment.
W=1 warning: bad line.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
kernel/trace/ftrace.c | 18 +++++++++---------
kernel/trace/trace_events_hist.c | 4 ++--
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index feb1ea9..679db91 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -2203,7 +2203,7 @@ static int ftrace_check_record(struct dyn_ftrace *rec, bool enable, bool update)
return FTRACE_UPDATE_MAKE_NOP;
}
-/**
+/*
* ftrace_update_record, set a record that now is tracing or not
* @rec: the record to update
* @enable: set to true if the record is tracing, false to force disable
@@ -2216,7 +2216,7 @@ int ftrace_update_record(struct dyn_ftrace *rec, bool enable)
return ftrace_check_record(rec, enable, true);
}
-/**
+/*
* ftrace_test_record, check if the record has been enabled or not
* @rec: the record to test
* @enable: set to true to check if enabled, false if it is disabled
@@ -2602,7 +2602,7 @@ struct ftrace_rec_iter {
int index;
};
-/**
+/*
* ftrace_rec_iter_start, start up iterating over traced functions
*
* Returns an iterator handle that is used to iterate over all
@@ -2633,7 +2633,7 @@ struct ftrace_rec_iter *ftrace_rec_iter_start(void)
return iter;
}
-/**
+/*
* ftrace_rec_iter_next, get the next record to process.
* @iter: The handle to the iterator.
*
@@ -2658,7 +2658,7 @@ struct ftrace_rec_iter *ftrace_rec_iter_next(struct ftrace_rec_iter *iter)
return iter;
}
-/**
+/*
* ftrace_rec_iter_record, get the record at the iterator location
* @iter: The current iterator location
*
@@ -2761,7 +2761,7 @@ static int __ftrace_modify_code(void *data)
return 0;
}
-/**
+/*
* ftrace_run_stop_machine, go back to the stop machine method
* @command: The command to tell ftrace what to do
*
@@ -2773,7 +2773,7 @@ void ftrace_run_stop_machine(int command)
stop_machine(__ftrace_modify_code, &command, NULL);
}
-/**
+/*
* arch_ftrace_update_code, modify the code to trace or not trace
* @command: The command that needs to be done
*
@@ -7742,7 +7742,7 @@ void ftrace_kill(void)
ftrace_trace_function = ftrace_stub;
}
-/**
+/*
* Test if ftrace is dead or not.
*/
int ftrace_is_dead(void)
@@ -7750,7 +7750,7 @@ int ftrace_is_dead(void)
return ftrace_disabled;
}
-/**
+/*
* register_ftrace_function - register a function for profiling
* @ops - ops structure that holds the function for profiling.
*
diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace/trace_events_hist.c
index cddf6bf..aa93e87 100644
--- a/kernel/trace/trace_events_hist.c
+++ b/kernel/trace/trace_events_hist.c
@@ -836,7 +836,7 @@ static struct hist_field *find_any_var_ref(struct hist_trigger_data *hist_data,
* A trigger can define one or more variables. If any one of them is
* currently referenced by any other trigger, this function will
* determine that.
-
+ *
* Typically used to determine whether or not a trigger can be removed
* - if there are any references to a trigger's variables, it cannot.
*
@@ -3050,7 +3050,7 @@ static struct field_var *create_field_var(struct hist_trigger_data *hist_data,
* events. However, for convenience, users are allowed to directly
* specify an event field in an action, which will be automatically
* converted into a variable on their behalf.
-
+ *
* This function creates a field variable with the name var_name on
* the hist trigger currently being defined on the target event. If
* subsys_name and event_name are specified, this function simply
--
1.8.3.1
next reply other threads:[~2021-10-29 6:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-29 6:38 Yang Li [this message]
2021-10-29 6:38 ` [PATCH -next 2/2] ftrace: remove unneeded semicolon Yang Li
2021-10-29 13:04 ` [PATCH -next 1/2] ftrace: Tidy up some false kernel-doc markings Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1635489523-76132-1-git-send-email-yang.lee@linux.alibaba.com \
--to=yang.lee@linux.alibaba.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox