projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc6138b
)
staging: wilc1000: change data type of result in handle_set_ip_address
author
Chaehyun Lim
<
[email protected]
>
Tue, 19 Apr 2016 00:35:30 +0000
(09:35 +0900)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 29 Apr 2016 05:04:55 +0000
(22:04 -0700)
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: Chaehyun Lim <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/wilc1000/host_interface.c
patch
|
blob
|
history
diff --git
a/drivers/staging/wilc1000/host_interface.c
b/drivers/staging/wilc1000/host_interface.c
index 7fcdbb3b4ddf05d5bda4eee22f34eb821007db97..936664824df04e76ac2685333fa9f3128939822b 100644
(file)
--- a/
drivers/staging/wilc1000/host_interface.c
+++ b/
drivers/staging/wilc1000/host_interface.c
@@
-351,7
+351,7
@@
static void handle_set_operation_mode(struct wilc_vif *vif,
static void handle_set_ip_address(struct wilc_vif *vif, u8 *ip_addr, u8 idx)
{
-
s32
result = 0;
+
int
result = 0;
struct wid wid;
char firmware_ip_addr[4] = {0};