[PATCH 10/12] staging: wilc1000: set_channel: fix data type of s32Error
Chaehyun Lim
chaehyun.lim at gmail.com
Thu Oct 1 13:43:57 UTC 2015
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 at gmail.com>
---
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 732d631..3b32a6c 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.6.0
More information about the devel
mailing list