staging: wilc1000: use int instead of u32
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 3 Jan 2016 08:35:53 +0000 (17:35 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:11:00 +0000 (15:11 -0800)
The variable i is used as array index 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 a3f120aebf0449f37960e48762de6756c2f65059..c0f30a29cc9bace43c835647e48ca77c9c28c541 100644 (file)
@@ -4306,7 +4306,7 @@ int wilc_del_allstation(struct wilc_vif *vif, u8 mac_addr[][ETH_ALEN])
        struct del_all_sta *del_all_sta_info = &msg.body.del_all_sta_info;
        struct host_if_drv *hif_drv = vif->hif_drv;
        u8 zero_addr[ETH_ALEN] = {0};
-       u32 i;
+       int i;
        u8 u8AssocNumb = 0;
 
        if (!hif_drv) {