summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2016-06-13 01:28:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-25 23:38:49 +0200
commiteebb4df136a8b60b2fddda3886aaf20c8f3a644f (patch)
tree22a302b9c94bb3064881ed2d406a38031333f9a3 /drivers
parentstaging: wilc1000: change handle_cfg_param's return type to void (diff)
downloadlinux-eebb4df136a8b60b2fddda3886aaf20c8f3a644f.tar.xz
linux-eebb4df136a8b60b2fddda3886aaf20c8f3a644f.zip
staging: wilc1000: change data type of result in handle_cfg_param
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/wilc1000/host_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index aeb355e81d64..0220045e3af8 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -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;