diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-03-06 22:44:22 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-08 22:31:31 -0800 |
commit | 4dbc77c098eee0270b501f92aeb33a0745e00b06 (patch) | |
tree | 391e7694e117d18626514f23fed9723dfaf829b2 /drivers/staging/vt6655/mac.h | |
parent | staging: vt6655: 64 bit Correct alignment of tx/rx structures. (diff) | |
download | linux-dev-4dbc77c098eee0270b501f92aeb33a0745e00b06.tar.xz linux-dev-4dbc77c098eee0270b501f92aeb33a0745e00b06.zip |
staging: vt6655: 64 bit fixes: MACvSetKeyEntry correct sizeof long,
Use u32 to correct the pointer of pdwKey and the size of dwData.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/mac.h')
-rw-r--r-- | drivers/staging/vt6655/mac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6655/mac.h b/drivers/staging/vt6655/mac.h index 3f177f7c581c..4615db05549f 100644 --- a/drivers/staging/vt6655/mac.h +++ b/drivers/staging/vt6655/mac.h @@ -1038,7 +1038,7 @@ bool MACbFlushSYNCFifo(unsigned long dwIoBase); bool MACbPSWakeup(unsigned long dwIoBase); void MACvSetKeyEntry(unsigned long dwIoBase, unsigned short wKeyCtl, unsigned int uEntryIdx, - unsigned int uKeyIdx, unsigned char *pbyAddr, unsigned long *pdwKey, unsigned char byLocalID); + unsigned int uKeyIdx, unsigned char *pbyAddr, u32 *pdwKey, unsigned char byLocalID); void MACvDisableKeyEntry(unsigned long dwIoBase, unsigned int uEntryIdx); void MACvSetDefaultKeyEntry(unsigned long dwIoBase, unsigned int uKeyLen, unsigned int uKeyIdx, unsigned long *pdwKey, unsigned char byLocalID); |