Skip to content

Commit 6ce5725

Browse files
sysheaprostedt
authored andcommitted
tracing: Fix multiple typos in trace_events_user.c
Fix multiple typos in comments: "ambigious" -> "ambiguous" "explictly" -> "explicitly" "Uknown" -> "Unknown" Link: https://patch.msgid.link/20251121221835.28032-12-mhi@mailbox.org Signed-off-by: Maurice Hieronymus <mhi@mailbox.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 parent 0166d3e commit 6ce5725

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

kernel/trace/trace_events_user.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ static int user_field_array_size(const char *type)
10411041

10421042
static int user_field_size(const char *type)
10431043
{
1044-
/* long is not allowed from a user, since it's ambigious in size */
1044+
/* long is not allowed from a user, since it's ambiguous in size */
10451045
if (strcmp(type, "s64") == 0)
10461046
return sizeof(s64);
10471047
if (strcmp(type, "u64") == 0)
@@ -1079,7 +1079,7 @@ static int user_field_size(const char *type)
10791079
if (str_has_prefix(type, "__rel_loc "))
10801080
return sizeof(u32);
10811081

1082-
/* Uknown basic type, error */
1082+
/* Unknown basic type, error */
10831083
return -EINVAL;
10841084
}
10851085

@@ -2465,7 +2465,7 @@ static long user_events_ioctl_reg(struct user_event_file_info *info,
24652465
/*
24662466
* Prevent users from using the same address and bit multiple times
24672467
* within the same mm address space. This can cause unexpected behavior
2468-
* for user processes that is far easier to debug if this is explictly
2468+
* for user processes that is far easier to debug if this is explicitly
24692469
* an error upon registering.
24702470
*/
24712471
if (current_user_event_enabler_exists((unsigned long)reg.enable_addr,

0 commit comments

Comments
 (0)