From: Chaehyun Lim Date: Tue, 22 Dec 2015 00:49:04 +0000 (+0900) Subject: staging: wilc1000: replace u32 with int X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=89dec13951e63f8d67ef32b3d6dd6ea782cd8c5b;p=openwrt%2Fstaging%2Fblogic.git staging: wilc1000: replace u32 with int The data type of variable i changes u32 to int. It is used as array index to copy some data with memcpy function so that it is better to use data type of int. Signed-off-by: Chaehyun Lim Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index c976c1f202f6..3ad4b0e09d88 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -3297,7 +3297,7 @@ int wilc_set_pmkid_info(struct wilc_vif *vif, int result = 0; struct host_if_msg msg; struct host_if_drv *hif_drv = vif->hif_drv; - u32 i; + int i; if (!hif_drv) { PRINT_ER("driver is null\n");