Commit c0d05b30 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: 64bit fixes: key.c/h change unsigned long to u32

Fixes long issues.
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b4dc03af
...@@ -223,7 +223,7 @@ BOOL KeybSetKey( ...@@ -223,7 +223,7 @@ BOOL KeybSetKey(
PSKeyManagement pTable, PSKeyManagement pTable,
PBYTE pbyBSSID, PBYTE pbyBSSID,
DWORD dwKeyIndex, DWORD dwKeyIndex,
unsigned long uKeyLength, u32 uKeyLength,
PQWORD pKeyRSC, PQWORD pKeyRSC,
PBYTE pbyKey, PBYTE pbyKey,
BYTE byKeyDecMode BYTE byKeyDecMode
...@@ -675,7 +675,7 @@ BOOL KeybSetDefaultKey( ...@@ -675,7 +675,7 @@ BOOL KeybSetDefaultKey(
void *pDeviceHandler, void *pDeviceHandler,
PSKeyManagement pTable, PSKeyManagement pTable,
DWORD dwKeyIndex, DWORD dwKeyIndex,
unsigned long uKeyLength, u32 uKeyLength,
PQWORD pKeyRSC, PQWORD pKeyRSC,
PBYTE pbyKey, PBYTE pbyKey,
BYTE byKeyDecMode BYTE byKeyDecMode
...@@ -791,7 +791,7 @@ BOOL KeybSetAllGroupKey( ...@@ -791,7 +791,7 @@ BOOL KeybSetAllGroupKey(
void *pDeviceHandler, void *pDeviceHandler,
PSKeyManagement pTable, PSKeyManagement pTable,
DWORD dwKeyIndex, DWORD dwKeyIndex,
unsigned long uKeyLength, u32 uKeyLength,
PQWORD pKeyRSC, PQWORD pKeyRSC,
PBYTE pbyKey, PBYTE pbyKey,
BYTE byKeyDecMode BYTE byKeyDecMode
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
typedef struct tagSKeyItem typedef struct tagSKeyItem
{ {
BOOL bKeyValid; BOOL bKeyValid;
unsigned long uKeyLength; u32 uKeyLength;
BYTE abyKey[MAX_KEY_LEN]; BYTE abyKey[MAX_KEY_LEN];
QWORD KeyRSC; QWORD KeyRSC;
DWORD dwTSC47_16; DWORD dwTSC47_16;
...@@ -107,7 +107,7 @@ BOOL KeybSetKey( ...@@ -107,7 +107,7 @@ BOOL KeybSetKey(
PSKeyManagement pTable, PSKeyManagement pTable,
PBYTE pbyBSSID, PBYTE pbyBSSID,
DWORD dwKeyIndex, DWORD dwKeyIndex,
unsigned long uKeyLength, u32 uKeyLength,
PQWORD pKeyRSC, PQWORD pKeyRSC,
PBYTE pbyKey, PBYTE pbyKey,
BYTE byKeyDecMode BYTE byKeyDecMode
...@@ -146,7 +146,7 @@ BOOL KeybSetDefaultKey( ...@@ -146,7 +146,7 @@ BOOL KeybSetDefaultKey(
void *pDeviceHandler, void *pDeviceHandler,
PSKeyManagement pTable, PSKeyManagement pTable,
DWORD dwKeyIndex, DWORD dwKeyIndex,
unsigned long uKeyLength, u32 uKeyLength,
PQWORD pKeyRSC, PQWORD pKeyRSC,
PBYTE pbyKey, PBYTE pbyKey,
BYTE byKeyDecMode BYTE byKeyDecMode
...@@ -156,7 +156,7 @@ BOOL KeybSetAllGroupKey( ...@@ -156,7 +156,7 @@ BOOL KeybSetAllGroupKey(
void *pDeviceHandler, void *pDeviceHandler,
PSKeyManagement pTable, PSKeyManagement pTable,
DWORD dwKeyIndex, DWORD dwKeyIndex,
unsigned long uKeyLength, u32 uKeyLength,
PQWORD pKeyRSC, PQWORD pKeyRSC,
PBYTE pbyKey, PBYTE pbyKey,
BYTE byKeyDecMode BYTE byKeyDecMode
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment