From: Chaehyun Lim Date: Fri, 2 Oct 2015 07:41:19 +0000 (+0900) Subject: staging: wilc1000: set_channel: fix data type of s32Error X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7584019e575286d35b2a1151a8f7f3038bf3d377;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index d71034f54ee7..ebfcad49a151 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);