]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: replace u32 with int
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 8 Nov 2015 07:49:02 +0000 (16:49 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:14:03 +0000 (14:14 -0800)
The data type of variable i changes u32 to int.
It is used as array index to print debug message so that it is better to
use data type of int.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index fedd099b5298697497b7b86c1bbb227bc6e3cde2..a959f48d03f64e5a680b4ce21e4bff49681d8ebb 100644 (file)
@@ -3215,7 +3215,7 @@ int host_int_add_ptk(struct host_if_drv *hif_drv, const u8 *ptk,
        int result = 0;
        struct host_if_msg msg;
        u8 u8KeyLen = ptk_key_len;
-       u32 i;
+       int i;
 
        if (!hif_drv) {
                PRINT_ER("driver is null\n");