From: Chaehyun Lim Date: Fri, 12 Feb 2016 14:04:45 +0000 (+0900) Subject: staging: wilc1000: change data type of result variable to int. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=987ab5eb5fedd3dc60fe766df01cf5042f83edf8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: wilc1000: change data type of result variable to int. result variable gets value from wilc_send_config_pkt that has return value of int. This patch changes data type of result variable to 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 eecd697c3f02..0f7a36c3af7c 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -302,7 +302,7 @@ static struct wilc_vif *wilc_get_vif_from_idx(struct wilc *wilc, int idx) static void handle_set_channel(struct wilc_vif *vif, struct channel_attr *hif_set_ch) { - s32 result = 0; + int result = 0; struct wid wid; wid.id = (u16)WID_CURRENT_CHANNEL;