Skip to content

Commit

Permalink
fix: build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeno-sole committed May 18, 2022
1 parent 0330b7d commit 55edba8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hal/hal_hci/hal_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ int usb_init_recv_priv(_adapter *padapter, u16 ini_in_buf_sz)

#ifdef PLATFORM_LINUX
tasklet_init(&precvpriv->recv_tasklet,
(void(*)(unsigned long))usb_recv_tasklet,
(void(*))usb_recv_tasklet,
(unsigned long)padapter);
#endif /* PLATFORM_LINUX */

Expand Down
2 changes: 1 addition & 1 deletion hal/rtl8822b/usb/rtl8822bu_xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ s32 rtl8822bu_init_xmit_priv(PADAPTER padapter)

#ifdef PLATFORM_LINUX
tasklet_init(&pxmitpriv->xmit_tasklet,
(void(*)(unsigned long))rtl8822bu_xmit_tasklet,
(void(*))rtl8822bu_xmit_tasklet,
(unsigned long)padapter);
#endif
#ifdef CONFIG_TX_EARLY_MODE
Expand Down

0 comments on commit 55edba8

Please sign in to comment.