]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: wilc1000: change data type of result in handle_cfg_param
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 12 Jun 2016 23:28:11 +0000 (08:28 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2016 21:38:49 +0000 (14:38 -0700)
This patch changes data type of result variable from s32 to int. result
is used to get return value from wilc_send_config_pkt that has return
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 aeb355e81d64d2428dd01086425e448dbfe3e739..0220045e3af8f73518ab604fd8c74ae38f734ed5 100644 (file)
@@ -420,7 +420,7 @@ static void handle_get_mac_address(struct wilc_vif *vif,
 static void handle_cfg_param(struct wilc_vif *vif,
                             struct cfg_param_attr *cfg_param_attr)
 {
-       s32 result = 0;
+       int result = 0;
        struct wid wid_list[32];
        struct host_if_drv *hif_drv = vif->hif_drv;
        int i = 0;