lkml.org 
[lkml]   [2013]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 162/222] staging: vt6656: 64bit fixes: key.c/h change unsigned long to u32
    Date
    3.5.7.3 -stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Malcolm Priestley <tvboxspy@gmail.com>

    commit c0d05b305b00c698b0a8c1b3d46c9380bce9db45 upstream.

    Fixes long issues.

    Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
    ---
    drivers/staging/vt6656/key.c | 6 +++---
    drivers/staging/vt6656/key.h | 8 ++++----
    2 files changed, 7 insertions(+), 7 deletions(-)

    diff --git a/drivers/staging/vt6656/key.c b/drivers/staging/vt6656/key.c
    index 94b3e67..ba3a561 100644
    --- a/drivers/staging/vt6656/key.c
    +++ b/drivers/staging/vt6656/key.c
    @@ -223,7 +223,7 @@ BOOL KeybSetKey(
    PSKeyManagement pTable,
    PBYTE pbyBSSID,
    DWORD dwKeyIndex,
    - unsigned long uKeyLength,
    + u32 uKeyLength,
    PQWORD pKeyRSC,
    PBYTE pbyKey,
    BYTE byKeyDecMode
    @@ -675,7 +675,7 @@ BOOL KeybSetDefaultKey(
    void *pDeviceHandler,
    PSKeyManagement pTable,
    DWORD dwKeyIndex,
    - unsigned long uKeyLength,
    + u32 uKeyLength,
    PQWORD pKeyRSC,
    PBYTE pbyKey,
    BYTE byKeyDecMode
    @@ -791,7 +791,7 @@ BOOL KeybSetAllGroupKey(
    void *pDeviceHandler,
    PSKeyManagement pTable,
    DWORD dwKeyIndex,
    - unsigned long uKeyLength,
    + u32 uKeyLength,
    PQWORD pKeyRSC,
    PBYTE pbyKey,
    BYTE byKeyDecMode
    diff --git a/drivers/staging/vt6656/key.h b/drivers/staging/vt6656/key.h
    index f749c7a..bd35d39 100644
    --- a/drivers/staging/vt6656/key.h
    +++ b/drivers/staging/vt6656/key.h
    @@ -58,7 +58,7 @@
    typedef struct tagSKeyItem
    {
    BOOL bKeyValid;
    - unsigned long uKeyLength;
    + u32 uKeyLength;
    BYTE abyKey[MAX_KEY_LEN];
    QWORD KeyRSC;
    DWORD dwTSC47_16;
    @@ -107,7 +107,7 @@ BOOL KeybSetKey(
    PSKeyManagement pTable,
    PBYTE pbyBSSID,
    DWORD dwKeyIndex,
    - unsigned long uKeyLength,
    + u32 uKeyLength,
    PQWORD pKeyRSC,
    PBYTE pbyKey,
    BYTE byKeyDecMode
    @@ -146,7 +146,7 @@ BOOL KeybSetDefaultKey(
    void *pDeviceHandler,
    PSKeyManagement pTable,
    DWORD dwKeyIndex,
    - unsigned long uKeyLength,
    + u32 uKeyLength,
    PQWORD pKeyRSC,
    PBYTE pbyKey,
    BYTE byKeyDecMode
    @@ -156,7 +156,7 @@ BOOL KeybSetAllGroupKey(
    void *pDeviceHandler,
    PSKeyManagement pTable,
    DWORD dwKeyIndex,
    - unsigned long uKeyLength,
    + u32 uKeyLength,
    PQWORD pKeyRSC,
    PBYTE pbyKey,
    BYTE byKeyDecMode
    --
    1.7.9.5


    \
     
     \ /
      Last update: 2013-01-16 19:01    [W:4.108 / U:0.360 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site