]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: change data type of result in handle_set_ip_address
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 19 Apr 2016 00:35:30 +0000 (09:35 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 05:04:55 +0000 (22:04 -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 7fcdbb3b4ddf05d5bda4eee22f34eb821007db97..936664824df04e76ac2685333fa9f3128939822b 100644 (file)
@@ -351,7 +351,7 @@ static void handle_set_operation_mode(struct wilc_vif *vif,
 
 static void handle_set_ip_address(struct wilc_vif *vif, u8 *ip_addr, u8 idx)
 {
-       s32 result = 0;
+       int result = 0;
        struct wid wid;
        char firmware_ip_addr[4] = {0};