parisc: fix typos in comments
Subsystems (2)
PATCH 1/1 parisc: fix typos in comments
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 <[email protected]>
--- 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(-)
arch/parisc/include/asm/pdcpat.h +2 -2
@@ -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)
arch/parisc/include/asm/special_insns.h +1 -1
@@ -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.
arch/parisc/include/uapi/asm/mman.h +1 -1
@@ -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 */
arch/parisc/kernel/perf_images.h +2 -2
@@ -574,7 +574,7 @@ static uint32_t onyx_images[][PCXU_IMAGE_SIZE/sizeof(uint32_t)] __ro_after_init0xffffffff ,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.
arch/parisc/lib/memcpy.c +1 -1
@@ -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);
drivers/parisc/ccio-dma.c +1 -1
@@ -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)
drivers/parisc/dino.c +1 -1
@@ -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
drivers/parisc/pdc_stable.c +1 -1
@@ -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)
drivers/parisc/sba_iommu.c +1 -1
@@ -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
drivers/parport/parport_gsc.c +1 -1
@@ -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 );
Signature · 1 line
2.48.1
Helge Deller
maintainerQuoted 6 lines · Hemanth Selam
Fix typos in comments, reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Quoted 12 lines
--- 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(-)
I've splitted it up in smaller patches per driver and applied them.
Thanks!
Helge