Skip to content

Commit 22f3016

Browse files
Roland McGrathtorvalds
authored andcommitted
tracehook: comment pasto fixes
Fix some pasto's in comments in the new linux/tracehook.h and asm-generic/syscall.h files. Reported-by: Wenji Huang <[email protected]> Signed-off-by: Roland McGrath <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 34a35bd commit 22f3016

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/asm-generic/syscall.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ void syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
126126
* @args: array of argument values to store
127127
*
128128
* Changes @n arguments to the system call starting with the @i'th argument.
129-
* @n'th argument to @val. Argument @i gets value @args[0], and so on.
129+
* Argument @i gets value @args[0], and so on.
130130
* An arch inline version is probably optimal when @i and @n are constants.
131131
*
132132
* It's only valid to call this when @task is stopped for tracing on

include/linux/tracehook.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ static inline void tracehook_finish_clone(struct task_struct *child,
272272
* tracehook_report_clone_complete(). This must prevent the child from
273273
* self-reaping if tracehook_report_clone_complete() uses the @child
274274
* pointer; otherwise it might have died and been released by the time
275-
* tracehook_report_report_clone_complete() is called.
275+
* tracehook_report_clone_complete() is called.
276276
*
277277
* Called with no locks held, but the child cannot run until this returns.
278278
*/

0 commit comments

Comments
 (0)