OSDN Git Service

powerpc: Spelling/typo fixes
authorBhaskar Chowdhury <unixbhaskar@gmail.com>
Wed, 20 Jan 2021 14:20:21 +0000 (19:50 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 8 Apr 2021 11:17:42 +0000 (21:17 +1000)
Various spelling/typo fixes.

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/cpm2.h
arch/powerpc/kernel/head_8xx.S
arch/powerpc/mm/book3s64/radix_pgtable.c
drivers/macintosh/windfarm_smu_controls.c

index 2211b93..bda4578 100644 (file)
@@ -594,7 +594,7 @@ typedef struct fcc_enet {
        uint    fen_p256c;      /* Total packets 256 < bytes <= 511 */
        uint    fen_p512c;      /* Total packets 512 < bytes <= 1023 */
        uint    fen_p1024c;     /* Total packets 1024 < bytes <= 1518 */
-       uint    fen_cambuf;     /* Internal CAM buffer poiner */
+       uint    fen_cambuf;     /* Internal CAM buffer pointer */
        ushort  fen_rfthr;      /* Received frames threshold */
        ushort  fen_rfcnt;      /* Received frames count */
 } fcc_enet_t;
index 34feb62..e3b0667 100644 (file)
@@ -804,7 +804,7 @@ EXPORT_SYMBOL(empty_zero_page)
 swapper_pg_dir:
        .space  PGD_TABLE_SIZE
 
-/* Room for two PTE table poiners, usually the kernel and current user
+/* Room for two PTE table pointers, usually the kernel and current user
  * pointer to their respective root page table (pgdir).
  */
        .globl  abatron_pteptrs
index 98f0b24..8b8f145 100644 (file)
@@ -1058,7 +1058,7 @@ void radix__ptep_set_access_flags(struct vm_area_struct *vma, pte_t *ptep,
                 * Book3S does not require a TLB flush when relaxing access
                 * restrictions when the address space is not attached to a
                 * NMMU, because the core MMU will reload the pte after taking
-                * an access fault, which is defined by the architectue.
+                * an access fault, which is defined by the architecture.
                 */
        }
        /* See ptesync comment in radix__set_pte_at */
index 79cb1ad..7596605 100644 (file)
@@ -94,7 +94,7 @@ static int smu_set_fan(int pwm, u8 id, u16 value)
                return rc;
        wait_for_completion(&comp);
 
-       /* Handle fallback (see coment above) */
+       /* Handle fallback (see comment above) */
        if (cmd.status != 0 && smu_supports_new_fans_ops) {
                printk(KERN_WARNING "windfarm: SMU failed new fan command "
                       "falling back to old method\n");