summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/zydas
diff options
context:
space:
mode:
authorAllen Pais <allen.lkml@gmail.com>2020-08-31 06:34:25 +0200
committerKalle Valo <kvalo@codeaurora.org>2020-09-01 10:59:14 +0200
commit5d4650ae8ba66695ab8cdc32ca7e8d0d9c8f2099 (patch)
treefb5d4158a0ced7c4331526c5e208eae2b4eaf4d5 /drivers/net/wireless/zydas
parentrtlwifi: rtl8723-common: Rename RT_TRACE to rtl_dbg (diff)
downloadlinux-5d4650ae8ba66695ab8cdc32ca7e8d0d9c8f2099.tar.xz
linux-5d4650ae8ba66695ab8cdc32ca7e8d0d9c8f2099.zip
zd1211rw: fix build warning
Tasklet conversion patches intoruced a build warning in init_usb_rx(), this patch fixes the same. Reported-by: kernel test robot <lkp@intel.com> Fixes: 26721b02466e ("zd1211rw: convert tasklets to use new tasklet_setup() API") Signed-off-by: Allen Pais <allen.lkml@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200831043425.281538-1-allen.lkml@gmail.com
Diffstat (limited to 'drivers/net/wireless/zydas')
-rw-r--r--drivers/net/wireless/zydas/zd1211rw/zd_usb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_usb.c b/drivers/net/wireless/zydas/zd1211rw/zd_usb.c
index 8b3d248bac6e..71ec3d4231ef 100644
--- a/drivers/net/wireless/zydas/zd1211rw/zd_usb.c
+++ b/drivers/net/wireless/zydas/zd1211rw/zd_usb.c
@@ -1178,8 +1178,9 @@ static inline void init_usb_rx(struct zd_usb *usb)
}
ZD_ASSERT(rx->fragment_length == 0);
INIT_DELAYED_WORK(&rx->idle_work, zd_rx_idle_timer_handler);
- rx->reset_timer_tasklet.func = (void (*)(unsigned long))
+ rx->reset_timer_tasklet.func = (void (*))
zd_usb_reset_rx_idle_timer_tasklet;
+ rx->reset_timer_tasklet.data = (unsigned long)&rx->reset_timer_tasklet;
}
static inline void init_usb_tx(struct zd_usb *usb)