DKMS make.log for mt7610u_sta-1.0 for kernel 4.15.0-kali2-amd64 (x86_64)
Thu Aug 2 12:09:15 EDT 2018
make -C tools
cp -f os/linux/Makefile.6 /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/Makefile
make[1]: Entering directory '/var/lib/dkms/mt7610u_sta/1.0/build/tools'
gcc -g bin2h.c -o bin2h
make -C /lib/modules/4.15.0-kali2-amd64/build SUBDIRS=/var/lib/dkms/mt7610u_sta/1.0/build/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-kali2-amd64'
make[1]: Leaving directory '/var/lib/dkms/mt7610u_sta/1.0/build/tools'
/var/lib/dkms/mt7610u_sta/1.0/build/tools/bin2h
chipset = mt7610u
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_profile.o
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/assoc.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_profile.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/assoc.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_profile.c:341:16: warning: unused variable ‘pAd’ [-Wunused-variable]
RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
^~~
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_profile.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_profile.c:450:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_profile.c:450:9: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/assoc.c: In function ‘PeerAssocRspAction’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/assoc.c:1164:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
PFRAME_802_11 pFrame = (PFRAME_802_11) (Elem->Msg);
^~~~~~~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/assoc.c: In function ‘AssocPostProc’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/assoc.c:1450:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
PUCHAR pVIE;
^~~~~~
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/auth.o
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/auth_rsp.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/auth.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/auth_rsp.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sync.o
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sanity.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sanity.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sync.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/rtmp_data.o
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/connect.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/rtmp_data.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/wpa.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/connect.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/wpa.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.o
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mgmt/mgmt_vht.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mgmt/mgmt_vht.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c: In function ‘Set_EncrypType_Proc’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c:797:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
else
^~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c:800:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
if (pAd->StaCfg.BssType == BSS_ADHOC)
^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_siwfreq’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c:5734:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
else
^~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c:5737:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
return NDIS_STATUS_SUCCESS;
^~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_giwrate’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c:7617:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (rate_index >= rate_count)
^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../sta/sta_cfg.c:7620:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
*(ULONG *)pData = ralinkrate[rate_index] * 500000;
^
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/vht.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/vht.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_md5.o
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_sha2.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_md5.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_hmac.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_sha2.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/crypt_hmac.h:31,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_hmac.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.o
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_arc4.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/crypt_aes.h:31,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/crypt_arc4.h:31,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_arc4.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/crypt_aes.h:31,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.c:1459:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength));
^ ~~~~~~~~~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.c:1459:6: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength));
^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.c:1554:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength));
^ ~~~~~~~~~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/crypt_aes.c:1554:6: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength));
^~~~~~~~
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/mlme.o
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_wep.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/mlme.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_wep.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/action.o
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_data.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/action.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_data.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init_inf.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^
pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^
pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^
pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^
pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:719:4:
pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:719:31:
pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 9 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:719:58:
pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 10 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:719:85:
pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
~
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c: In function ‘NICInitAsicFromEEPROM’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:1061:9: warning: unused variable ‘i’ [-Wunused-variable]
USHORT i;
^
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c: In function ‘NICInitializeAsic’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:1684:1: warning: the frame size of 2056 bytes is larger than 2048 bytes [-Wframe-larger-than=]
}
^
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:719:85: warning: array subscript is above array bounds [-Warray-bounds]
pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
^
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:719:58: warning: array subscript is above array bounds [-Warray-bounds]
pAd->TssiPlusBoundaryA[1], pAd->TssiPlusBoundaryA[2], pAd->TssiPlusBoundaryA[3], pAd->TssiPlusBoundaryA[4],
^
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:717:32: warning: array subscript is above array bounds [-Warray-bounds]
pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
^
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:717:4: warning: array subscript is above array bounds [-Warray-bounds]
pAd->TssiMinusBoundaryA[4], pAd->TssiMinusBoundaryA[3], pAd->TssiMinusBoundaryA[2], pAd->TssiMinusBoundaryA[1],
^
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
^~~~~~~~
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_tkip.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_init_inf.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_aes.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_tkip.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_sync.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_aes.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/eeprom.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_sync.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_sanity.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/eeprom.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_sanity.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c: In function ‘Set_DebugFunc_Proc’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:1084:30: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘ULONG {aka long unsigned int}’ [-Wformat=]
DBGPRINT_S(RT_DEBUG_TRACE, ("Set RTDebugFunc = 0x%x\n", RTDebugFunc));
^
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:684:9: note: in definition of macro ‘DBGPRINT_S’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c: In function ‘GetEncryptType’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:1752:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(enc == Ndis802_11Encryption3Enabled)
^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:1754:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if(enc == Ndis802_11Encryption4Enabled)
^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c: In function ‘GetAuthMode’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:1764:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(auth == Ndis802_11AuthModeShared)
^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:1766:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if(auth == Ndis802_11AuthModeAutoSwitch)
^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:1776:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(auth == Ndis802_11AuthModeWPA2PSK)
^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:1778:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if(auth == Ndis802_11AuthModeWPA1WPA2)
^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c: In function ‘Show_PMK_Proc’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:4214:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for (idx = 0; idx < 32; idx++)
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:4217:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
return 0;
^~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c: In function ‘set_rf’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_info.c:5960:28: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 5 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
rv = sscanf(arg, "%d-%d-%x", &(bank_id), &(rf_id), &(rf_val));
~^ ~~~~~~~~~
%hhx
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_cfg.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_cfg.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_cfg.c: In function ‘RTMP_COM_IoctlHandle’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_cfg.c:705:32: warning: unused variable ‘ppINTF’ [-Wunused-variable]
VOID **ppINTF = (VOID **)pData;
^~~~~~
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_wpa.o
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_radar.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_wpa.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_wpa.c: In function ‘WPAStart2WayGroupHS’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_wpa.c:1249:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if ((!pEntry) || !IS_ENTRY_CLIENT(pEntry))
^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_wpa.c:1254:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
os_alloc_mem(NULL, (PUCHAR *)&mpool, TX_EAPOL_BUFFER);
^~~~~~~~~~~~
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_radar.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/spectrum.o
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_timer.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/spectrum.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/spectrum.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/spectrum.c:1972:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
^
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/spectrum.c:1972:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
^~~~~~~~
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rtmp_timer.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rt_channel.o
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_profile.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rt_channel.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_profile.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_asic.o
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/scan.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_asic.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_asic.c: In function ‘AsicUpdateProtect’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_asic.c:330:21: warning: large integer implicitly truncated to unsigned type [-Woverflow]
UCHAR i, PhyMode = 0x4000;
^~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_asic.c:384:12: warning: large integer implicitly truncated to unsigned type [-Woverflow]
PhyMode = 0x2000; /* Bit 15:13, 0:Legacy CCK, 1: Legacy OFDM, 2: HT mix mode, 3: HT green field, 4: VHT mode, 5-7: Reserved */
^~~~~~
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_cmd.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/scan.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/uapsd.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/cmm_cmd.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/ps.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/uapsd.c:29:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../rate_ctrl/ra_ctrl.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/ps.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../rate_ctrl/alg_legacy.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../rate_ctrl/ra_ctrl.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../rate_ctrl/alg_ags.o
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../chips/rtmp_chip.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../rate_ctrl/alg_legacy.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/txpower.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../chips/rtmp_chip.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mac/rtmp_mac.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/txpower.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mgmt/mgmt_hw.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mac/rtmp_mac.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mgmt/mgmt_entrytb.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mgmt/mgmt_hw.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rtmp_phy.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mgmt/mgmt_entrytb.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_phy.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rtmp_phy.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_rf.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_phy.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_phy.c: In function ‘rtmp_bbp_get_temp’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_phy.c:68:9: warning: unused variable ‘bbp_val’ [-Wunused-variable]
UINT32 bbp_val;
^~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_phy.c: In function ‘rtmp_bbp_tx_comp_init’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_phy.c:83:8: warning: unused variable ‘rf_val’ [-Wunused-variable]
UCHAR rf_val;
^~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_phy.c:82:9: warning: unused variable ‘bbp_val’ [-Wunused-variable]
UINT32 bbp_val;
^~~~~~~
At top level:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_phy.c:153:14: warning: ‘vht_prim_ch_val’ defined but not used [-Wunused-variable]
static UCHAR vht_prim_ch_val[] = {
^~~~~~~~~~~~~~~
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../rate_ctrl/alg_grp.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../phy/rlt_rf.c:30:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/ba_action.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../rate_ctrl/alg_grp.c:29:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/ba_action.c:30:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mgmt/mgmt_ht.o
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rt_os_util.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../mgmt/mgmt_ht.c:28:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/sta_ioctl.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../common/rt_os_util.c:33:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
CC [M] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.o
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/sta_ioctl.c:30:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:31:
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
<command-line>:0:0: note: this is the location of the previous definition
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c: In function ‘__RTMP_OS_Init_Timer’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:117:3: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration]
init_timer(pTimer);
^~~~~~~~~~
init_timers
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:118:9: error: ‘OS_NDIS_MINIPORT_TIMER {aka struct timer_list}’ has no member named ‘data’
pTimer->data = (unsigned long)data;
^~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:119:20: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
pTimer->function = function;
^
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsUsDelay’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:176:8: warning: unused variable ‘i’ [-Wunused-variable]
ULONG i;
^
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRelease’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:2159:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
struct net_device *net_dev = (struct net_device *)pNetDev;
^~~~~~~
In file included from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:31:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c: In function ‘CFG80211_SupBandInit’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:2663:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
CFG80211DBG(RT_DEBUG_ERROR, ("80211> Number of channel = %d\n",
^
/var/lib/dkms/mt7610u_sta/1.0/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/var/lib/dkms/mt7610u_sta/1.0/build/include/rtmp_comm.h:324:37: note: in expansion of macro ‘DBGPRINT’
#define CFG80211DBG(__Flg, __pMsg) DBGPRINT(__Flg, __pMsg)
^~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:2663:2: note: in expansion of macro ‘CFG80211DBG’
CFG80211DBG(RT_DEBUG_ERROR, ("80211> Number of channel = %d\n",
^~~~~~~~~~~
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c: In function ‘CFG80211OS_Scaning’:
/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.c:3234:2: warning: ignoring return value of ‘cfg80211_inform_bss_frame’, declared with attribute warn_unused_result [-Wunused-result]
cfg80211_inform_bss_frame(pCfg80211_CB->pCfg80211_Wdev->wiphy,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&pCfg80211_CB->ChanInfo[IdChan],
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(struct ieee80211_mgmt *)pFrame,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FrameLen,
~~~~~~~~~
RSSI,
~~~~~
GFP_ATOMIC);
~~~~~~~~~~~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.15.0-kali2-common/scripts/Makefile.build:329: recipe for target '/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.o' failed
make[4]: *** [/var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../os/linux/rt_linux.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/usr/src/linux-headers-4.15.0-kali2-common/Makefile:1528: recipe for target '_module_/var/lib/dkms/mt7610u_sta/1.0/build/os/linux' failed
make[3]: *** [_module_/var/lib/dkms/mt7610u_sta/1.0/build/os/linux] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-kali2-amd64'
Makefile:394: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2