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

This patch changes return type of host_int_wait_msg_queue_idle from s32
to int. s32Error gets return value from wilc_mq_send that has return
type of int. It should be changed return type of
host_int_wait_msg_queue_idle 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