2022-05-03 00:15:06

by Julia Lawall

[permalink] [raw]
Subject: [PATCH] parisc: fix typos in comments

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

Signed-off-by: Julia Lawall <[email protected]>

---
arch/parisc/kernel/kprobes.c | 2 +-
arch/parisc/kernel/time.c | 2 +-
arch/parisc/kernel/traps.c | 2 +-
arch/parisc/math-emu/dfadd.c | 2 +-
arch/parisc/math-emu/dfsub.c | 2 +-
arch/parisc/math-emu/sfadd.c | 2 +-
arch/parisc/math-emu/sfsub.c | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/arch/parisc/kernel/kprobes.c b/arch/parisc/kernel/kprobes.c
index 3343d2fb7889..6e0b86652f30 100644
--- a/arch/parisc/kernel/kprobes.c
+++ b/arch/parisc/kernel/kprobes.c
@@ -152,7 +152,7 @@ int __kprobes parisc_kprobe_ss_handler(struct pt_regs *regs)
/* for absolute branch instructions we can copy iaoq_b. for relative
* branch instructions we need to calculate the new address based on the
* difference between iaoq_f and iaoq_b. We cannot use iaoq_b without
- * modificationt because it's based on our ainsn.insn address.
+ * modifications because it's based on our ainsn.insn address.
*/

