]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: fix return type of host_int_set_mac_chnl_num
authorChaehyun Lim <chaehyun.lim@gmail.com>
Fri, 2 Oct 2015 12:44:47 +0000 (21:44 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 08:42:39 +0000 (09:42 +0100)
commitf7d8f57ec5ca1cc553e7321aec663d11d0471117
treec2aeb19c558a7f152375810e7bf07b86e0c48ec5
parente5d168835d235ee9abd32e77d7f40caa4013b8ab
staging: wilc1000: fix return type of host_int_set_mac_chnl_num

This patch changes return type of host_int_set_mac_chnl_num from s32 to
int. s32Error gets return value from wilc_mq_send function that
has return type of int. It should be changed return type of
host_int_set_mac_chnl_num function by int as well as data type of
s32Error.

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