aboutsummaryrefslogtreecommitdiff
path: root/arch/csky/kernel/module.c
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2022-03-18 11:37:09 +0100
committerGuo Ren <[email protected]>2022-04-06 22:37:58 +0800
commitd17ecf443d8fdccf2e1674b1ac9d73bc9c9429c7 (patch)
tree892210966a34d81746b74e33c860509cc75c7ad1 /arch/csky/kernel/module.c
parent3123109284176b1532874591f7c81f3837bbdc17 (diff)
csky: fix typos in comments
Various spelling mistakes in comments. Detected with the help of Coccinelle. Signed-off-by: Julia Lawall <[email protected]> Signed-off-by: Guo Ren <[email protected]>
Diffstat (limited to 'arch/csky/kernel/module.c')
-rw-r--r--arch/csky/kernel/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/csky/kernel/module.c b/arch/csky/kernel/module.c
index 6cd82d69c655..f11b3e573344 100644
--- a/arch/csky/kernel/module.c
+++ b/arch/csky/kernel/module.c
@@ -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;