All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] microblaze: fix typos in comments
@ 2022-04-30 19:11 Julia Lawall
  2022-05-02  6:36 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Julia Lawall @ 2022-04-30 19:11 UTC (permalink / raw)
  To: Michal Simek; +Cc: kernel-janitors, linux-kernel

Various spelling mistakes in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 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 */
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] microblaze: fix typos in comments
  2022-04-30 19:11 [PATCH] microblaze: fix typos in comments Julia Lawall
@ 2022-05-02  6:36 ` Michal Simek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2022-05-02  6:36 UTC (permalink / raw)
  To: Julia Lawall; +Cc: kernel-janitors, LKML

so 30. 4. 2022 v 21:11 odesílatel Julia Lawall <Julia.Lawall@inria.fr> napsal:
>
> Various spelling mistakes in comments.
> Detected with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
>
> ---
>  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-02  6:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-30 19:11 [PATCH] microblaze: fix typos in comments Julia Lawall
2022-05-02  6:36 ` Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.