2022-06-10 09:10:10

by Xiang wangx

[permalink] [raw]
Subject: [PATCH v2] m68k: mac: Fix typo in comment

Delete the redundant word 'an'.
The second "and" should not be deleted, but replaced by "an".

Signed-off-by: Xiang wangx <[email protected]>
---
Changes since v1
*Change comments "and and" to "and an"

arch/m68k/mac/iop.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/m68k/mac/iop.c b/arch/m68k/mac/iop.c
index de156a027f5b..010b3b5ae8e8 100644
--- a/arch/m68k/mac/iop.c
+++ b/arch/m68k/mac/iop.c
@@ -25,7 +25,7 @@
* check this.)
* 990605 (jmt) - Rearranged things a bit wrt IOP detection; iop_present is
* gone, IOP base addresses are now in an array and the
- * globally-visible functions take an IOP number instead of an
+ * globally-visible functions take an IOP number instead of
* an actual base address.
* 990610 (jmt) - Finished the message passing framework and it seems to work.
* Sending _definitely_ works; my adb-bus.c mods can send
@@ -66,7 +66,7 @@
* a shared memory area in the IOP RAM. Each IOP has seven "channels"; each
* channel is connected to a specific software driver on the IOP. For example
* on the SCC IOP there is one channel for each serial port. Each channel has
- * an incoming and and outgoing message queue with a depth of one.
+ * an incoming and an outgoing message queue with a depth of one.
*
* A message is 32 bytes plus a state byte for the channel (MSG_IDLE, MSG_NEW,
* MSG_RCVD, MSG_COMPLETE). To send a message you copy the message into the
--
2.36.1


2022-06-13 07:54:01

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH v2] m68k: mac: Fix typo in comment

On Fri, Jun 10, 2022 at 10:42 AM Xiang wangx <[email protected]> wrote:
> Delete the redundant word 'an'.
> The second "and" should not be deleted, but replaced by "an".
>
> Signed-off-by: Xiang wangx <[email protected]>
> ---
> Changes since v1
> *Change comments "and and" to "and an"

Thanks for the update!

Reviewed-by: Geert Uytterhoeven <[email protected]>
i.e. will queue in the m68k for-v5.20 branch.

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