summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2015-10-02 07:41:19 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-02 10:05:53 (GMT)
commit7584019e575286d35b2a1151a8f7f3038bf3d377 (patch)
tree90d8b8690c2adafd5bd61733fa87204d37d36386 /drivers
parent9a4598316e20a30a8926a81e2032f592ebe7e42a (diff)
downloadlinux-7584019e575286d35b2a1151a8f7f3038bf3d377.tar.xz
staging: wilc1000: set_channel: fix data type of s32Error
This patch changes data type of s32Error variable from s32 to int because return type of this function is 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/wilc_wfi_cfgoperations.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index d71034f..ebfcad4 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -663,7 +663,7 @@ static int set_channel(struct wiphy *wiphy,
{
u32 channelnum = 0;
struct wilc_priv *priv;
- s32 s32Error = 0;
+ int s32Error = 0;
priv = wiphy_priv(wiphy);