]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: wilc1000: fix return type of host_int_add_station
authorChaehyun Lim <chaehyun.lim@gmail.com>
Fri, 6 Nov 2015 10:11:16 +0000 (19:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commit18cfbd334e83e4716cabc7b278eb6aa52f0f97c0
tree08bf1ac1a447eeb055e8c8adb98730e0fac4b414
parentc87fbede0fc852753c74e554206023b5d98b7cd7
staging: wilc1000: fix return type of host_int_add_station

This patch changes return type of host_int_add_station from s32 to int.
The result variable gets return value from wilc_mq_send that has return
type of int. It should be changed return type of this function as well
as data type of result variable.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h