Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <wenji.huang@oracle.com>
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Roland McGrath and committed by
Linus Torvalds
22f30168 34a35bdd

+2 -2
+1 -1
include/asm-generic/syscall.h
··· 126 126 * @args: array of argument values to store 127 127 * 128 128 * 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. 130 130 * An arch inline version is probably optimal when @i and @n are constants. 131 131 * 132 132 * It's only valid to call this when @task is stopped for tracing on
+1 -1
include/linux/tracehook.h
··· 272 272 * tracehook_report_clone_complete(). This must prevent the child from 273 273 * self-reaping if tracehook_report_clone_complete() uses the @child 274 274 * 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. 276 276 * 277 277 * Called with no locks held, but the child cannot run until this returns. 278 278 */