Skip to contentSkip to conversation

tracing/user_events: Fix comment typo

PATCH New Jason Wang 1 participant 1 message Jul 19, 2022 Tracing

lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 tracing/user_events: Fix comment typo

The double `have' is duplicated in the comment, remove one.

---
 kernel/trace/trace_events_user.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/trace_events_user.c +1 -1
index 706e1686b5eb..a6621c52ce45 100644
@@ -567,7 +567,7 @@ static int user_event_set_call_visible(struct user_event *user, bool visible)
 	 * to allow user_event files to be less locked down. The extreme case
 	 * being "other" has read/write access to user_events_data/status.
 	 *
-	 * When not locked down, processes may not have have permissions to
+	 * When not locked down, processes may not have permissions to
 	 * add/remove calls themselves to tracefs. We need to temporarily
 	 * switch to root file permission to allow for this scenario.
 	 */
Signature · 1 line
2.35.1