Prechádzať zdrojové kódy

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>
Roland McGrath 16 rokov pred
rodič
commit
22f30168d2
2 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 1 1
      include/asm-generic/syscall.h
  2. 1 1
      include/linux/tracehook.h

+ 1 - 1
include/asm-generic/syscall.h

@@ -126,7 +126,7 @@ void syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
  * @args:	array of argument values to store
  * @args:	array of argument values to store
  *
  *
  * Changes @n arguments to the system call starting with the @i'th argument.
  * Changes @n arguments to the system call starting with the @i'th argument.
- * @n'th argument to @val.  Argument @i gets value @args[0], and so on.
+ * Argument @i gets value @args[0], and so on.
  * An arch inline version is probably optimal when @i and @n are constants.
  * An arch inline version is probably optimal when @i and @n are constants.
  *
  *
  * It's only valid to call this when @task is stopped for tracing on
  * It's only valid to call this when @task is stopped for tracing on

+ 1 - 1
include/linux/tracehook.h

@@ -272,7 +272,7 @@ static inline void tracehook_finish_clone(struct task_struct *child,
  * tracehook_report_clone_complete().  This must prevent the child from
  * tracehook_report_clone_complete().  This must prevent the child from
  * self-reaping if tracehook_report_clone_complete() uses the @child
  * self-reaping if tracehook_report_clone_complete() uses the @child
  * pointer; otherwise it might have died and been released by the time
  * pointer; otherwise it might have died and been released by the time
- * tracehook_report_report_clone_complete() is called.
+ * tracehook_report_clone_complete() is called.
  *
  *
  * Called with no locks held, but the child cannot run until this returns.
  * Called with no locks held, but the child cannot run until this returns.
  */
  */