mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-29 08:27:41 +00:00
Fixed compiler warnings instead of silencing them
This commit is contained in:
parent
16453b91b4
commit
de4b83f923
2
Makefile
2
Makefile
@ -6,7 +6,7 @@ EXTRA_CFLAGS += -O1
|
|||||||
#EXTRA_CFLAGS += -Werror
|
#EXTRA_CFLAGS += -Werror
|
||||||
#EXTRA_CFLAGS += -pedantic
|
#EXTRA_CFLAGS += -pedantic
|
||||||
#EXTRA_CFLAGS += -Wshadow -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
|
#EXTRA_CFLAGS += -Wshadow -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
|
||||||
EXTRA_CFLAGS += -Wno-cast-function-type
|
#EXTRA_CFLAGS += -Wno-cast-function-type
|
||||||
EXTRA_CFLAGS += -Wno-unused-variable
|
EXTRA_CFLAGS += -Wno-unused-variable
|
||||||
EXTRA_CFLAGS += -Wno-implicit-fallthrough
|
EXTRA_CFLAGS += -Wno-implicit-fallthrough
|
||||||
#EXTRA_CFLAGS += -Wno-unused-value
|
#EXTRA_CFLAGS += -Wno-unused-value
|
||||||
|
@ -3377,7 +3377,7 @@ void rtw_mesh_init_mesh_info(_adapter *adapter)
|
|||||||
|
|
||||||
_rtw_init_queue(&minfo->mpath_tx_queue);
|
_rtw_init_queue(&minfo->mpath_tx_queue);
|
||||||
tasklet_init(&minfo->mpath_tx_tasklet
|
tasklet_init(&minfo->mpath_tx_tasklet
|
||||||
, (void(*)(unsigned long))mpath_tx_tasklet_hdl
|
, (void(*))mpath_tx_tasklet_hdl
|
||||||
, (unsigned long)adapter);
|
, (unsigned long)adapter);
|
||||||
|
|
||||||
rtw_mrc_init(adapter);
|
rtw_mrc_init(adapter);
|
||||||
|
@ -26,7 +26,7 @@ int usb_init_recv_priv(_adapter *padapter, u16 ini_in_buf_sz)
|
|||||||
|
|
||||||
#ifdef PLATFORM_LINUX
|
#ifdef PLATFORM_LINUX
|
||||||
tasklet_init(&precvpriv->recv_tasklet,
|
tasklet_init(&precvpriv->recv_tasklet,
|
||||||
(void(*)(unsigned long))usb_recv_tasklet,
|
(void(*))usb_recv_tasklet,
|
||||||
(unsigned long)padapter);
|
(unsigned long)padapter);
|
||||||
#endif /* PLATFORM_LINUX */
|
#endif /* PLATFORM_LINUX */
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ s32 rtl8812au_init_xmit_priv(_adapter *padapter)
|
|||||||
|
|
||||||
#ifdef PLATFORM_LINUX
|
#ifdef PLATFORM_LINUX
|
||||||
tasklet_init(&pxmitpriv->xmit_tasklet,
|
tasklet_init(&pxmitpriv->xmit_tasklet,
|
||||||
(void(*)(unsigned long))rtl8812au_xmit_tasklet,
|
(void(*))rtl8812au_xmit_tasklet,
|
||||||
(unsigned long)padapter);
|
(unsigned long)padapter);
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_TX_EARLY_MODE
|
#ifdef CONFIG_TX_EARLY_MODE
|
||||||
|
Loading…
Reference in New Issue
Block a user