]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: fix return type of wilc_remain_on_channel
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 3 Jan 2016 08:35:34 +0000 (17:35 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:11:00 +0000 (15:11 -0800)
commitfa4953e08007896f563aaf537b3e6d1e21b65bfe
tree02f910e25b80b9d9e54522a3a4e31f1c4605eeb9
parent86102e10537cc5787a1797efadac5b5854ed413b
staging: wilc1000: fix return type of wilc_remain_on_channel

This patch changes return type of wilc_remain_on_channel from s32 to
int. The result variable gets return value from wilc_mq_send that has
data 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