treewide: Fix typo in xml/driver-api/basics.xml
authorMasanari Iida <standby24x7@gmail.com>
Tue, 7 Mar 2017 11:48:02 +0000 (20:48 +0900)
committerJiri Kosina <jkosina@suse.cz>
Fri, 24 Mar 2017 14:47:57 +0000 (15:47 +0100)
This patch fix spelling typos found in
Documentation/output/xml/driver-api/basics.xml.
It is because the xml file was generated from comments in source,
so I had to fix the comments.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/sched.h
kernel/sched/fair.c
kernel/time/hrtimer.c
kernel/time/timer.c

index d67eee8..5ce85e8 100644 (file)
@@ -186,7 +186,7 @@ extern long io_schedule_timeout(long timeout);
 extern void io_schedule(void);
 
 /**
- * struct prev_cputime - snaphsot of system and user cputime
+ * struct prev_cputime - snapshot of system and user cputime
  * @utime: time spent in user mode
  * @stime: time spent in system mode
  * @lock: protects the above two fields
index dea1389..3ae75f5 100644 (file)
@@ -7597,7 +7597,7 @@ next_group:
 
 /**
  * check_asym_packing - Check to see if the group is packed into the
- *                     sched doman.
+ *                     sched domain.
  *
  * This is primarily intended to used at the sibling level.  Some
  * cores like POWER7 prefer to use lower numbered SMT threads.  In the
index ec08f52..a7098f0 100644 (file)
@@ -987,7 +987,7 @@ EXPORT_SYMBOL_GPL(hrtimer_start_range_ns);
  * Returns:
  *  0 when the timer was not active
  *  1 when the timer was active
- * -1 when the timer is currently excuting the callback function and
+ * -1 when the timer is currently executing the callback function and
  *    cannot be stopped
  */
 int hrtimer_try_to_cancel(struct hrtimer *timer)
index 1dc0256..17610d2 100644 (file)
@@ -1120,7 +1120,7 @@ void add_timer_on(struct timer_list *timer, int cpu)
 EXPORT_SYMBOL_GPL(add_timer_on);
 
 /**
- * del_timer - deactive a timer.
+ * del_timer - deactivate a timer.
  * @timer: the timer to be deactivated
  *
  * del_timer() deactivates a timer - this works on both active and inactive