Skip to content

Commit 7b7b8a2

Browse files
rddunlaptorvalds
authored andcommitted
kernel/: fix repeated words in comments
Fix multiple occurrences of duplicated words in kernel/. Fix one typo/spello on the same line as a duplicate word. Change one instance of "the the" to "that the". Otherwise just drop one of the repeated words. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Link: https://lkml.kernel.org/r/98202fa6-8919-ef63-9efe-c0fad5ca7af1@infradead.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 15ec0fc commit 7b7b8a2

15 files changed

Lines changed: 15 additions & 15 deletions

File tree

‎kernel/acct.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Now we silently close acct_file on attempt to reopen. Cleaned sys_acct().
2626
* XTerms and EMACS are manifestations of pure evil. 21/10/98, AV.
2727
*
28-
* Fixed a nasty interaction with with sys_umount(). If the accointing
28+
* Fixed a nasty interaction with sys_umount(). If the accounting
2929
* was suspeneded we failed to stop it on umount(). Messy.
3030
* Another one: remount to readonly didn't stop accounting.
3131
* Question: what should we do if we have CAP_SYS_ADMIN but not

‎kernel/cgroup/cpuset.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ static void guarantee_online_cpus(struct cpuset *cs, struct cpumask *pmask)
390390
* The top cpuset doesn't have any online cpu as a
391391
* consequence of a race between cpuset_hotplug_work
392392
* and cpu hotplug notifier. But we know the top
393-
* cpuset's effective_cpus is on its way to to be
393+
* cpuset's effective_cpus is on its way to be
394394
* identical to cpu_online_mask.
395395
*/
396396
cpumask_copy(pmask, cpu_online_mask);

‎kernel/dma/direct.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include "direct.h"
1717

1818
/*
19-
* Most architectures use ZONE_DMA for the first 16 Megabytes, but some use it
19+
* Most architectures use ZONE_DMA for the first 16 Megabytes, but some use
2020
* it for entirely different regions. In that case the arch code needs to
2121
* override the variable below for dma-direct to work properly.
2222
*/

‎kernel/fork.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2189,7 +2189,7 @@ static __latent_entropy struct task_struct *copy_process(
21892189

21902190
/*
21912191
* Ensure that the cgroup subsystem policies allow the new process to be
2192-
* forked. It should be noted the the new process's css_set can be changed
2192+
* forked. It should be noted that the new process's css_set can be changed
21932193
* between here and cgroup_post_fork() if an organisation operation is in
21942194
* progress.
21952195
*/

‎kernel/futex.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ static inline void exit_pi_state_list(struct task_struct *curr) { }
916916
* [10] Found | Found | task | !=taskTID | 0/1 | Invalid
917917
*
918918
* [1] Indicates that the kernel can acquire the futex atomically. We
919-
* came came here due to a stale FUTEX_WAITERS/FUTEX_OWNER_DIED bit.
919+
* came here due to a stale FUTEX_WAITERS/FUTEX_OWNER_DIED bit.
920920
*
921921
* [2] Valid, if TID does not belong to a kernel thread. If no matching
922922
* thread is found then it indicates that the owner TID has died.

‎kernel/irq/timings.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ int irq_timings_alloc(int irq)
604604

605605
/*
606606
* Some platforms can have the same private interrupt per cpu,
607-
* so this function may be be called several times with the
607+
* so this function may be called several times with the
608608
* same interrupt number. Just bail out in case the per cpu
609609
* stat structure is already allocated.
610610
*/

‎kernel/jump_label.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include <linux/cpu.h>
2020
#include <asm/sections.h>
2121

22-
/* mutex to protect coming/going of the the jump_label table */
22+
/* mutex to protect coming/going of the jump_label table */
2323
static DEFINE_MUTEX(jump_label_mutex);
2424

2525
void jump_label_lock(void)

‎kernel/kcsan/encoding.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* 1. different addresses but with the same encoded address race;
3333
* 2. and both map onto the same watchpoint slots;
3434
*
35-
* Both these are assumed to be very unlikely. However, in case it still happens
35+
* Both these are assumed to be very unlikely. However, in case it still
3636
* happens, the report logic will filter out the false positive (see report.c).
3737
*/
3838
#define WATCHPOINT_ADDR_BITS (BITS_PER_LONG-1 - WATCHPOINT_SIZE_BITS)

‎kernel/kexec_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ EXPORT_SYMBOL_GPL(kexec_crash_loaded);
109109
* defined more restrictively in <asm/kexec.h>.
110110
*
111111
* The code for the transition from the current kernel to the
112-
* the new kernel is placed in the control_code_buffer, whose size
112+
* new kernel is placed in the control_code_buffer, whose size
113113
* is given by KEXEC_CONTROL_PAGE_SIZE. In the best case only a single
114114
* page of memory is necessary, but some architectures require more.
115115
* Because this memory must be identity mapped in the transition from

‎kernel/kthread.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ EXPORT_SYMBOL(kthread_create_worker);
775775

776776
/**
777777
* kthread_create_worker_on_cpu - create a kthread worker and bind it
778-
* it to a given CPU and the associated NUMA node.
778+
* to a given CPU and the associated NUMA node.
779779
* @cpu: CPU number
780780
* @flags: flags modifying the default behavior of the worker
781781
* @namefmt: printf-style name for the kthread worker (task).

0 commit comments

Comments
 (0)