]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: replace u8 with int.
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 27 Oct 2015 23:19:21 +0000 (08:19 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Oct 2015 23:50:45 +0000 (08:50 +0900)
This patch changes data type of variable i from u8 to int.
It is used as index of an array to print its content. It's better
to use as 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 a29a3637c383552d8f373cbd1f473c6e14374dff..3fd6914f7ccc1f78816678453eb2c022eea04b25 100644 (file)
@@ -3148,7 +3148,7 @@ int host_int_add_wep_key_bss_ap(struct host_if_drv *hif_drv,
 {
        int result = 0;
        struct host_if_msg msg;
-       u8 i;
+       int i;
 
        if (!hif_drv) {
                PRINT_ER("driver is null\n");