Skip to contentSkip to conversation

staging:rtl8188eu Fix remove semicolon in do {}while(0)

PATCH New Janani Sankara Babu 1 participant 1 message Sep 21, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging:rtl8188eu Fix remove semicolon in do {}while(0)

This patch removes the semicolon at the end of while statement in the do while macro , inorder to avoid it behaving like compound statement.

---
 drivers/staging/rtl8188eu/core/rtw_security.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8188eu/core/rtw_security.c +1 -1
index b283a490..5b1ef22 100644
@@ -1690,4 +1690,4 @@ u32	rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe)
 	d##1 = TE0(s##1) ^ TE1(s##2) ^ TE2(s##3) ^ TE3(s##0) ^ rk[4 * i + 1]; \
 	d##2 = TE0(s##2) ^ TE1(s##3) ^ TE2(s##0) ^ TE3(s##1) ^ rk[4 * i + 2]; \
 	d##3 = TE0(s##3) ^ TE1(s##0) ^ TE2(s##1) ^ TE3(s##2) ^ rk[4 * i + 3]; \
-} while (0);
+} while (0)
Signature · 1 line
1.9.1