aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2012-09-23 12:57:23 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-26 12:23:31 -0400
commit53176607a470092ad62a2268860308f441e493cd (patch)
treea91b5ab25f2a9237601be6db1d7dc71461f3a6e0
parentc06df2334ce9a0072c94ffffcd8977fe726015f1 (diff)
staging: rtl8712: fix foo* bar (foo*) errors reported by checkpatch
fixes the following errors: drivers/staging/rtl8712/rtl871x_security.c:61: ERROR: "foo * bar" should be "foo *bar" drivers/staging/rtl8712/rtl871x_security.c:291: ERROR: "foo * bar" should be "foo *bar" drivers/staging/rtl8712/rtl871x_security.c:323: ERROR: "foo * bar" should be "foo *bar" drivers/staging/rtl8712/rtl871x_security.c:1371: ERROR: "(foo*)" should be "(foo *)" Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8712/rtl871x_security.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_security.c b/drivers/staging/rtl8712/rtl871x_security.c
index 7b92927a04dc..e33fd6db246d 100644
--- a/drivers/staging/rtl8712/rtl871x_security.c
+++ b/drivers/staging/rtl8712/rtl871x_security.c
@@ -58,7 +58,7 @@ struct arc4context {
58 u8 state[256]; 58 u8 state[256];
59}; 59};
60 60
61static void arcfour_init(struct arc4context *parc4ctx, u8 * key, u32 key_len) 61static void arcfour_init(struct arc4context *parc4ctx, u8 *key, u32 key_len)
62{ 62{
63 u32 t, u; 63 u32 t, u;
64 u32 keyindex; 64 u32 keyindex;
@@ -288,7 +288,7 @@ static void secmicclear(struct mic_data *pmicdata)
288 pmicdata->M = 0; 288 pmicdata->M = 0;
289} 289}
290 290
291void r8712_secmicsetkey(struct mic_data *pmicdata, u8 * key) 291void r8712_secmicsetkey(struct mic_data *pmicdata, u8 *key)
292{ 292{
293 /* Set the key */ 293 /* Set the key */
294 pmicdata->K0 = secmicgetuint32(key); 294 pmicdata->K0 = secmicgetuint32(key);
@@ -320,7 +320,7 @@ static void secmicappendbyte(struct mic_data *pmicdata, u8 b)
320 } 320 }
321} 321}
322 322
323void r8712_secmicappend(struct mic_data *pmicdata, u8 * src, u32 nbytes) 323void r8712_secmicappend(struct mic_data *pmicdata, u8 *src, u32 nbytes)
324{ 324{
325 /* This is simple */ 325 /* This is simple */
326 while (nbytes > 0) { 326 while (nbytes > 0) {
@@ -1368,7 +1368,7 @@ u32 r8712_aes_decrypt(struct _adapter *padapter, u8 *precvframe)
1368 precvframe)->u.hdr.attrib; 1368 precvframe)->u.hdr.attrib;
1369 struct security_priv *psecuritypriv = &padapter->securitypriv; 1369 struct security_priv *psecuritypriv = &padapter->securitypriv;
1370 1370
1371 pframe = (unsigned char *)((union recv_frame*)precvframe)-> 1371 pframe = (unsigned char *)((union recv_frame *)precvframe)->
1372 u.hdr.rx_data; 1372 u.hdr.rx_data;
1373 /* 4 start to encrypt each fragment */ 1373 /* 4 start to encrypt each fragment */
1374 if ((prxattrib->encrypt == _AES_)) { 1374 if ((prxattrib->encrypt == _AES_)) {