2022-09-08 13:27:23

by wangjianli

[permalink] [raw]
Subject: [PATCH] m68k/mac: fix repeated words in comments

Delete the redundant word 'in'.

Signed-off-by: wangjianli <[email protected]>
---
arch/m68k/mac/misc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/m68k/mac/misc.c b/arch/m68k/mac/misc.c
index 4fab34791758..29a4cb46af01 100644
--- a/arch/m68k/mac/misc.c
+++ b/arch/m68k/mac/misc.c
@@ -126,7 +126,7 @@ static void via_rtc_send(__u8 data)

reg = via1[vBufB] & ~(VIA1B_vRTCClk | VIA1B_vRTCData);

- /* The bits of the byte go in in MSB order */
+ /* The bits of the byte go in MSB order */

for (i = 0 ; i < 8 ; i++) {
bit = data & 0x80? 1 : 0;
--
2.36.1


2022-09-08 13:53:14

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH] m68k/mac: fix repeated words in comments

Hi Wangjianli,

On Thu, Sep 8, 2022 at 2:57 PM wangjianli <[email protected]> wrote:
> Delete the redundant word 'in'.
>
> Signed-off-by: wangjianli <[email protected]>

Thanks for your patch!

> --- a/arch/m68k/mac/misc.c
> +++ b/arch/m68k/mac/misc.c
> @@ -126,7 +126,7 @@ static void via_rtc_send(__u8 data)
>
> reg = via1[vBufB] & ~(VIA1B_vRTCClk | VIA1B_vRTCData);
>
> - /* The bits of the byte go in in MSB order */
> + /* The bits of the byte go in MSB order */
>
> for (i = 0 ; i < 8 ; i++) {
> bit = data & 0x80? 1 : 0;

The original is correct, cfr.
https://lore.kernel.org/linux-m68k/CAMuHMdVf7EOrXkUpa1E1Qx1w0Tvrt1nwRHM6B8rsGPOh=WsnyA@mail.gmail.com
https://lore.kernel.org/linux-m68k/CAMuHMdWwqKyvtxkvdng0EVFfKjz9iOjK3Dhfd+iru-j731azTw@mail.gmail.com

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