Guest User

Error log for RT5592-dkms kernel module Arch Linux

a guest
Aug 16th, 2016
111
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DKMS make.log for rt5592sta_linux_patched-dkms-2.6.0.0 for kernel 4.7.0-1-ARCH (x86_64)
  2. Tue Aug 16 00:32:57 CDT 2016
  3. make -C tools
  4. make[1]: Entering directory '/var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/tools'
  5. gcc -g bin2h.c -o bin2h
  6. make[1]: Leaving directory '/var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/tools'
  7. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/tools/bin2h
  8. cp -f os/linux/Makefile.6 /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/Makefile
  9. 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
  10. make[1]: Entering directory '/usr/lib/modules/4.7.0-1-ARCH/build'
  11. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/crypt_md5.o
  12. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/crypt_sha2.o
  13. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/crypt_hmac.o
  14. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/crypt_aes.o
  15. In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44:0,
  16. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
  17. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
  18. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/crypt_aes.h:31,
  19. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/crypt_aes.c:28:
  20. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
  21. /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=]
  22. DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength));
  23. ^
  24. /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’
  25. printk Fmt; \
  26. ^~~
  27. /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’
  28. DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength));
  29. ^~~~~~~~
  30. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
  31. /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=]
  32. DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength));
  33. ^
  34. /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’
  35. printk Fmt; \
  36. ^~~
  37. /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’
  38. DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength));
  39. ^~~~~~~~
  40. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/crypt_arc4.o
  41. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/mlme.o
  42. In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44:0,
  43. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
  44. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
  45. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/mlme.c:28:
  46. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
  47. /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]
  48. (UINT32)&pAd->RalinkCounters.OneSecEnd -
  49. ^
  50. /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’
  51. #define NdisZeroMemory(Destination, Length) memset(Destination, 0, Length)
  52. ^~~~~~
  53. /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]
  54. (UINT32)&pAd->RalinkCounters.OneSecStart);
  55. ^
  56. /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’
  57. #define NdisZeroMemory(Destination, Length) memset(Destination, 0, Length)
  58. ^~~~~~
  59. In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/chip/mac_pci.h:33:0,
  60. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_chip.h:37,
  61. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:38,
  62. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/mlme.c:28:
  63. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/mlme.c: In function ‘RTMPAdjustFrequencyOffset’:
  64. /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]
  65. if (_pVal1 != NULL) \
  66. ^
  67. /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’
  68. RF_M_READ8(pAd, RF_R17, &FreqOffset, &HighCurrentBit, 0x7F);
  69. ^~~~~~~~~~
  70. /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]
  71. if (_pVal2 != NULL) \
  72. ^
  73. /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’
  74. RF_M_READ8(pAd, RF_R17, &FreqOffset, &HighCurrentBit, 0x7F);
  75. ^~~~~~~~~~
  76. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_wep.o
  77. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/action.o
  78. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_data.o
  79. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_init.o
  80. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_init_inf.o
  81. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_tkip.o
  82. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_aes.o
  83. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_sync.o
  84. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/eeprom.o
  85. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_sanity.o
  86. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_info.o
  87. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_info.c: In function ‘GetEncryptType’:
  88. /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]
  89. if(enc == Ndis802_11Encryption3Enabled)
  90. ^~
  91. /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’
  92. if(enc == Ndis802_11Encryption4Enabled)
  93. ^~
  94. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_info.c: In function ‘GetAuthMode’:
  95. /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]
  96. if(auth == Ndis802_11AuthModeShared)
  97. ^~
  98. /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’
  99. if(auth == Ndis802_11AuthModeAutoSwitch)
  100. ^~
  101. /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]
  102. if(auth == Ndis802_11AuthModeWPA2PSK)
  103. ^~
  104. /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’
  105. if(auth == Ndis802_11AuthModeWPA1WPA2)
  106. ^~
  107. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_info.c: In function ‘Show_PMK_Proc’:
  108. /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]
  109. for (idx = 0; idx < 32; idx++)
  110. ^~~
  111. /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’
  112. return 0;
  113. ^~~~~~
  114. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_cfg.o
  115. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_wpa.o
  116. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_wpa.c: In function ‘PeerPairMsg3Action’:
  117. /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]
  118. BOOLEAN Cancelled;
  119. ^~~~~~~~~
  120. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_wpa.c: In function ‘WPAStart2WayGroupHS’:
  121. /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]
  122. if ((!pEntry) || !IS_ENTRY_CLIENT(pEntry))
  123. ^~
  124. /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’
  125. os_alloc_mem(NULL, (PUCHAR *)&mpool, TX_EAPOL_BUFFER);
  126. ^~~~~~~~~~~~
  127. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_radar.o
  128. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/spectrum.o
  129. In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44:0,
  130. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
  131. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
  132. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/spectrum.c:28:
  133. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
  134. /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=]
  135. DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
  136. ^
  137. /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’
  138. printk Fmt; \
  139. ^~~
  140. /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’
  141. DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
  142. ^~~~~~~~
  143. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_timer.o
  144. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rt_channel.o
  145. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_profile.o
  146. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_asic.o
  147. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_asic.c: In function ‘AsicGetAutoAgcOffsetForTemperatureSensor’:
  148. /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]
  149. TxPowerTuningTableEntry0 = &TxPowerTuningTable[TuningTableIndex0 + TX_POWER_TUNING_ENTRY_OFFSET];
  150. ^
  151. /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]
  152. TxPowerTuningTableEntry1 = &TxPowerTuningTable[TuningTableIndex1 + TX_POWER_TUNING_ENTRY_OFFSET];
  153. ^
  154. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_cmd.o
  155. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/ps.o
  156. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/uapsd.o
  157. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../rate_ctrl/ra_ctrl.o
  158. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../rate_ctrl/alg_legacy.o
  159. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../rate_ctrl/alg_ags.o
  160. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/rt_profile.o
  161. In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44:0,
  162. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
  163. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
  164. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/rt_profile.c:28:
  165. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
  166. /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=]
  167. DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
  168. ^
  169. /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’
  170. printk Fmt; \
  171. ^~~
  172. /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’
  173. DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
  174. ^~~~~~~~
  175. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../chips/rtmp_chip.o
  176. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/assoc.o
  177. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/auth.o
  178. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/auth_rsp.o
  179. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sync.o
  180. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sanity.o
  181. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/rtmp_data.o
  182. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxDataFrame’:
  183. /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]
  184. FRAME_CONTROL *pFmeCtrl = &pHeader->FC;
  185. ^~~~~~~~
  186. /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]
  187. UCHAR OldPwrMgmt = PWR_ACTIVE;
  188. ^~~~~~~~~~
  189. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/connect.o
  190. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/wpa.o
  191. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.o
  192. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c: In function ‘Set_EncrypType_Proc’:
  193. /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]
  194. else
  195. ^~~~
  196. /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’
  197. if (pAd->StaCfg.BssType == BSS_ADHOC)
  198. ^~
  199. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c: In function ‘Set_XlinkMode_Proc’:
  200. /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]
  201. else
  202. ^~~~
  203. /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’
  204. if (pAd->StaCfg.PSPXlink)
  205. ^~
  206. In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44:0,
  207. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
  208. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
  209. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c:28:
  210. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c: In function ‘RTMPQueryInformation’:
  211. /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=]
  212. DBGPRINT(RT_DEBUG_TRACE, ("sizeof UCHAR=%d, channel=%d \n", sizeof(UCHAR), pAd->CommonCfg.Channel));
  213. ^
  214. /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’
  215. printk Fmt; \
  216. ^~~
  217. /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’
  218. DBGPRINT(RT_DEBUG_TRACE, ("sizeof UCHAR=%d, channel=%d \n", sizeof(UCHAR), pAd->CommonCfg.Channel));
  219. ^~~~~~~~
  220. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_siwfreq’:
  221. /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]
  222. else
  223. ^~~~
  224. /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’
  225. return NDIS_STATUS_SUCCESS;
  226. ^~~~~~
  227. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_giwrate’:
  228. /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]
  229. if (rate_index >= rate_count)
  230. ^~
  231. /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’
  232. *(ULONG *)pData = ralinkrate[rate_index] * 500000;
  233. ^
  234. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rt_os_util.o
  235. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/sta_ioctl.o
  236. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/rt_linux.o
  237. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/rt_main_dev.o
  238. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/ba_action.o
  239. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../sta/dls.o
  240. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rt_led.o
  241. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_mac_pci.o
  242. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_data_pci.o
  243. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPFreeTXDUponTxDmaDone’:
  244. /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]
  245. UINT8 TXWISize = pAd->chipCap.TXWISize;
  246. ^~~~~~~~
  247. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPHandleMgmtRingDmaDoneInterrupt’:
  248. /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]
  249. UINT8 TXWISize = pAd->chipCap.TXWISize;
  250. ^~~~~~~~
  251. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/rt_rbus_pci_drv.o
  252. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../os/linux/rt_rbus_pci_drv.c: In function ‘RTMPInitPCIeDevice’:
  253. /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]
  254. UINT32 MacCsr0 = 0, Index= 0;
  255. ^~~~~
  256. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/ee_prom.o
  257. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/frq_cal.o
  258. In file included from include/linux/list.h:8:0,
  259. from include/linux/module.h:9,
  260. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/os/rt_linux.h:31,
  261. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44,
  262. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
  263. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
  264. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/frq_cal.c:28:
  265. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/frq_cal.c: In function ‘FrequencyCalibrationMode’:
  266. include/linux/kernel.h:742:17: warning: comparison of distinct pointer types lacks a cast
  267. (void) (&_min1 == &_min2); \
  268. ^
  269. /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’
  270. RFValue = min(RFValue, 0x5F);
  271. ^~~
  272. In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/chip/mac_pci.h:33:0,
  273. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_chip.h:37,
  274. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:38,
  275. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/frq_cal.c:28:
  276. /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]
  277. if (_pVal2 != NULL) \
  278. ^
  279. /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’
  280. RF_M_READ8(_pAd, _RegId, NULL, &RfReg, _BitMask); \
  281. ^~~~~~~~~~
  282. /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’
  283. RF_M_WRITE8(pAd, RF_R03, 0x80, 0x80);
  284. ^~~~~~~~~~~
  285. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/ee_efuse.o
  286. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/ee_efuse.c: In function ‘rtmp_ee_efuse_write16’:
  287. /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]
  288. else
  289. ^~~~
  290. /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’
  291. return 0;
  292. ^~~~~~
  293. CC [M] /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.o
  294. /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicSendCommandToMcu’:
  295. /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]
  296. pci_read_config_word(((POS_COOKIE)pAd->OS_Cookie)->pci_dev, offset, &Configuration);
  297. ^
  298. In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/os/rt_linux.h:41:0,
  299. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44,
  300. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
  301. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
  302. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:28:
  303. include/linux/pci.h:923:19: note: expected ‘u16 * {aka short unsigned int *}’ but argument is of type ‘ULONG * {aka long unsigned int *}’
  304. static inline int pci_read_config_word(const struct pci_dev *dev, int where, u16 *val)
  305. ^~~~~~~~~~~~~~~~~~~~
  306. In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44:0,
  307. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
  308. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
  309. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:28:
  310. /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=]
  311. DBGPRINT(RT_DEBUG_TRACE, ("Write 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
  312. ^
  313. /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’
  314. printk Fmt; \
  315. ^~~
  316. /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’
  317. DBGPRINT(RT_DEBUG_TRACE, ("Write 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
  318. ^~~~~~~~
  319. /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=]
  320. DBGPRINT(RT_DEBUG_TRACE, ("Write 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
  321. ^
  322. /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’
  323. printk Fmt; \
  324. ^~~
  325. /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’
  326. DBGPRINT(RT_DEBUG_TRACE, ("Write 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
  327. ^~~~~~~~
  328. /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]
  329. pci_read_config_word(((POS_COOKIE)pAd->OS_Cookie)->pci_dev, offset, &Configuration);
  330. ^
  331. In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/os/rt_linux.h:41:0,
  332. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44,
  333. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
  334. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
  335. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:28:
  336. include/linux/pci.h:923:19: note: expected ‘u16 * {aka short unsigned int *}’ but argument is of type ‘ULONG * {aka long unsigned int *}’
  337. static inline int pci_read_config_word(const struct pci_dev *dev, int where, u16 *val)
  338. ^~~~~~~~~~~~~~~~~~~~
  339. In file included from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_os.h:44:0,
  340. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rtmp_comm.h:69,
  341. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/include/rt_config.h:33,
  342. from /var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux/../../common/rtmp_mcu.c:28:
  343. /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=]
  344. DBGPRINT(RT_DEBUG_TRACE, ("RadioOnExec restore 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
  345. ^
  346. /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’
  347. printk Fmt; \
  348. ^~~
  349. /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’
  350. DBGPRINT(RT_DEBUG_TRACE, ("RadioOnExec restore 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
  351. ^~~~~~~~
  352. /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=]
  353. DBGPRINT(RT_DEBUG_TRACE, ("RadioOnExec restore 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
  354. ^
  355. /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’
  356. printk Fmt; \
  357. ^~~
  358. /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’
  359. DBGPRINT(RT_DEBUG_TRACE, ("RadioOnExec restore 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
  360. ^~~~~~~~
  361. cc1: some warnings being treated as errors
  362. 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
  363. make[1]: *** [Makefile:1457: _module_/var/lib/dkms/rt5592sta_linux_patched-dkms/2.6.0.0/build/os/linux] Error 2
  364. make[1]: Leaving directory '/usr/lib/modules/4.7.0-1-ARCH/build'
  365. make: *** [Makefile:358: LINUX] Error 2
RAW Paste Data