summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6655/key.c
diff options
context:
space:
mode:
authorCharles Clément <caratorn@gmail.com>2010-06-24 22:02:25 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-25 01:23:17 +0400
commit0f4c60d61e9c10a0733eacd650c101189bdf75cd (patch)
tree88cd18c474739648e45ec68e303c0f7351ee546c /drivers/staging/vt6655/key.c
parent17701d14b613b8495cdd8b803c22d3f33d1face8 (diff)
downloadlinux-0f4c60d61e9c10a0733eacd650c101189bdf75cd.tar.xz
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/key.c')
-rw-r--r--drivers/staging/vt6655/key.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/vt6655/key.c b/drivers/staging/vt6655/key.c
index 3fab4d5713fe..0283d0f62c4e 100644
--- a/drivers/staging/vt6655/key.c
+++ b/drivers/staging/vt6655/key.c
@@ -134,7 +134,7 @@ void KeyvInitTable (PSKeyManagement pTable, unsigned long dwIoBase)
BOOL KeybGetKey (
PSKeyManagement pTable,
unsigned char *pbyBSSID,
- DWORD dwKeyIndex,
+ unsigned long dwKeyIndex,
PSKeyItem *pKey
)
{
@@ -192,7 +192,7 @@ BOOL KeybGetKey (
BOOL KeybSetKey (
PSKeyManagement pTable,
unsigned char *pbyBSSID,
- DWORD dwKeyIndex,
+ unsigned long dwKeyIndex,
unsigned long uKeyLength,
PQWORD pKeyRSC,
unsigned char *pbyKey,
@@ -365,7 +365,7 @@ BOOL KeybSetKey (
BOOL KeybRemoveKey (
PSKeyManagement pTable,
unsigned char *pbyBSSID,
- DWORD dwKeyIndex,
+ unsigned long dwKeyIndex,
unsigned long dwIoBase
)
{
@@ -472,7 +472,7 @@ BOOL KeybRemoveAllKey (
*/
void KeyvRemoveWEPKey (
PSKeyManagement pTable,
- DWORD dwKeyIndex,
+ unsigned long dwKeyIndex,
unsigned long dwIoBase
)
{
@@ -520,7 +520,7 @@ void KeyvRemoveAllWEPKey (
BOOL KeybGetTransmitKey (
PSKeyManagement pTable,
unsigned char *pbyBSSID,
- DWORD dwKeyType,
+ unsigned long dwKeyType,
PSKeyItem *pKey
)
{
@@ -633,7 +633,7 @@ BOOL KeybCheckPairewiseKey (
*/
BOOL KeybSetDefaultKey (
PSKeyManagement pTable,
- DWORD dwKeyIndex,
+ unsigned long dwKeyIndex,
unsigned long uKeyLength,
PQWORD pKeyRSC,
unsigned char *pbyKey,
@@ -740,7 +740,7 @@ BOOL KeybSetDefaultKey (
*/
BOOL KeybSetAllGroupKey (
PSKeyManagement pTable,
- DWORD dwKeyIndex,
+ unsigned long dwKeyIndex,
unsigned long uKeyLength,
PQWORD pKeyRSC,
unsigned char *pbyKey,