[PATCH] mm: fix typos in comments

From: Julia Lawall
Date: Fri Mar 18 2022 - 06:40:29 EST


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

Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxxx>

---
arch/alpha/boot/bootpz.c | 2 +-
arch/alpha/kernel/osf_sys.c | 2 +-
arch/alpha/kernel/sys_eiger.c | 4 ++--
arch/alpha/kernel/sys_takara.c | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/alpha/boot/bootpz.c b/arch/alpha/boot/bootpz.c
index 90a2b341e9c0..f7657507d2a5 100644
--- a/arch/alpha/boot/bootpz.c
+++ b/arch/alpha/boot/bootpz.c
@@ -456,7 +456,7 @@ start_kernel(void)
#ifdef DEBUG_LAST_STEPS
srm_printk("Preparing INITRD info...\n");
#endif
- /* Finally, set the INITRD paramenters for the kernel. */
+ /* Finally, set the INITRD parameters for the kernel. */
((long *)(ZERO_PGE+256))[0] = initrd_image_start;
((long *)(ZERO_PGE+256))[1] = INITRD_IMAGE_SIZE;

diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c
index 8bbeebb73cf0..e46f76b79826 100644
--- a/arch/alpha/kernel/osf_sys.c
+++ b/arch/alpha/kernel/osf_sys.c
@@ -825,7 +825,7 @@ SYSCALL_DEFINE5(osf_setsysinfo, unsigned long, op, void __user *, buffer,

/*
* Alpha Architecture Handbook 4.7.7.3:
- * To be fully IEEE compiant, we must track the current IEEE
+ * To be fully IEEE compliant, we must track the current IEEE
* exception state in software, because spurious bits can be
* set in the trap shadow of a software-complete insn.
*/
diff --git a/arch/alpha/kernel/sys_eiger.c b/arch/alpha/kernel/sys_eiger.c
index aea8a54da4bc..fbe264a30a66 100644
--- a/arch/alpha/kernel/sys_eiger.c
+++ b/arch/alpha/kernel/sys_eiger.c
@@ -98,7 +98,7 @@ eiger_device_interrupt(unsigned long vector)
if (intstatus) {
/*
* This is a PCI interrupt. Check each bit and
- * despatch an interrupt if it's set.
+ * dispatch an interrupt if it's set.
*/

if (intstatus & 8) handle_irq(16+3);
@@ -148,7 +148,7 @@ eiger_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)

/* The SRM console has already calculated out the IRQ value's for
option cards. As this works lets just read in the value already
- set and change it to a useable value by Linux.
+ set and change it to a usable value by Linux.

All the IRQ values generated by the console are greater than 90,
so we subtract 80 because it is (90 - allocated ISA IRQ's). */
diff --git a/arch/alpha/kernel/sys_takara.c b/arch/alpha/kernel/sys_takara.c
index 9e2adb69bc74..aa65a7fb8fc6 100644
--- a/arch/alpha/kernel/sys_takara.c
+++ b/arch/alpha/kernel/sys_takara.c
@@ -93,7 +93,7 @@ takara_device_interrupt(unsigned long vector)
if (intstatus) {
/*
* This is a PCI interrupt. Check each bit and
- * despatch an interrupt if it's set.
+ * dispatch an interrupt if it's set.
*/

if (intstatus & 8) handle_irq(16+3);