OSDN Git Service

staging: wilc1000: fix return type of wilc_get_mac_address
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 22 Dec 2015 00:49:06 +0000 (09:49 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:05:35 +0000 (15:05 -0800)
commitdcb15a0810749865068784fae9f1e3d6c89240be
tree84164fe05e2d77db1c62b1e18964fc78816f69d7
parent16c0cba77369b25b790a4dee1a616ce6d69c92c6
staging: wilc1000: fix return type of wilc_get_mac_address

This patch changes return type of wilc_get_mac_address 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