Commit d17ecf44 authored by Julia Lawall's avatar Julia Lawall Committed by Guo Ren

csky: fix typos in comments

Various spelling mistakes in comments.
Detected with the help of Coccinelle.
Signed-off-by: default avatarJulia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: default avatarGuo Ren <guoren@kernel.org>
parent 31231092
...@@ -68,7 +68,7 @@ int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, ...@@ -68,7 +68,7 @@ int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab,
*location = rel[i].r_addend + sym->st_value; *location = rel[i].r_addend + sym->st_value;
break; break;
case R_CSKY_PC32: case R_CSKY_PC32:
/* Add the value, subtract its postition */ /* Add the value, subtract its position */
*location = rel[i].r_addend + sym->st_value *location = rel[i].r_addend + sym->st_value
- (uint32_t)location; - (uint32_t)location;
break; break;
......
...@@ -102,7 +102,7 @@ void arch_uprobe_abort_xol(struct arch_uprobe *auprobe, struct pt_regs *regs) ...@@ -102,7 +102,7 @@ void arch_uprobe_abort_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)
struct uprobe_task *utask = current->utask; 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. * address.
*/ */
instruction_pointer_set(regs, utask->vaddr); instruction_pointer_set(regs, utask->vaddr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment