2022-05-02 23:33:37

by Julia Lawall

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

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

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

---
arch/m68k/coldfire/intc.c | 2 +-
arch/m68k/coldfire/m53xx.c | 2 +-
arch/m68k/coldfire/pci.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/m68k/coldfire/intc.c b/arch/m68k/coldfire/intc.c
index cce257420388..adb3cbf7e97a 100644
--- a/arch/m68k/coldfire/intc.c
+++ b/arch/m68k/coldfire/intc.c
@@ -28,7 +28,7 @@
unsigned char mcf_irq2imr[NR_IRQS];

/*
- * Define the miniumun and maximum external interrupt numbers.
+ * Define the minimum and maximum external interrupt numbers.
* This is also used as the "level" interrupt numbers.
*/
#define EIRQ1 25
diff --git a/arch/m68k/coldfire/m53xx.c b/arch/m68k/coldfire/m53xx.c
index bd033e1975bf..17af5f673796 100644
--- a/arch/m68k/coldfire/m53xx.c
+++ b/arch/m68k/coldfire/m53xx.c
@@ -532,7 +532,7 @@ int clock_pll(int fsys, int flags)
writel(readl(MCF_SDRAMC_SDCR) | MCF_SDRAMC_SDCR_CKE,
MCF_SDRAMC_SDCR);

- /* Errata - workaround for SDRAM opeartion after exiting LIMP mode */
+ /* Errata - workaround for SDRAM operation after exiting LIMP mode */
writel(MCF_SDRAMC_REFRESH, MCF_SDRAMC_LIMP_FIX);

/* wait for DQS logic to relock */
diff --git a/arch/m68k/coldfire/pci.c b/arch/m68k/coldfire/pci.c
index 84eab0f5e00a..ceb5775b8d23 100644
--- a/arch/m68k/coldfire/pci.c
+++ b/arch/m68k/coldfire/pci.c
@@ -31,7 +31,7 @@ static struct pci_bus *rootbus;
static unsigned long iospace;

/*
- * We need to be carefull probing on bus 0 (directly connected to host
+ * We need to be careful probing on bus 0 (directly connected to host
* bridge). We should only access the well defined possible devices in
* use, ignore aliases and the like.
*/


2022-05-03 00:19:52

by Geert Uytterhoeven

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

On Sat, Apr 30, 2022 at 9:11 PM Julia Lawall <[email protected]> wrote:
> Various spelling mistakes in comments.
> Detected with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <[email protected]>

Reviewed-by: Geert Uytterhoeven <[email protected]>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

2022-05-03 01:11:12

by Greg Ungerer

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

Hi Julia,

On 2/5/22 18:38, Geert Uytterhoeven wrote:
> On Sat, Apr 30, 2022 at 9:11 PM Julia Lawall <[email protected]> wrote:
>> Various spelling mistakes in comments.
>> Detected with the help of Coccinelle.
>>
>> Signed-off-by: Julia Lawall <[email protected]>
>
> Reviewed-by: Geert Uytterhoeven <[email protected]>

Thanks for the patch. I will add to the m68knommu git tree
(for-next branch).

Regards
Greg