mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] parisc: fix typos in comments
@ 2026-09-04 12:13 Hemanth Selam
  0 siblings, 0 replies; 3+ messages in thread
From: Hemanth Selam @ 2026-09-04 12:13 UTC (permalink / raw)
  To: James E.J. Bottomley, Helge Deller, Sudip Mukherjee
  Cc: linux-kernel, linux-parisc

Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt.  Only touches comments, no code
changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 arch/parisc/include/asm/pdcpat.h        | 4 ++--
 arch/parisc/include/asm/special_insns.h | 2 +-
 arch/parisc/include/uapi/asm/mman.h     | 2 +-
 arch/parisc/kernel/perf_images.h        | 4 ++--
 arch/parisc/lib/memcpy.c                | 2 +-
 drivers/parisc/ccio-dma.c               | 2 +-
 drivers/parisc/dino.c                   | 2 +-
 drivers/parisc/pdc_stable.c             | 2 +-
 drivers/parisc/sba_iommu.c              | 2 +-
 drivers/parport/parport_gsc.c           | 2 +-
 10 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/arch/parisc/include/asm/pdcpat.h b/arch/parisc/include/asm/pdcpat.h
index ec97eefa4ef6..6014fa004b89 100644
--- a/arch/parisc/include/asm/pdcpat.h
+++ b/arch/parisc/include/asm/pdcpat.h
@@ -54,7 +54,7 @@
 #define PAT_GMMIO           2         /* > 4G MMIO Space */
 #define PAT_NPIOP           3         /* Non Postable I/O Port Space */
 #define PAT_PIOP            4         /* Postable I/O Port Space */
-#define PAT_AHPA            5         /* Addional HPA Space */
+#define PAT_AHPA            5         /* Additional HPA Space */
 #define PAT_UFO             6         /* HPA Space (UFO for Mariposa) */
 #define PAT_GNIP            7         /* GNI Reserved Space */
 
@@ -292,7 +292,7 @@ struct pdc_pat_pd_addr_map_entry {
 * ----------------------------------------------------------
 * Bit  0 to 51 - conf_base_addr
 * Bit 52 to 62 - reserved
-* Bit       63 - endianess bit
+* Bit       63 - endianness bit
 ********************************************************************/
 #define PAT_GET_CBA(value) ((value) & 0xfffffffffffff000UL)
 
diff --git a/arch/parisc/include/asm/special_insns.h b/arch/parisc/include/asm/special_insns.h
index 1013eeba31e5..9a54df5eb4f4 100644
--- a/arch/parisc/include/asm/special_insns.h
+++ b/arch/parisc/include/asm/special_insns.h
@@ -34,7 +34,7 @@
 
 /**
  * prober_user() - Probe user read access
- * @sr:		Space regster.
+ * @sr:		Space register.
  * @va:		Virtual address.
  *
  * Return: Non-zero if address is accessible.
diff --git a/arch/parisc/include/uapi/asm/mman.h b/arch/parisc/include/uapi/asm/mman.h
index b6a709506987..aca942f1386c 100644
--- a/arch/parisc/include/uapi/asm/mman.h
+++ b/arch/parisc/include/uapi/asm/mman.h
@@ -55,7 +55,7 @@
 #define MADV_HUGEPAGE	14		/* Worth backing with hugepages */
 #define MADV_NOHUGEPAGE 15		/* Not worth backing with hugepages */
 
-#define MADV_DONTDUMP   16		/* Explicity exclude from the core dump,
+#define MADV_DONTDUMP   16		/* Explicitly exclude from the core dump,
 					   overrides the coredump filter bits */
 #define MADV_DODUMP	17		/* Clear the MADV_NODUMP flag */
 
diff --git a/arch/parisc/kernel/perf_images.h b/arch/parisc/kernel/perf_images.h
index 7afa2fd550bf..6fd5b3c434f1 100644
--- a/arch/parisc/kernel/perf_images.h
+++ b/arch/parisc/kernel/perf_images.h
@@ -574,7 +574,7 @@ static uint32_t onyx_images[][PCXU_IMAGE_SIZE/sizeof(uint32_t)] __ro_after_init
 0xffffffff,0xffffffff,0xffffffff,0xffffffff,
 0xffffffff,0xffffffff},
 
-/* isnt
+/* isn't
  *
  * ctr0: counts the total number of cycles for which iside_notrans is asserted 
  * ctr1: counts the number of times iside_notrans is asserted for 1-4 cycles 
@@ -2645,7 +2645,7 @@ static uint32_t cuda_images[][PCXW_IMAGE_SIZE/sizeof(uint32_t)] __ro_after_init
    },
 
 
-/* isnt image  (Image 13)
+/* isn't image  (Image 13)
  * 
  * ctr0 : Total number of cycles for which iside_notrans is asserted. 
  * ctr1 : Total number of times iside_notrans is asserted for 1-4 cycles. 
diff --git a/arch/parisc/lib/memcpy.c b/arch/parisc/lib/memcpy.c
index 03165c82dfdb..93d4e17d7e68 100644
--- a/arch/parisc/lib/memcpy.c
+++ b/arch/parisc/lib/memcpy.c
@@ -47,7 +47,7 @@ unsigned long raw_copy_from_user(void *dst, const void __user *src,
 			break;
 		}
 		start += PAGE_SIZE;
-		/* align to page boundry which may have different permission */
+		/* align to page boundary which may have different permission */
 		start = PAGE_ALIGN_DOWN(start);
 	}
 	return len - newlen + pa_memcpy(dst, (void __force *)src, newlen);
