summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorIlia Sergachev <ilia.sergachev@unibas.ch>2017-07-09 23:36:35 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-16 08:40:58 +0200
commit8a88dd46c87bef398fce43b8bba581c0ac5146b2 (patch)
tree78b07552c55d949935741c719d996403a0d441cb /drivers
parent4c7be5583ded518a024d3d0ab1f3a423102294b0 (diff)
downloadlinux-stable-8a88dd46c87bef398fce43b8bba581c0ac5146b2.tar.gz
linux-stable-8a88dd46c87bef398fce43b8bba581c0ac5146b2.tar.bz2
linux-stable-8a88dd46c87bef398fce43b8bba581c0ac5146b2.zip
staging: wilc1000: fix variable signedness
txq_count receives a value from wilc_wlan_handle_txq() and therefore should be u32 found using sparse: drivers/staging/wilc1000/linux_wlan.c:306:58: warning: incorrect type in argument 2 (different signedness) Signed-off-by: Ilia Sergachev <ilia.sergachev@unibas.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/wilc1000/linux_wlan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
index dbb3e24615be..1266dcccad30 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -283,7 +283,8 @@ int wilc_wlan_get_num_conn_ifcs(struct wilc *wilc)
static int linux_wlan_txq_task(void *vp)
{
- int ret, txq_count;
+ int ret;
+ u32 txq_count;
struct wilc_vif *vif;
struct wilc *wl;
struct net_device *dev = vp;