OSDN Git Service

staging: wilc1000: fix return type of host_int_add_rx_gtk
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 8 Nov 2015 07:49:05 +0000 (16:49 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:14:03 +0000 (14:14 -0800)
commit1503457f7f08c2a9907060f8beca3a35c6c0c047
tree4c30583dd3983556cdcb2626d4eab72aa3822b50
parent8ab8c59218d79effc763d6f20cb0d0bad783fd56
staging: wilc1000: fix return type of host_int_add_rx_gtk

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