Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DKMS make.log for rt5592sta_linux_patched-dkms-2.6.0.0 for kernel 4.7.0-1-ARCH (x86_64)
- Tue Aug 16 00:32:57 CDT 2016
- make -C tools
- make[1]: Entering directory '/var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/tools'
- gcc -g bin2h.c -o bin2h
- make[1]: Leaving directory '/var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/tools'
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/tools/bin2h
- cp -f os/linux/Makefile.6 /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/Makefile
- make -C /lib/modules/4.7.0-1-ARCH/build SUBDIRS=/var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux modules
- make[1]: Entering directory '/usr/lib/modules/4.7.0-1-ARCH/build'
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/crypt_md5.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/crypt_sha2.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/crypt_hmac.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/crypt_aes.o
- In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44:0,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/crypt_aes.h:31,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/crypt_aes.c:28:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.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/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/os/rt_linux.h:665:16: note: in definition of macro ‘DBGPRINT_RAW’
- printk Fmt; \
- ^~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.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/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.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/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/os/rt_linux.h:665:16: note: in definition of macro ‘DBGPRINT_RAW’
- printk Fmt; \
- ^~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.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/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/crypt_arc4.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/mlme.o
- In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44:0,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/mlme.c:28:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/mlme.c:527:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- (UINT32)&pAd->RalinkCounters.OneSecEnd -
- ^
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/os/rt_linux.h:472:76: note: in definition of macro ‘NdisZeroMemory’
- #define NdisZeroMemory(Destination, Length) memset(Destination, 0, Length)
- ^~~~~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/mlme.c:528:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- (UINT32)&pAd->RalinkCounters.OneSecStart);
- ^
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/os/rt_linux.h:472:76: note: in definition of macro ‘NdisZeroMemory’
- #define NdisZeroMemory(Destination, Length) memset(Destination, 0, Length)
- ^~~~~~
- In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/chip/mac_pci.h:33:0,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_chip.h:37,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:38,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/mlme.c:28:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/mlme.c: In function ‘RTMPAdjustFrequencyOffset’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/chip/rtmp_phy.h:583:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘FreqOffset’ will never be NULL [-Waddress]
- if (_pVal1 != NULL) \
- ^
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/mlme.c:4990:2: note: in expansion of macro ‘RF_M_READ8’
- RF_M_READ8(pAd, RF_R17, &FreqOffset, &HighCurrentBit, 0x7F);
- ^~~~~~~~~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/chip/rtmp_phy.h:585:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘HighCurrentBit’ will never be NULL [-Waddress]
- if (_pVal2 != NULL) \
- ^
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/mlme.c:4990:2: note: in expansion of macro ‘RF_M_READ8’
- RF_M_READ8(pAd, RF_R17, &FreqOffset, &HighCurrentBit, 0x7F);
- ^~~~~~~~~~
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_wep.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/action.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_data.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_init.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_init_inf.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_tkip.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_aes.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_sync.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/eeprom.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_sanity.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_info.o
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_info.c: In function ‘GetEncryptType’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_info.c:2666:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
- if(enc == Ndis802_11Encryption3Enabled)
- ^~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_info.c:2668:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
- if(enc == Ndis802_11Encryption4Enabled)
- ^~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_info.c: In function ‘GetAuthMode’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_info.c:2678:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
- if(auth == Ndis802_11AuthModeShared)
- ^~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_info.c:2680:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
- if(auth == Ndis802_11AuthModeAutoSwitch)
- ^~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_info.c:2690:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
- if(auth == Ndis802_11AuthModeWPA2PSK)
- ^~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_info.c:2692:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
- if(auth == Ndis802_11AuthModeWPA1WPA2)
- ^~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_info.c: In function ‘Show_PMK_Proc’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_info.c:5075:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
- for (idx = 0; idx < 32; idx++)
- ^~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_info.c:5078:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
- return 0;
- ^~~~~~
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_cfg.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_wpa.o
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_wpa.c: In function ‘PeerPairMsg3Action’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_wpa.c:1031:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
- BOOLEAN Cancelled;
- ^~~~~~~~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_wpa.c: In function ‘WPAStart2WayGroupHS’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_wpa.c:1250:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
- if ((!pEntry) || !IS_ENTRY_CLIENT(pEntry))
- ^~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_wpa.c:1255:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
- os_alloc_mem(NULL, (PUCHAR *)&mpool, TX_EAPOL_BUFFER);
- ^~~~~~~~~~~~
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_radar.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/spectrum.o
- In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44:0,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/spectrum.c:28:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.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/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/os/rt_linux.h:665:16: note: in definition of macro ‘DBGPRINT_RAW’
- printk Fmt; \
- ^~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.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)));
- ^~~~~~~~
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_timer.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rt_channel.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_profile.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_asic.o
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_asic.c: In function ‘AsicGetAutoAgcOffsetForTemperatureSensor’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_asic.c:1178:28: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- TxPowerTuningTableEntry0 = &TxPowerTuningTable[TuningTableIndex0 + TX_POWER_TUNING_ENTRY_OFFSET];
- ^
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_asic.c:1191:28: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- TxPowerTuningTableEntry1 = &TxPowerTuningTable[TuningTableIndex1 + TX_POWER_TUNING_ENTRY_OFFSET];
- ^
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_cmd.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/ps.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/uapsd.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../rate_ctrl/ra_ctrl.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../rate_ctrl/alg_legacy.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../rate_ctrl/alg_ags.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/rt_profile.o
- In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44:0,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/rt_profile.c:28:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/rt_profile.c:411: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/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/os/rt_linux.h:665:16: note: in definition of macro ‘DBGPRINT_RAW’
- printk Fmt; \
- ^~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/rt_profile.c:411: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)));
- ^~~~~~~~
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../chips/rtmp_chip.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/assoc.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/auth.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/auth_rsp.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sync.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sanity.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/rtmp_data.o
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxDataFrame’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/rtmp_data.c:283:17: warning: unused variable ‘pFmeCtrl’ [-Wunused-variable]
- FRAME_CONTROL *pFmeCtrl = &pHeader->FC;
- ^~~~~~~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/rtmp_data.c:282:8: warning: unused variable ‘OldPwrMgmt’ [-Wunused-variable]
- UCHAR OldPwrMgmt = PWR_ACTIVE;
- ^~~~~~~~~~
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/connect.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/wpa.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.o
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c: In function ‘Set_EncrypType_Proc’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c:682:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
- else
- ^~~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c:685:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
- if (pAd->StaCfg.BssType == BSS_ADHOC)
- ^~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c: In function ‘Set_XlinkMode_Proc’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c:1346:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
- else
- ^~~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c:1349:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
- if (pAd->StaCfg.PSPXlink)
- ^~
- In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44:0,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c:28:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c: In function ‘RTMPQueryInformation’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c:3953:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
- DBGPRINT(RT_DEBUG_TRACE, ("sizeof UCHAR=%d, channel=%d \n", sizeof(UCHAR), pAd->CommonCfg.Channel));
- ^
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/os/rt_linux.h:665:16: note: in definition of macro ‘DBGPRINT_RAW’
- printk Fmt; \
- ^~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c:3953:4: note: in expansion of macro ‘DBGPRINT’
- DBGPRINT(RT_DEBUG_TRACE, ("sizeof UCHAR=%d, channel=%d \n", sizeof(UCHAR), pAd->CommonCfg.Channel));
- ^~~~~~~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_siwfreq’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c:5129:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
- else
- ^~~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c:5132:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
- return NDIS_STATUS_SUCCESS;
- ^~~~~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_giwrate’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c:6957:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
- if (rate_index >= rate_count)
- ^~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c:6960:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
- *(ULONG *)pData = ralinkrate[rate_index] * 500000;
- ^
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rt_os_util.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/sta_ioctl.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/rt_linux.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/rt_main_dev.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/ba_action.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/dls.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rt_led.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_mac_pci.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_data_pci.o
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPFreeTXDUponTxDmaDone’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_data_pci.c:540:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
- UINT8 TXWISize = pAd->chipCap.TXWISize;
- ^~~~~~~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPHandleMgmtRingDmaDoneInterrupt’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_data_pci.c:735:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
- UINT8 TXWISize = pAd->chipCap.TXWISize;
- ^~~~~~~~
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/rt_rbus_pci_drv.o
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/rt_rbus_pci_drv.c: In function ‘RTMPInitPCIeDevice’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/rt_rbus_pci_drv.c:1382:23: warning: unused variable ‘Index’ [-Wunused-variable]
- UINT32 MacCsr0 = 0, Index= 0;
- ^~~~~
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/ee_prom.o
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/frq_cal.o
- In file included from include/linux/list.h:8:0,
- from include/linux/module.h:9,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/os/rt_linux.h:31,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/frq_cal.c:28:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/frq_cal.c: In function ‘FrequencyCalibrationMode’:
- include/linux/kernel.h:742:17: warning: comparison of distinct pointer types lacks a cast
- (void) (&_min1 == &_min2); \
- ^
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/frq_cal.c:128:13: note: in expansion of macro ‘min’
- RFValue = min(RFValue, 0x5F);
- ^~~
- In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/chip/mac_pci.h:33:0,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_chip.h:37,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:38,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/frq_cal.c:28:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/chip/rtmp_phy.h:585:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘RfReg’ will never be NULL [-Waddress]
- if (_pVal2 != NULL) \
- ^
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/chip/rtmp_phy.h:592:2: note: in expansion of macro ‘RF_M_READ8’
- RF_M_READ8(_pAd, _RegId, NULL, &RfReg, _BitMask); \
- ^~~~~~~~~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/frq_cal.c:141:3: note: in expansion of macro ‘RF_M_WRITE8’
- RF_M_WRITE8(pAd, RF_R03, 0x80, 0x80);
- ^~~~~~~~~~~
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/ee_efuse.o
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/ee_efuse.c: In function ‘rtmp_ee_efuse_write16’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/ee_efuse.c:1409:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
- else
- ^~~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/ee_efuse.c:1411:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
- return 0;
- ^~~~~~
- CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.o
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicSendCommandToMcu’:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:558:72: error: passing argument 3 of ‘pci_read_config_word’ from incompatible pointer type [-Werror=incompatible-pointer-types]
- pci_read_config_word(((POS_COOKIE)pAd->OS_Cookie)->pci_dev, offset, &Configuration);
- ^
- In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/os/rt_linux.h:41:0,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:28:
- include/linux/pci.h:923:19: note: expected ‘u16 * {aka short unsigned int *}’ but argument is of type ‘ULONG * {aka long unsigned int *}’
- static inline int pci_read_config_word(const struct pci_dev *dev, int where, u16 *val)
- ^~~~~~~~~~~~~~~~~~~~
- In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44:0,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:28:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:564:30: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘ULONG {aka long unsigned int}’ [-Wformat=]
- DBGPRINT(RT_DEBUG_TRACE, ("Write 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
- ^
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/os/rt_linux.h:665:16: note: in definition of macro ‘DBGPRINT_RAW’
- printk Fmt; \
- ^~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:564:4: note: in expansion of macro ‘DBGPRINT’
- DBGPRINT(RT_DEBUG_TRACE, ("Write 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
- ^~~~~~~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:564:30: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘ULONG {aka long unsigned int}’ [-Wformat=]
- DBGPRINT(RT_DEBUG_TRACE, ("Write 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
- ^
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/os/rt_linux.h:665:16: note: in definition of macro ‘DBGPRINT_RAW’
- printk Fmt; \
- ^~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:564:4: note: in expansion of macro ‘DBGPRINT’
- DBGPRINT(RT_DEBUG_TRACE, ("Write 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
- ^~~~~~~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:578:72: error: passing argument 3 of ‘pci_read_config_word’ from incompatible pointer type [-Werror=incompatible-pointer-types]
- pci_read_config_word(((POS_COOKIE)pAd->OS_Cookie)->pci_dev, offset, &Configuration);
- ^
- In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/os/rt_linux.h:41:0,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:28:
- include/linux/pci.h:923:19: note: expected ‘u16 * {aka short unsigned int *}’ but argument is of type ‘ULONG * {aka long unsigned int *}’
- static inline int pci_read_config_word(const struct pci_dev *dev, int where, u16 *val)
- ^~~~~~~~~~~~~~~~~~~~
- In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44:0,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
- from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:28:
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:587:30: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘ULONG {aka long unsigned int}’ [-Wformat=]
- DBGPRINT(RT_DEBUG_TRACE, ("RadioOnExec restore 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
- ^
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/os/rt_linux.h:665:16: note: in definition of macro ‘DBGPRINT_RAW’
- printk Fmt; \
- ^~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:587:4: note: in expansion of macro ‘DBGPRINT’
- DBGPRINT(RT_DEBUG_TRACE, ("RadioOnExec restore 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
- ^~~~~~~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:587:30: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘ULONG {aka long unsigned int}’ [-Wformat=]
- DBGPRINT(RT_DEBUG_TRACE, ("RadioOnExec restore 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
- ^
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/os/rt_linux.h:665:16: note: in definition of macro ‘DBGPRINT_RAW’
- printk Fmt; \
- ^~~
- /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:587:4: note: in expansion of macro ‘DBGPRINT’
- DBGPRINT(RT_DEBUG_TRACE, ("RadioOnExec restore 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
- ^~~~~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [scripts/Makefile.build:290: /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.o] Error 1
- make[1]: *** [Makefile:1457: _module_/var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux] Error 2
- make[1]: Leaving directory '/usr/lib/modules/4.7.0-1-ARCH/build'
- make: *** [Makefile:358: LINUX] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement