powerpc: Fix all occurences of duplicate words
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Jul 2022 09:51:58 +0000 (19:51 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 25 Jul 2022 02:05:15 +0000 (12:05 +1000)
Since commit 87c78b612f4f ("powerpc: Fix all occurences of "the the"")
fixed "the the", there's now a steady stream of patches fixing other
duplicate words.

Just fix them all at once, to save the overhead of dealing with
individual patches for each case.

This leaves a few cases of "that that", which in some contexts is
correct.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220718095158.326606-1-mpe@ellerman.id.au
15 files changed:
arch/powerpc/crypto/aes-spe-glue.c
arch/powerpc/kernel/btext.c
arch/powerpc/kernel/eeh_driver.c
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kernel/pci-common.c
arch/powerpc/kernel/pci_dn.c
arch/powerpc/kernel/ptrace/ptrace-vsx.c
arch/powerpc/kernel/trace/ftrace.c
arch/powerpc/kernel/watchdog.c
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/mm/book3s64/hash_utils.c
arch/powerpc/platforms/4xx/cpm.c
arch/powerpc/platforms/powernv/vas-fault.c
arch/powerpc/platforms/pseries/eeh_pseries.c
arch/powerpc/platforms/pseries/papr_scm.c

index e8dfe9f..efab78a 100644 (file)
@@ -28,7 +28,7 @@
  * instructions per clock cycle using one 32/64 bit unit (SU1) and one 32
  * bit unit (SU2). One of these can be a memory access that is executed via
  * a single load and store unit (LSU). XTS-AES-256 takes ~780 operations per
- * 16 byte block block or 25 cycles per byte. Thus 768 bytes of input data
+ * 16 byte block or 25 cycles per byte. Thus 768 bytes of input data
  * will need an estimated maximum of 20,000 cycles. Headroom for cache misses
  * included. Even with the low end model clocked at 667 MHz this equals to a
  * critical time window of less than 30us. The value has been chosen to
index 8f69bb0..2769889 100644 (file)
@@ -73,7 +73,7 @@ static inline void rmci_maybe_off(void)
  * the display during identify_machine() and MMU_Init()
  *
  * The display is mapped to virtual address 0xD0000000, rather
- * than 1:1, because some some CHRP machines put the frame buffer
+ * than 1:1, because some CHRP machines put the frame buffer
  * in the region starting at 0xC0000000 (PAGE_OFFSET).
  * This mapping is temporary and will disappear as soon as the
  * setup done by MMU_Init() is applied.
index 260273e..f279295 100644 (file)
@@ -750,7 +750,7 @@ static void eeh_pe_cleanup(struct eeh_pe *pe)
  * @pdev: pci_dev to check
  *
  * This function may return a false positive if we can't determine the slot's
- * presence state. This might happen for for PCIe slots if the PE containing
+ * presence state. This might happen for PCIe slots if the PE containing
  * the upstream bridge is also frozen, or the bridge is part of the same PE
  * as the device.
  *
index b66dd6f..3d0dc13 100644 (file)
@@ -2779,7 +2779,7 @@ EXC_COMMON_BEGIN(soft_nmi_common)
 
 /*
  * An interrupt came in while soft-disabled. We set paca->irq_happened, then:
- * - If it was a decrementer interrupt, we bump the dec to max and and return.
+ * - If it was a decrementer interrupt, we bump the dec to max and return.
  * - If it was a doorbell we return immediately since doorbells are edge
  *   triggered and won't automatically refire.
  * - If it was a HMI we return immediately since we handled it in realmode
index c879992..cbb912e 100644 (file)
@@ -1088,7 +1088,7 @@ void pcibios_fixup_bus(struct pci_bus *bus)
         */
        pci_read_bridge_bases(bus);
 
-       /* Now fixup the bus bus */
+       /* Now fixup the bus */
        pcibios_setup_bus_self(bus);
 }
 EXPORT_SYMBOL(pcibios_fixup_bus);
