]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: change data type of result in handle_get_mac_address
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 2 May 2016 10:47:54 +0000 (19:47 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 May 2016 21:05:59 +0000 (14:05 -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 23bbaa8ae933e64a547646f54ede7e647c88788f..71d6b667aa2450f997815a65066cfce96be2598b 100644 (file)
@@ -401,7 +401,7 @@ static void handle_get_ip_address(struct wilc_vif *vif, u8 idx)
 static void handle_get_mac_address(struct wilc_vif *vif,
                                   struct get_mac_addr *get_mac_addr)
 {
-       s32 result = 0;
+       int result = 0;
        struct wid wid;
 
        wid.id = (u16)WID_MAC_ADDR;