if (p->post_handler)
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c
index bb27dfeeddfc..cafd3ad20272 100644
--- a/arch/parisc/kernel/time.c
+++ b/arch/parisc/kernel/time.c
@@ -251,7 +251,7 @@ void __init time_init(void)
static int __init init_cr16_clocksource(void)
{
/*
- * The cr16 interval timers are not syncronized across CPUs, even if
+ * The cr16 interval timers are not synchronized across CPUs, even if
* they share the same socket.
*/
if (num_online_cpus() > 1 && !running_on_qemu) {
diff --git a/arch/parisc/kernel/traps.c b/arch/parisc/kernel/traps.c
index a6e61cf2cad0..b78f1b9d45c1 100644
--- a/arch/parisc/kernel/traps.c
+++ b/arch/parisc/kernel/traps.c
@@ -469,7 +469,7 @@ void parisc_terminate(char *msg, struct pt_regs *regs, int code, unsigned long o
* panic notifiers, and we should call panic
* directly from the location that we wish.
* e.g. We should not call panic from
- * parisc_terminate, but rather the oter way around.
+ * parisc_terminate, but rather the other way around.
* This hack works, prints the panic message twice,
* and it enables reboot timers!
*/
diff --git a/arch/parisc/math-emu/dfadd.c b/arch/parisc/math-emu/dfadd.c
index ec487e07f004..00e561d4aa55 100644
--- a/arch/parisc/math-emu/dfadd.c
+++ b/arch/parisc/math-emu/dfadd.c
@@ -253,7 +253,7 @@ dbl_fadd(
return(NOEXCEPTION);
}
right_exponent = 1; /* Set exponent to reflect different bias
- * with denomalized numbers. */
+ * with denormalized numbers. */
}
else
{
diff --git a/arch/parisc/math-emu/dfsub.c b/arch/parisc/math-emu/dfsub.c
index c4f30acf2d48..4f03782284bd 100644
--- a/arch/parisc/math-emu/dfsub.c
+++ b/arch/parisc/math-emu/dfsub.c
@@ -256,7 +256,7 @@ dbl_fsub(
return(NOEXCEPTION);
}
right_exponent = 1; /* Set exponent to reflect different bias
- * with denomalized numbers. */
+ * with denormalized numbers. */
}
else
{
diff --git a/arch/parisc/math-emu/sfadd.c b/arch/parisc/math-emu/sfadd.c
index 838758279d5b..9b98c874dfac 100644
--- a/arch/parisc/math-emu/sfadd.c
+++ b/arch/parisc/math-emu/sfadd.c
@@ -249,7 +249,7 @@ sgl_fadd(
return(NOEXCEPTION);
}
right_exponent = 1; /* Set exponent to reflect different bias
- * with denomalized numbers. */
+ * with denormalized numbers. */
}
else
{
diff --git a/arch/parisc/math-emu/sfsub.c b/arch/parisc/math-emu/sfsub.c
index 583d3ace4634..29d9eed09d12 100644
--- a/arch/parisc/math-emu/sfsub.c
+++ b/arch/parisc/math-emu/sfsub.c
@@ -252,7 +252,7 @@ sgl_fsub(
return(NOEXCEPTION);
}
right_exponent = 1; /* Set exponent to reflect different bias
- * with denomalized numbers. */
+ * with denormalized numbers. */
}
else
{


2022-05-09 10:44:44

by Helge Deller

[permalink] [raw]
Subject: Re: [PATCH] parisc: fix typos in comments

On 4/30/22 21:07, Julia Lawall wrote:
> Various spelling mistakes in comments.
> Detected with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <[email protected]>

applied.

Thanks!
Helge

>
> ---
> arch/parisc/kernel/kprobes.c | 2 +-
> arch/parisc/kernel/time.c | 2 +-
> arch/parisc/kernel/traps.c | 2 +-
> arch/parisc/math-emu/dfadd.c | 2 +-
> arch/parisc/math-emu/dfsub.c | 2 +-
> arch/parisc/math-emu/sfadd.c | 2 +-
> arch/parisc/math-emu/sfsub.c | 2 +-
> 7 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/arch/parisc/kernel/kprobes.c b/arch/parisc/kernel/kprobes.c
> index 3343d2fb7889..6e0b86652f30 100644
> --- a/arch/parisc/kernel/kprobes.c
> +++ b/arch/parisc/kernel/kprobes.c
> @@ -152,7 +152,7 @@ int __kprobes parisc_kprobe_ss_handler(struct pt_regs *regs)
> /* for absolute branch instructions we can copy iaoq_b. for relative
> * branch instructions we need to calculate the new address based on the
> * difference between iaoq_f and iaoq_b. We cannot use iaoq_b without
> - * modificationt because it's based on our ainsn.insn address.
> + * modifications because it's based on our ainsn.insn address.
> */
>
> if (p->post_handler)
> diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c
> index bb27dfeeddfc..cafd3ad20272 100644
> --- a/arch/parisc/kernel/time.c
> +++ b/arch/parisc/kernel/time.c
> @@ -251,7 +251,7 @@ void __init time_init(void)
> static int __init init_cr16_clocksource(void)
> {
> /*
> - * The cr16 interval timers are not syncronized across CPUs, even if
> + * The cr16 interval timers are not synchronized across CPUs, even if
> * they share the same socket.
> */
> if (num_online_cpus() > 1 && !running_on_qemu) {
> diff --git a/arch/parisc/kernel/traps.c b/arch/parisc/kernel/traps.c
> index a6e61cf2cad0..b78f1b9d45c1 100644
> --- a/arch/parisc/kernel/traps.c
> +++ b/arch/parisc/kernel/traps.c
> @@ -469,7 +469,7 @@ void parisc_terminate(char *msg, struct pt_regs *regs, int code, unsigned long o
> * panic notifiers, and we should call panic
> * directly from the location that we wish.
> * e.g. We should not call panic from
> - * parisc_terminate, but rather the oter way around.
> + * parisc_terminate, but rather the other way around.
> * This hack works, prints the panic message twice,
> * and it enables reboot timers!
> */
> diff --git a/arch/parisc/math-emu/dfadd.c b/arch/parisc/math-emu/dfadd.c
> index ec487e07f004..00e561d4aa55 100644
> --- a/arch/parisc/math-emu/dfadd.c
> +++ b/arch/parisc/math-emu/dfadd.c
> @@ -253,7 +253,7 @@ dbl_fadd(
> return(NOEXCEPTION);
> }
> right_exponent = 1; /* Set exponent to reflect different bias
> - * with denomalized numbers. */
> + * with denormalized numbers. */
> }
> else
> {
> diff --git a/arch/parisc/math-emu/dfsub.c b/arch/parisc/math-emu/dfsub.c
> index c4f30acf2d48..4f03782284bd 100644
> --- a/arch/parisc/math-emu/dfsub.c
> +++ b/arch/parisc/math-emu/dfsub.c
> @@ -256,7 +256,7 @@ dbl_fsub(
> return(NOEXCEPTION);
> }
> right_exponent = 1; /* Set exponent to reflect different bias
> - * with denomalized numbers. */
> + * with denormalized numbers. */
> }
> else
> {
> diff --git a/arch/parisc/math-emu/sfadd.c b/arch/parisc/math-emu/sfadd.c
> index 838758279d5b..9b98c874dfac 100644
> --- a/arch/parisc/math-emu/sfadd.c
> +++ b/arch/parisc/math-emu/sfadd.c
> @@ -249,7 +249,7 @@ sgl_fadd(
> return(NOEXCEPTION);
> }
> right_exponent = 1; /* Set exponent to reflect different bias
> - * with denomalized numbers. */
> + * with denormalized numbers. */
> }
> else
> {
> diff --git a/arch/parisc/math-emu/sfsub.c b/arch/parisc/math-emu/sfsub.c
> index 583d3ace4634..29d9eed09d12 100644
> --- a/arch/parisc/math-emu/sfsub.c
> +++ b/arch/parisc/math-emu/sfsub.c
> @@ -252,7 +252,7 @@ sgl_fsub(
> return(NOEXCEPTION);
> }
> right_exponent = 1; /* Set exponent to reflect different bias
> - * with denomalized numbers. */
> + * with denormalized numbers. */
> }
> else
> {
>