]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
staging: wilc1000: change data type of result in handle_set_operation_mode
authorChaehyun Lim <chaehyun.lim@gmail.com>
Wed, 6 Apr 2016 23:10:42 +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 81d2105680103f57657e9c0b135eae81beb827f2..4b891c219219d1b5a6cf932f79e67f0ab79ed77d 100644 (file)
@@ -331,7 +331,7 @@ static void handle_set_wfi_drv_handler(struct wilc_vif *vif,
 static void handle_set_operation_mode(struct wilc_vif *vif,
                                      struct op_mode *hif_op_mode)
 {
-       s32 result = 0;
+       int result = 0;
        struct wid wid;
 
        wid.id = (u16)WID_SET_OPERATION_MODE;