index 938ab88..7a35fc2 100644 (file)
@@ -259,7 +259,7 @@ void remove_sriov_vf_pdns(struct pci_dev *pdev)
                        if (edev) {
                                /*
                                 * We allocate pci_dn's for the totalvfs count,
-                                * but only only the vfs that were activated
+                                * but only the vfs that were activated
                                 * have a configured PE.
                                 */
                                if (edev->pe)
index 1da4303..7df0800 100644 (file)
@@ -71,7 +71,7 @@ int fpr_set(struct task_struct *target, const struct user_regset *regset,
 }
 
 /*
- * Currently to set and and get all the vsx state, you need to call
+ * Currently to set and get all the vsx state, you need to call
  * the fp and VMX calls as well.  This only get/sets the lower 32
  * 128bit VSX registers.
  */
index cab67b5..cb158c3 100644 (file)
@@ -125,7 +125,7 @@ __ftrace_make_nop(struct module *mod,
                return -EFAULT;
        }
 
-       /* Make sure that that this is still a 24bit jump */
+       /* Make sure that this is still a 24bit jump */
        if (!is_bl_op(op)) {
                pr_err("Not expected bl: opcode is %08lx\n", ppc_inst_as_ulong(op));
                return -EINVAL;
@@ -311,7 +311,7 @@ static int __ftrace_make_nop_kernel(struct dyn_ftrace *rec, unsigned long addr)
                return -EFAULT;
        }
 
-       /* Make sure that that this is still a 24bit jump */
+       /* Make sure that this is still a 24bit jump */
        if (!is_bl_op(op)) {
                pr_err("Not expected bl: opcode is %08lx\n", ppc_inst_as_ulong(op));
                return -EINVAL;
@@ -564,7 +564,7 @@ __ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr,
                return -EFAULT;
        }
 
-       /* Make sure that that this is still a 24bit jump */
+       /* Make sure that this is still a 24bit jump */
        if (!is_bl_op(op)) {
                pr_err("Not expected bl: opcode is %08lx\n", ppc_inst_as_ulong(op));
                return -EINVAL;
index 7d28b95..dd882d0 100644 (file)
@@ -353,7 +353,7 @@ static void watchdog_timer_interrupt(int cpu)
        if (__wd_nmi_output && xchg(&__wd_nmi_output, 0)) {
                /*
                 * Something has called printk from NMI context. It might be
-                * stuck, so this this triggers a flush that will get that
+                * stuck, so this triggers a flush that will get that
                 * printk output to the console.
                 *
                 * See wd_lockup_ipi.
index c688831..529b6c6 100644 (file)
@@ -5665,7 +5665,7 @@ static int kvmppc_clr_passthru_irq(struct kvm *kvm, int host_irq, int guest_gsi)
        else
                kvmppc_xics_clr_mapped(kvm, guest_gsi, pimap->mapped[i].r_hwirq);
 
-       /* invalidate the entry (what do do on error from the above ?) */
+       /* invalidate the entry (what to do on error from the above ?) */
        pimap->mapped[i].r_hwirq = 0;
 
        /*
index fc92613..363a944 100644 (file)
@@ -408,7 +408,7 @@ repeat:
                                               ssize);
                if (ret == -1) {
                        /*
-                        * Try to to keep bolted entries in primary.
+                        * Try to keep bolted entries in primary.
                         * Remove non bolted entries and try insert again
                         */
                        ret = mmu_hash_ops.hpte_remove(hpteg);
index 1d3bc35..182e128 100644 (file)
@@ -63,7 +63,7 @@ static unsigned int cpm_set(unsigned int cpm_reg, unsigned int mask)
         * known as class 1, 2 and 3. For class 1 units, they are
         * unconditionally put to sleep when the corresponding CPM bit is
         * set. For class 2 and 3 units this is not case; if they can be
-        * put to to sleep, they will. Here we do not verify, we just
+        * put to sleep, they will. Here we do not verify, we just
         * set them and expect them to eventually go off when they can.
         */
        value = dcr_read(cpm.dcr_host, cpm.dcr_offset[cpm_reg]);
index c1bfad5..2b47d5a 100644 (file)
@@ -77,7 +77,7 @@ irqreturn_t vas_fault_thread_fn(int irq, void *data)
        /*
         * VAS can interrupt with multiple page faults. So process all
         * valid CRBs within fault FIFO until reaches invalid CRB.
-        * We use CCW[0] and pswid to validate validate CRBs:
+        * We use CCW[0] and pswid to validate CRBs:
         *
         * CCW[0]       Reserved bit. When NX pastes CRB, CCW[0]=0
         *              OS sets this bit to 1 after reading CRB.
index 1b0c901..8e40cca 100644 (file)
@@ -71,7 +71,7 @@ static void pseries_pcibios_bus_add_device(struct pci_dev *pdev)
        if (pdev->is_virtfn) {
                /*
                 * FIXME: This really should be handled by choosing the right
-                *        parent PE in in pseries_eeh_init_edev().
+                *        parent PE in pseries_eeh_init_edev().
                 */
                struct eeh_pe *physfn_pe = pci_dev_to_eeh_dev(pdev->physfn)->pe;
                struct eeh_dev *edev = pdn_to_eeh_dev(pdn);
index 69f21d3..20f6ed8 100644 (file)
@@ -29,7 +29,7 @@
         (1ul << ND_CMD_SET_CONFIG_DATA) | \
         (1ul << ND_CMD_CALL))
 
-/* DIMM health bitmap bitmap indicators */
+/* DIMM health bitmap indicators */
 /* SCM device is unable to persist memory contents */
 #define PAPR_PMEM_UNARMED                   (1ULL << (63 - 0))
 /* SCM device failed to persist memory contents */