Skip to contentSkip to conversation

drivers: staging: rtl8188eu: core: rtw_security: Misspelled word

PATCH Superseded Ioana Ciornei 2 participants 4 messages Mar 9, 2015 Staging

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: staging: rtl8188eu: core: rtw_security: Misspelled word

This patch fixes the checkpatch.pl warning:

WARNING: 'halfs' may be misspelled - perhaps 'halves'?

---
 drivers/staging/rtl8188eu/core/rtw_security.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/rtl8188eu/core/rtw_security.c +6 -6
index f8981f5..34860f2 100644
@@ -854,7 +854,7 @@ static void mix_column(u8 *in, u8 *out)
 	u8 add1b[4];
 	u8 add1bf7[4];
 	u8 rotl[4];
-	u8 swap_halfs[4];
+	u8 swap_halves[4];
 	u8 andf7[4];
 	u8 rotr[4];
 	u8 temp[4];
@@ -866,10 +866,10 @@ static void mix_column(u8 *in, u8 *out)
 			add1b[i] = 0x00;
 	}
 
-	swap_halfs[0] = in[2];    /* Swap halves */
-	swap_halfs[1] = in[3];
-	swap_halfs[2] = in[0];
-	swap_halfs[3] = in[1];
+	swap_halves[0] = in[2];    /* Swap halves */
+	swap_halves[1] = in[3];
+	swap_halves[2] = in[0];
+	swap_halves[3] = in[1];
 
 	rotl[0] = in[3];	/* Rotate left 8 bits */
 	rotl[1] = in[0];
@@ -900,7 +900,7 @@ static void mix_column(u8 *in, u8 *out)
 	rotr[3] = temp[0];
 
 	xor_32(add1bf7, rotr, temp);
-	xor_32(swap_halfs, rotl, tempb);
+	xor_32(swap_halves, rotl, tempb);
 	xor_32(temp, tempb, out);
 }
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 5 lines · Ioana Ciornei

This patch fixes the checkpatch.pl warning:

WARNING: 'halfs' may be misspelled - perhaps 'halves'?

Hi,

Commit subject should contain a verb :).

In this case:

drivers: staging: rtl8188eu: core: rtw_security: Fix misspelled word

#2 lore raw
Quoted 9 lines · Daniel Baluta
Quoted 5 lines · On Mon, Mar 9, 2015 at 3:04 PM, Ioana Ciornei <[email protected]…

This patch fixes the checkpatch.pl warning:

WARNING: 'halfs' may be misspelled - perhaps 'halves'?

Signed-off-by Ioana Ciornei <[email protected] <javascript:>>
Quoted 8 lines

Hi,

Commit subject should contain a verb :).

In this case:

drivers: staging: rtl8188eu: core: rtw_security: Fix misspelled word

Hi,

Should I update the patch?

#3 lore raw
Quoted 15 lines · Ioana Ciornei
Quoted 12 lines · Daniel Baluta
Quoted 5 lines · Ioana Ciornei

This patch fixes the checkpatch.pl warning:

WARNING: 'halfs' may be misspelled - perhaps 'halves'?

Hi,

Commit subject should contain a verb :).

Quoted 8 lines
Quoted 3 lines

In this case:

drivers: staging: rtl8188eu: core: rtw_security: Fix misspelled word

Hi,

Should I update the patch?

Yes, please send v2.