提交 7584019e 编写于 作者: C Chaehyun Lim 提交者: Greg Kroah-Hartman

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: NChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 9a459831
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册