From 7584019e575286d35b2a1151a8f7f3038bf3d377 Mon Sep 17 00:00:00 2001 From: Chaehyun Lim Date: Fri, 2 Oct 2015 16:41:19 +0900 Subject: [PATCH] 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 --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1