linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] wireless: rtlwifi/rtw88: fix build warning
@ 2020-08-31  4:36 Allen Pais
  2020-08-31 14:06 ` Kalle Valo
  2020-09-01  9:00 ` rtlwifi: " Kalle Valo
  0 siblings, 2 replies; 3+ messages in thread
From: Allen Pais @ 2020-08-31  4:36 UTC (permalink / raw)
  To: kvalo; +Cc: pkshih, davem, kuba, linux-wireless, Allen Pais,
	kernel test robot

 Tasklet conversion patch introduced a build
warning in _rtl_usb_init_rx, this patch fixes the warning.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Allen Pais <allen.lkml@gmail.com>
---
 drivers/net/wireless/realtek/rtlwifi/usb.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wireless/realtek/rtlwifi/usb.c b/drivers/net/wireless/realtek/rtlwifi/usb.c
index 8740818e8..6aa4bd2f7 100644
--- a/drivers/net/wireless/realtek/rtlwifi/usb.c
+++ b/drivers/net/wireless/realtek/rtlwifi/usb.c
@@ -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;
 }
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] wireless: rtlwifi/rtw88: fix build warning
  2020-08-31  4:36 [PATCH] wireless: rtlwifi/rtw88: fix build warning Allen Pais
@ 2020-08-31 14:06 ` Kalle Valo
  2020-09-01  9:00 ` rtlwifi: " Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2020-08-31 14:06 UTC (permalink / raw)
  To: Allen Pais; +Cc: pkshih, davem, kuba, linux-wireless, kernel test robot

Allen Pais <allen.lkml@gmail.com> writes:

>  Tasklet conversion patch introduced a build
> warning in _rtl_usb_init_rx, this patch fixes the warning.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Allen Pais <allen.lkml@gmail.com>
> ---
>  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")

-- 
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rtlwifi: fix build warning
  2020-08-31  4:36 [PATCH] wireless: rtlwifi/rtw88: fix build warning Allen Pais
  2020-08-31 14:06 ` Kalle Valo
@ 2020-09-01  9:00 ` Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2020-09-01  9:00 UTC (permalink / raw)
  To: Allen Pais
  Cc: pkshih, davem, kuba, linux-wireless, Allen Pais,
	kernel test robot

Allen Pais <allen.lkml@gmail.com> wrote:

> Tasklet conversion patch introduced a build
> warning in _rtl_usb_init_rx, this patch fixes the warning.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Fixes: d3ccc14dfe95 ("rtlwifi/rtw88: convert tasklets to use new tasklet_setup() API")
> Signed-off-by: Allen Pais <allen.lkml@gmail.com>

Patch applied to wireless-drivers-next.git, thanks.

6b8c7574a5f8 rtlwifi: fix build warning

-- 
https://patchwork.kernel.org/patch/11745471/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-01  9:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-31  4:36 [PATCH] wireless: rtlwifi/rtw88: fix build warning Allen Pais
2020-08-31 14:06 ` Kalle Valo
2020-09-01  9:00 ` rtlwifi: " Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).