]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: fix return type of wilc_set_join_req
authorChaehyun Lim <chaehyun.lim@gmail.com>
Thu, 24 Dec 2015 07:52:20 +0000 (16:52 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:08:06 +0000 (15:08 -0800)
commit1ed49a9a1dbb2f4ec004ee5bdc809c6bc12b468a
tree26833cb2ce4da0bf8e2eaba4234f4b7a93f2cc38
parent69220b6b4b87bb69e6bcd34acaf531723ede0ba6
staging: wilc1000: fix return type of wilc_set_join_req

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