Skip to contentSkip to conversation

m68k/mac: Fixed duplicate "in" in comments.

PATCH In review Xin Gao 2 participants 2 messages Jul 20, 2022

Subsystems (2)
lore
Share & tools
lore

Xin Gao

author
#0 lore raw

PATCH 1/1 m68k/mac: Fixed duplicate "in" in comments.

Fixed duplicate "in" in comments.

---
 arch/m68k/mac/misc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/m68k/mac/misc.c +1 -1
index 4fab34791758..29a4cb46af01 100644
@@ -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;
Signature · 1 line
2.30.2
#1 lore raw

Hi Xin,

Quoted 3 lines · Xin Gao

Fixed duplicate "in" in comments.

Thanks for your patch!

arch/m68k/mac/misc.c static void via_rtc_send(__u8 data) · line 129

Quoted 8 lines
arch/m68k/mac/misc.c +1 -1
@@ -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 */

The original was correct.
Ask yourself the question: "How should the bits go in?" "In MSB order".

arch/m68k/mac/misc.c static void via_rtc_send(__u8 data) · line 132

Quoted 3 lines
arch/m68k/mac/misc.c +0 -0
        for (i = 0 ; i < 8 ; i++) {
                bit = data & 0x80? 1 : 0;

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