From 987ab5eb5fedd3dc60fe766df01cf5042f83edf8 Mon Sep 17 00:00:00 2001 From: Chaehyun Lim Date: Fri, 12 Feb 2016 23:04:45 +0900 Subject: [PATCH] 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 --- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5