summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/rxtx.c
diff options
context:
space:
mode:
authorCharles Clément <caratorn@gmail.com>2010-06-24 11:02:25 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-24 14:23:17 -0700
commit0f4c60d61e9c10a0733eacd650c101189bdf75cd (patch)
tree88cd18c474739648e45ec68e303c0f7351ee546c /drivers/staging/vt6655/rxtx.c
parent17701d14b613b8495cdd8b803c22d3f33d1face8 (diff)
downloadlinux-stable-0f4c60d61e9c10a0733eacd650c101189bdf75cd.tar.gz
linux-stable-0f4c60d61e9c10a0733eacd650c101189bdf75cd.tar.bz2
linux-stable-0f4c60d61e9c10a0733eacd650c101189bdf75cd.zip
Staging: vt6655: remove DWORD typedef
Replace all occurrences with unsigned long type, except for pointer fields that should be u32 in packed structures and 8-byte-aligned 8 byte long structure QWORD. Thanks to Jiri Slaby for pointing out that simply replacing by unsigned long is wrong on x86-64 arch. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6655/rxtx.c')
-rw-r--r--drivers/staging/vt6655/rxtx.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c
index 478c140be11c..6664d78e8db6 100644
--- a/drivers/staging/vt6655/rxtx.c
+++ b/drivers/staging/vt6655/rxtx.c
@@ -225,7 +225,7 @@ s_vFillTxKey (
unsigned long *pdwExtIV = (unsigned long *) ((unsigned char *)pbyIVHead+4);
WORD wValue;
PS802_11Header pMACHeader = (PS802_11Header)pbyHdrBuf;
- DWORD dwRevIVCounter;
+ unsigned long dwRevIVCounter;
BYTE byKeyIndex = 0;
@@ -337,7 +337,7 @@ s_vSWencryption (
)
{
unsigned int cbICVlen = 4;
- DWORD dwICV = 0xFFFFFFFFL;
+ unsigned long dwICV = 0xFFFFFFFFL;
unsigned long *pdwICV;
if (pTransmitKey == NULL)
@@ -1355,13 +1355,13 @@ s_cbFillTxBufHead (
unsigned int uLength = 0;
unsigned int uTmpLen = 0;
// BYTE abyTmp[8];
-// DWORD dwCRC;
+// unsigned long dwCRC;
unsigned int cbMICHDR = 0;
- DWORD dwMICKey0, dwMICKey1;
- DWORD dwMIC_Priority;
+ unsigned long dwMICKey0, dwMICKey1;
+ unsigned long dwMIC_Priority;
unsigned long *pdwMIC_L;
unsigned long *pdwMIC_R;
- DWORD dwSafeMIC_L, dwSafeMIC_R; //Fix "Last Frag Size" < "MIC length".
+ unsigned long dwSafeMIC_L, dwSafeMIC_R; //Fix "Last Frag Size" < "MIC length".
BOOL bMIC2Frag = FALSE;
unsigned int uMICFragLen = 0;
unsigned int uMACfragNum = 1;
@@ -2850,8 +2850,8 @@ vDMA0_tx_80211(PSDevice pDevice, struct sk_buff *skb, unsigned char *pbMPDU, un
unsigned int uPadding = 0;
unsigned int cbMICHDR = 0;
unsigned int uLength = 0;
- DWORD dwMICKey0, dwMICKey1;
- DWORD dwMIC_Priority;
+ unsigned long dwMICKey0, dwMICKey1;
+ unsigned long dwMIC_Priority;
unsigned long *pdwMIC_L;
unsigned long *pdwMIC_R;
WORD wTxBufSize;