staging: wilc1000: set_channel: fix data type of s32Error
authorChaehyun Lim <chaehyun.lim@gmail.com>
Fri, 2 Oct 2015 07:41:19 +0000 (16:41 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2015 10:05:53 +0000 (12:05 +0200)
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>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index d71034f..ebfcad4 100644 (file)
@@ -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);