staging: wilc1000: change data type of result variable to int.
authorChaehyun Lim <chaehyun.lim@gmail.com>
Fri, 12 Feb 2016 14:04:45 +0000 (23:04 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Feb 2016 00:25:38 +0000 (16:25 -0800)
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 <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index eecd697c3f0274761f34741ea7a988eb71bae57b..0f7a36c3af7c2d7f9c0b6d92c7d98ecbc94166c5 100644 (file)
@@ -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;