Re: [PATCH] microblaze: fix typos in comments

From: Michal Simek
Date: Mon May 02 2022 - 02:37:14 EST


so 30. 4. 2022 v 21:11 odesílatel Julia Lawall <Julia.Lawall@xxxxxxxx> napsal:
>
> Various spelling mistakes in comments.
> Detected with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxxx>
>
> ---
> arch/microblaze/kernel/kgdb.c | 2 +-
> arch/microblaze/lib/memmove.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/microblaze/kernel/kgdb.c b/arch/microblaze/kernel/kgdb.c
> index 130cd0f064ce..df4b9d0112e5 100644
> --- a/arch/microblaze/kernel/kgdb.c
> +++ b/arch/microblaze/kernel/kgdb.c
> @@ -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)
> diff --git a/arch/microblaze/lib/memmove.c b/arch/microblaze/lib/memmove.c
> index 2e49d0ef1e07..c1f08c484e20 100644
> --- a/arch/microblaze/lib/memmove.c
> +++ b/arch/microblaze/lib/memmove.c
> @@ -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 */
>
>

Applied.
M

--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs