]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: wilc1000: change data type of result in handle_set_wfi_drv_handler
authorChaehyun Lim <chaehyun.lim@gmail.com>
Wed, 6 Apr 2016 23:10:39 +0000 (08:10 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 05:03:39 +0000 (22:03 -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 19d20b0b1af5d047b45df715bc78b4f2b98607ec..88141e6c796e4c1850ae8aeb2eb27e9489d2f15d 100644 (file)
@@ -310,7 +310,7 @@ static void handle_set_channel(struct wilc_vif *vif,
 static void handle_set_wfi_drv_handler(struct wilc_vif *vif,
                                       struct drv_handler *hif_drv_handler)
 {
-       s32 result = 0;
+       int result = 0;
        struct wid wid;
 
        wid.id = (u16)WID_SET_DRV_HANDLER;