]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
staging: wilc1000: fix return type of wilc_remain_on_channel
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 3 Jan 2016 08:35:34 +0000 (17:35 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:11:00 +0000 (15:11 -0800)
commit6d6bc4003b0a0930b8be8d69d5fc5ea4174577b7
tree02f910e25b80b9d9e54522a3a4e31f1c4605eeb9
parentfb6e06806b31867e31e095303688cc5dd7503f4a
staging: wilc1000: fix return type of wilc_remain_on_channel

This patch changes return type of wilc_remain_on_channel from s32 to
int. The result variable gets return value from wilc_mq_send that has
data 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