diff --git a/drivers/parisc/ccio-dma.c b/drivers/parisc/ccio-dma.c
index dc1b6d11f9ab..a85efc41ce27 100644
--- a/drivers/parisc/ccio-dma.c
+++ b/drivers/parisc/ccio-dma.c
@@ -415,7 +415,7 @@ ccio_alloc_range(struct ioc *ioc, struct device *dev, size_t size)
  * @pages_mapped: The requested number of pages to be freed from the
  * I/O Pdir.
  *
- * This function frees the resouces allocated for the iova.
+ * This function frees the resources allocated for the iova.
  */
 static void
 ccio_free_range(struct ioc *ioc, dma_addr_t iova, unsigned long pages_mapped)
diff --git a/drivers/parisc/dino.c b/drivers/parisc/dino.c
index 4b96d9fda49a..286f4f75dba7 100644
--- a/drivers/parisc/dino.c
+++ b/drivers/parisc/dino.c
@@ -590,7 +590,7 @@ dino_card_fixup(struct pci_dev *dev)
 	dino_cfg_write(dev->bus, dev->devfn, PCI_INTERRUPT_LINE, 1, dev->irq); 
 }
 
-/* The alignment contraints for PCI bridges under dino */
+/* The alignment constraints for PCI bridges under dino */
 #define DINO_BRIDGE_ALIGN 0x100000
 
 
diff --git a/drivers/parisc/pdc_stable.c b/drivers/parisc/pdc_stable.c
index 16f4496bca95..6b567a74fc2c 100644
--- a/drivers/parisc/pdc_stable.c
+++ b/drivers/parisc/pdc_stable.c
@@ -586,7 +586,7 @@ static ssize_t pdcs_autosearch_read(struct kobject *kobj,
  * @attr: The kobject attributes.
  * @buf: The output buffer to write to.
  *
- * The value of the timer field correponds to a number of seconds in powers of 2.
+ * The value of the timer field corresponds to a number of seconds in powers of 2.
  */
 static ssize_t pdcs_timer_read(struct kobject *kobj,
 			       struct kobj_attribute *attr, char *buf)
diff --git a/drivers/parisc/sba_iommu.c b/drivers/parisc/sba_iommu.c
index e0a148ab5876..ecc7bb7a8468 100644
--- a/drivers/parisc/sba_iommu.c
+++ b/drivers/parisc/sba_iommu.c
@@ -599,7 +599,7 @@ sba_io_pdir_entry(__le64 *pdir_ptr, space_t sid, phys_addr_t pba,
  * corresponding IO TLB entry. The Ike PCOM (Purge Command Register)
  * is to purge stale entries in the IO TLB when unmapping entries.
  *
- * The PCOM register supports purging of multiple pages, with a minium
+ * The PCOM register supports purging of multiple pages, with a minimum
  * of 1 page and a maximum of 2GB. Hardware requires the address be
  * aligned to the size of the range being purged. The size of the range
  * must be a power of 2. The "Cool perf optimization" in the
diff --git a/drivers/parport/parport_gsc.c b/drivers/parport/parport_gsc.c
index e5e8054a1af8..0a9f7fdb25bc 100644
--- a/drivers/parport/parport_gsc.c
+++ b/drivers/parport/parport_gsc.c
@@ -348,7 +348,7 @@ static int __init parport_init_chip(struct parisc_device *dev)
 	 */
 	if (boot_cpu_data.cpu_type > pcxt && !pdc_add_valid(port+4)) {
 
-		/* Initialize bidirectional-mode (0x10) & data-tranfer-mode #1 (0x20) */
+		/* Initialize bidirectional-mode (0x10) & data-transfer-mode #1 (0x20) */
 		pr_info("%s: initialize bidirectional-mode\n", __func__);
 		parport_writeb ( (0x10 + 0x20), port + 4);
 
-- 
2.48.1


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

* Re: [PATCH] parisc: fix typos in comments
  2022-04-30 19:07 Julia Lawall
@ 2022-05-09  8:43 ` Helge Deller
  0 siblings, 0 replies; 3+ messages in thread
From: Helge Deller @ 2022-05-09  8:43 UTC (permalink / raw)
  To: Julia Lawall
  Cc: kernel-janitors, James E.J. Bottomley, linux-parisc, linux-kernel

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 <Julia.Lawall@inria.fr>

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
>  	{
>


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

* [PATCH] parisc: fix typos in comments
@ 2022-04-30 19:07 Julia Lawall
  2022-05-09  8:43 ` Helge Deller
  0 siblings, 1 reply; 3+ messages in thread
From: Julia Lawall @ 2022-04-30 19:07 UTC (permalink / raw)
  To: Helge Deller
  Cc: kernel-janitors, James E.J. Bottomley, linux-parisc, linux-kernel

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

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

---
 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
 	{


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

end of thread, other threads:[~2026-09-04 12:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 12:13 [PATCH] parisc: fix typos in comments Hemanth Selam
  -- strict thread matches above, loose matches on Subject: below --
2022-04-30 19:07 Julia Lawall
2022-05-09  8:43 ` Helge Deller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®