csky: fix typos in comments
authorJulia Lawall <Julia.Lawall@inria.fr>
Fri, 18 Mar 2022 10:37:09 +0000 (11:37 +0100)
committerGuo Ren <guoren@linux.alibaba.com>
Wed, 6 Apr 2022 14:37:58 +0000 (22:37 +0800)
Various spelling mistakes in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: Guo Ren <guoren@kernel.org>
arch/csky/kernel/module.c
arch/csky/kernel/probes/uprobes.c

index 6cd82d69c6551c1861f1c10ac180896624865c77..f11b3e5733448202e4c04fe131a84c898f8ce5f2 100644 (file)
@@ -68,7 +68,7 @@ int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab,
                        *location = rel[i].r_addend + sym->st_value;
                        break;
                case R_CSKY_PC32:
-                       /* Add the value, subtract its postition */
+                       /* Add the value, subtract its position */
                        *location = rel[i].r_addend + sym->st_value
                                                        - (uint32_t)location;
                        break;
index 1a9e0961b2b5b8a6ade8b583d6cbc299815c82a4..2d31a12e46cfee0bcb202957a4c4b8eb3bcca223 100644 (file)
@@ -102,7 +102,7 @@ void arch_uprobe_abort_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
        struct uprobe_task *utask = current->utask;
 
        /*
-        * Task has received a fatal signal, so reset back to probbed
+        * Task has received a fatal signal, so reset back to probed
         * address.
         */
        instruction_pointer_set(regs, utask->vaddr);