* [PATCH] mm: fix typos in comments
@ 2022-03-18 10:37 Julia Lawall
2022-03-18 11:07 ` Joe Perches
0 siblings, 1 reply; 3+ messages in thread
From: Julia Lawall @ 2022-03-18 10:37 UTC (permalink / raw)
To: Richard Henderson
Cc: kernel-janitors, Ivan Kokshaysky, Matt Turner, linux-alpha,
linux-kernel
Various spelling mistakes in comments.
Detected with the help of Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
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);
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mm: fix typos in comments
2022-03-18 10:37 [PATCH] mm: fix typos in comments Julia Lawall
@ 2022-03-18 11:07 ` Joe Perches
2022-03-18 11:15 ` Julia Lawall
0 siblings, 1 reply; 3+ messages in thread
From: Joe Perches @ 2022-03-18 11:07 UTC (permalink / raw)
To: Julia Lawall, Richard Henderson
Cc: kernel-janitors, Ivan Kokshaysky, Matt Turner, linux-alpha,
linux-kernel
On Fri, 2022-03-18 at 11:37 +0100, Julia Lawall wrote:
> Various spelling mistakes in comments.
[]
> diff --git a/arch/alpha/kernel/sys_eiger.c b/arch/alpha/kernel/sys_eiger.c
[]
> @@ -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.
generally accepted alternative spelling.
https://www.dictionary.com/browse/useable
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mm: fix typos in comments
2022-03-18 11:07 ` Joe Perches
@ 2022-03-18 11:15 ` Julia Lawall
0 siblings, 0 replies; 3+ messages in thread
From: Julia Lawall @ 2022-03-18 11:15 UTC (permalink / raw)
To: Joe Perches
Cc: Julia Lawall, Richard Henderson, kernel-janitors, Ivan Kokshaysky,
Matt Turner, linux-alpha, linux-kernel
On Fri, 18 Mar 2022, Joe Perches wrote:
> On Fri, 2022-03-18 at 11:37 +0100, Julia Lawall wrote:
> > Various spelling mistakes in comments.
> []
> > diff --git a/arch/alpha/kernel/sys_eiger.c b/arch/alpha/kernel/sys_eiger.c
> []
> > @@ -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.
>
> generally accepted alternative spelling.
>
> https://www.dictionary.com/browse/useable
OK, thanks.
julia
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-03-18 11:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-18 10:37 [PATCH] mm: fix typos in comments Julia Lawall
2022-03-18 11:07 ` Joe Perches
2022-03-18 11:15 ` Julia Lawall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox