提交 098bd3fd 编写于 作者: C Chaehyun Lim 提交者: Greg Kroah-Hartman

staging: wilc1000: change data type of result in handle_get_mac_address

This patch changes data type of result variable from s32 to int. result
is used to get return value from wilc_send_config_pkt that has return
type of int.
Signed-off-by: NChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 93dc5d55
...@@ -401,7 +401,7 @@ static void handle_get_ip_address(struct wilc_vif *vif, u8 idx) ...@@ -401,7 +401,7 @@ static void handle_get_ip_address(struct wilc_vif *vif, u8 idx)
static void handle_get_mac_address(struct wilc_vif *vif, static void handle_get_mac_address(struct wilc_vif *vif,
struct get_mac_addr *get_mac_addr) struct get_mac_addr *get_mac_addr)
{ {
s32 result = 0; int result = 0;
struct wid wid; struct wid wid;
wid.id = (u16)WID_MAC_ADDR; wid.id = (u16)WID_MAC_ADDR;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册