mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
rtlwifi: fix build warning
Tasklet conversion patch introduced a build
warning in _rtl_usb_init_rx, this patch fixes the warning.
Reported-by: kernel test robot <[email protected]>
Fixes: d3ccc14dfe ("rtlwifi/rtw88: convert tasklets to use new tasklet_setup() API")
Signed-off-by: Allen Pais <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
This commit is contained in:
1 parent
5d4650ae8b
commit
6b8c7574a5
1 file changed
+2
-1
@@ -310,7 +310,8 @@ static int _rtl_usb_init_rx(struct ieee80211_hw *hw)
|
||||
init_usb_anchor(&rtlusb->rx_cleanup_urbs);
|
||||
|
||||
skb_queue_head_init(&rtlusb->rx_queue);
|
||||
rtlusb->rx_work_tasklet.func = (void(*)(unsigned long))_rtl_rx_work;
|
||||
rtlusb->rx_work_tasklet.func = (void(*))_rtl_rx_work;
|
||||
rtlusb->rx_work_tasklet.data = (unsigned long)&rtlusb->rx_work_tasklet;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user