microblaze: fix typos in comments
authorJulia Lawall <Julia.Lawall@inria.fr>
Sat, 30 Apr 2022 19:11:15 +0000 (21:11 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 2 May 2022 06:36:10 +0000 (08:36 +0200)
Various spelling mistakes in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Link: https://lore.kernel.org/r/20220430191122.8667-1-Julia.Lawall@inria.fr
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/microblaze/kernel/kgdb.c
arch/microblaze/lib/memmove.c

index 130cd0f..df4b9d0 100644 (file)
@@ -31,7 +31,7 @@
 #define GDB_RTLBLO     55
 #define GDB_RTLBHI     56
 
-/* keep pvr separately because it is unchangeble */
+/* keep pvr separately because it is unchangeable */
 static struct pvr_s pvr;
 
 void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs)
index 2e49d0e..c1f08c4 100644 (file)
@@ -78,7 +78,7 @@ void *memmove(void *v_dst, const void *v_src, __kernel_size_t c)
 
                i_dst = (void *)dst;
                /* Choose a copy scheme based on the source */
-               /* alignment relative to dstination. */
+               /* alignment relative to destination. */
                switch ((unsigned long)src & 3) {
                case 0x0:       /* Both byte offsets are aligned */