]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging: wilc1000: fix return type of wilc_get_statistics
authorChaehyun Lim <chaehyun.lim@gmail.com>
Thu, 24 Dec 2015 07:52:38 +0000 (16:52 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:08:06 +0000 (15:08 -0800)
commitcd163d32d1db882e01e7143be8ea7f7a6f61c108
tree890fc1745e6131f3bb4e4f486516bc9a9ea8f34e
parent652bb5e888bca319c3d69e5473a0823a739592b5
staging: wilc1000: fix return type of wilc_get_statistics

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