wireless: rtlwifi/rtw88: fix build warning
PATCH 1/1 wireless: rtlwifi/rtw88: 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]>
Signed-off-by Allen Pais <[email protected]>
--- drivers/net/wireless/realtek/rtlwifi/usb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/realtek/rtlwifi/usb.c +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 ; }
Signature · 1 line
2.25.1
Quoted 8 lines · Allen Pais
Tasklet conversion patch introduced a build
warning in_rtl_usb_init_rx, this patch fixes the warning.Reported-by kernel test robot <[email protected]>Signed-off-by Allen Pais <[email protected]>--- drivers/net/wireless/realtek/rtlwifi/usb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
I'll change the title:
rtlwifi: fix build warning
And add:
Fixes d3ccc14dfe95 ("rtlwifi/rtw88: convert tasklets to use new tasklet_setup() API")
Signature · 1 line
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Re: rtlwifi: fix build warning
In reply to Allen PaisQuoted 6 lines · Allen Pais
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 d3ccc14dfe95 ("rtlwifi/rtw88: convert tasklets to use new tasklet_setup() API")Signed-off-by Allen Pais <[email protected]>
Patch applied to wireless-drivers-next.git, thanks.
6b8c7574a5f8 rtlwifi: fix build warning
Signature · 3 lines
https://patchwork.kernel.org/patch/11745471/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches