projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b58c18c
)
zd1211rw: fix build warning
author
Allen Pais
<allen.lkml@gmail.com>
Mon, 31 Aug 2020 04:34:25 +0000
(10:04 +0530)
committer
Kalle Valo
<kvalo@codeaurora.org>
Tue, 1 Sep 2020 08:59:14 +0000
(11:59 +0300)
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
drivers/net/wireless/zydas/zd1211rw/zd_usb.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/zydas/zd1211rw/zd_usb.c
b/drivers/net/wireless/zydas/zd1211rw/zd_usb.c
index
8b3d248
..
71ec3d4
100644
(file)
--- 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)