Advertisement
4javier

Untitled

May 29th, 2016
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 462.72 KB | None | 0 0
  1. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_hotplug_strategy_procfs.c:49:27: note: in expansion of macro 'THIS_MODULE'
  2. .owner = THIS_MODULE, \
  3. ^
  4. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_hotplug_strategy_procfs.c:716:1: note: in expansion of macro 'PROC_FOPS_RW'
  5. PROC_FOPS_RW(num_limit_power_serv);
  6. ^
  7. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/export.h:36:30: warning: initialization from incompatible pointer type
  8. #define THIS_MODULE ((struct module *)0)
  9. ^
  10. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_hotplug_strategy_procfs.c:49:27: note: in expansion of macro 'THIS_MODULE'
  11. .owner = THIS_MODULE, \
  12. ^
  13. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_hotplug_strategy_procfs.c:812:1: note: in expansion of macro 'PROC_FOPS_RW'
  14. PROC_FOPS_RW(test0);
  15. ^
  16. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/export.h:36:30: warning: (near initialization for 'hps_test0_proc_fops.write')
  17. #define THIS_MODULE ((struct module *)0)
  18. ^
  19. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_hotplug_strategy_procfs.c:49:27: note: in expansion of macro 'THIS_MODULE'
  20. .owner = THIS_MODULE, \
  21. ^
  22. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_hotplug_strategy_procfs.c:812:1: note: in expansion of macro 'PROC_FOPS_RW'
  23. PROC_FOPS_RW(test0);
  24. ^
  25. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/export.h:36:30: warning: initialization from incompatible pointer type
  26. #define THIS_MODULE ((struct module *)0)
  27. ^
  28. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_hotplug_strategy_procfs.c:49:27: note: in expansion of macro 'THIS_MODULE'
  29. .owner = THIS_MODULE, \
  30. ^
  31. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_hotplug_strategy_procfs.c:881:1: note: in expansion of macro 'PROC_FOPS_RW'
  32. PROC_FOPS_RW(test1);
  33. ^
  34. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/export.h:36:30: warning: (near initialization for 'hps_test1_proc_fops.write')
  35. #define THIS_MODULE ((struct module *)0)
  36. ^
  37. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_hotplug_strategy_procfs.c:49:27: note: in expansion of macro 'THIS_MODULE'
  38. .owner = THIS_MODULE, \
  39. ^
  40. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_hotplug_strategy_procfs.c:881:1: note: in expansion of macro 'PROC_FOPS_RW'
  41. PROC_FOPS_RW(test1);
  42. ^
  43. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/export.h:36:30: warning: initialization from incompatible pointer type
  44. #define THIS_MODULE ((struct module *)0)
  45. ^
  46. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_hotplug_strategy_procfs.c:49:27: note: in expansion of macro 'THIS_MODULE'
  47. .owner = THIS_MODULE, \
  48. ^
  49. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_hotplug_strategy_procfs.c:937:1: note: in expansion of macro 'PROC_FOPS_RW'
  50. PROC_FOPS_RW(memory_debug);
  51. ^
  52. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/export.h:36:30: warning: (near initialization for 'hps_memory_debug_proc_fops.write')
  53. #define THIS_MODULE ((struct module *)0)
  54. ^
  55. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_hotplug_strategy_procfs.c:49:27: note: in expansion of macro 'THIS_MODULE'
  56. .owner = THIS_MODULE, \
  57. ^
  58. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_hotplug_strategy_procfs.c:937:1: note: in expansion of macro 'PROC_FOPS_RW'
  59. PROC_FOPS_RW(memory_debug);
  60. ^
  61. LD drivers/misc/mediatek/mach/mt6795/y991/barometer/BMP180-new/built-in.o
  62. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mtprof/mt_printk_ctrl.c:36:21: warning: initialization from incompatible pointer type
  63. static const struct file_operations mt_##name##_fops = { \
  64. ^
  65. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mtprof/mt_printk_ctrl.c:77:1: note: in expansion of macro 'MT_DEBUG_ENTRY'
  66. MT_DEBUG_ENTRY(printk_ctrl);
  67. ^
  68. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mtprof/mt_printk_ctrl.c:36:21: warning: (near initialization for 'mt_printk_ctrl_fops.write')
  69. static const struct file_operations mt_##name##_fops = { \
  70. ^
  71. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mtprof/mt_printk_ctrl.c:77:1: note: in expansion of macro 'MT_DEBUG_ENTRY'
  72. MT_DEBUG_ENTRY(printk_ctrl);
  73. ^
  74. CC drivers/misc/mediatek/mach/mt6795/y991/core/board.o
  75. CC drivers/usb/storage/sddr55.o
  76. CC drivers/misc/mediatek/mu3d/drv/musb_core.o
  77. LD drivers/misc/mediatek/mtprof/mtprof.o
  78. LD drivers/misc/mediatek/mtprof/built-in.o
  79. target C: libcrypto_static <= external/openssl/crypto/dh/dh_ameth.c
  80. external/openssl/crypto/dh/dh_ameth.c: In function 'dh_pub_decode':
  81. external/openssl/crypto/dh/dh_ameth.c:89:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  82. DHerr(DH_F_DH_PUB_DECODE, DH_R_PARAMETER_ENCODING_ERROR);
  83. ^
  84. LD drivers/misc/mediatek/mach/mt6795/y991/core/built-in.o
  85. CC drivers/misc/mediatek/mach/mt6795/y991/dct/dct/pmic_drv.o
  86. LD drivers/misc/mediatek/mach/mt6795/y991/dct/dct/built-in.o
  87. CC drivers/misc/mediatek/mach/mt6795/y991/gyroscope/mpu6050gy-new/cust_gyro.o
  88. CC drivers/usb/storage/shuttle_usbat.o
  89. CC drivers/misc/mediatek/mu3d/hal/mu3d_hal_osal.o
  90. LD drivers/misc/mediatek/mach/mt6795/y991/gyroscope/mpu6050gy-new/built-in.o
  91. CC drivers/misc/mediatek/mach/mt6795/mt_hotplug_strategy_cpu.o
  92. CC drivers/misc/mediatek/mach/mt6795/y991/keypad/mtk_kpd_bkl.o
  93. CC drivers/misc/mediatek/mu3d/hal/mu3d_hal_qmu_drv.o
  94. CC drivers/misc/mediatek/mach/mt6795/mt_hotplug_strategy_api.o
  95. LD drivers/misc/mediatek/mach/mt6795/y991/keypad/built-in.o
  96. CC drivers/misc/mediatek/mu3d/drv/musb_gadget_ep0.o
  97. CC drivers/misc/mediatek/mach/mt6795/y991/leds/mt65xx/cust_leds.o
  98. CC drivers/misc/mediatek/mu3d/drv/musb_gadget.o
  99. CC drivers/usb/storage/scsiglue.o
  100. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/y991/leds/mt65xx/cust_leds.c: In function 'disp_button_set_backlight':
  101. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/y991/leds/mt65xx/cust_leds.c:47:1: warning: no return statement in function returning non-void [-Wreturn-type]
  102. }
  103. ^
  104. LD drivers/misc/mediatek/mach/mt6795/y991/leds/mt65xx/built-in.o
  105. LD drivers/misc/mediatek/mach/mt6795/y991/leds/built-in.o
  106. CC drivers/misc/mediatek/mu3d/hal/mu3d_hal_usb_drv.o
  107. CC drivers/misc/mediatek/mach/mt6795/y991/magnetometer/akm8963-new/cust_mag.o
  108. LD drivers/misc/mediatek/mach/mt6795/y991/magnetometer/akm8963-new/built-in.o
  109. CC drivers/misc/mediatek/mach/mt6795/mt_hotplug_strategy_algo.o
  110. CC drivers/misc/mediatek/mach/mt6795/y991/sound/yusu_android_speaker.o
  111. CC drivers/usb/storage/protocol.o
  112. CC drivers/misc/mediatek/mu3d/drv/musb_init.o
  113. LD drivers/misc/mediatek/mach/mt6795/y991/sound/built-in.o
  114. CC drivers/misc/mediatek/mach/mt6795/y991/vibrator/cust_vibrator.o
  115. CC drivers/usb/storage/transport.o
  116. CC drivers/misc/mediatek/mach/mt6795/mt_cpuidle64.o
  117. CC drivers/misc/mediatek/mu3d/hal/mu3d_hal_phy.o
  118. LD drivers/misc/mediatek/mach/mt6795/y991/vibrator/built-in.o
  119. LD drivers/misc/mediatek/mach/mt6795/y991/built-in.o
  120. CC drivers/misc/mediatek/mu3d/drv/ssusb_qmu.o
  121. LD drivers/misc/mediatek/mu3d/hal/mu3d_hal.o
  122. target C: libcrypto_static <= external/openssl/crypto/dh/dh_asn1.c
  123. LD drivers/misc/mediatek/mu3d/hal/built-in.o
  124. CC drivers/misc/mediatek/mach/mt6795/hibernate64.o
  125. CC drivers/misc/mediatek/mach/mt6795/mt_emi_bm.o
  126. CC drivers/usb/storage/usb.o
  127. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_emi_bm.c: In function 'BM_Init':
  128. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_emi_bm.c:27:5: warning: 'return' with a value, in function returning void
  129. return -1;
  130. ^
  131. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_emi_bm.c:37:5: warning: 'return' with a value, in function returning void
  132. return -1;
  133. ^
  134. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_emi_bm.c: In function 'BM_SetMonitorCounter':
  135. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_emi_bm.c:280:14: warning: assignment makes integer from pointer without a cast
  136. addr = EMI_BMEN;
  137. ^
  138. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_emi_bm.c:283:14: warning: assignment makes integer from pointer without a cast
  139. addr = (counter_num <= 3) ? EMI_MSEL : (EMI_MSEL2 + (counter_num / 2 - 2) * 8);
  140. ^
  141. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_emi_bm.c: In function 'BM_SetMaster':
  142. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_emi_bm.c:308:14: warning: assignment makes integer from pointer without a cast
  143. addr = EMI_BMEN;
  144. ^
  145. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_emi_bm.c:311:14: warning: assignment makes integer from pointer without a cast
  146. addr = (counter_num <= 3) ? EMI_MSEL : (EMI_MSEL2 + (counter_num / 2 - 2) * 8);
  147. ^
  148. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_emi_bm.c: In function 'BM_SetIDSelect':
  149. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/mt_emi_bm.c:336:10: warning: assignment makes integer from pointer without a cast
  150. addr = EMI_BMID0 + ((counter_num - 1) / 2) * 4;
  151. ^
  152. CC drivers/misc/mediatek/mu3d/drv/mt_usb.o
  153. CC drivers/misc/mediatek/mach/mt6795/mt_mem_bw.o
  154. CC drivers/misc/mediatek/mu3d/drv/musb_debugfs.o
  155. CC drivers/misc/mediatek/mu3phy/mt6795/mtk-phy.o
  156. CC drivers/usb/storage/initializers.o
  157. CC drivers/misc/mediatek/nfc/mt6795/mt6605.o
  158. LD drivers/misc/mediatek/mach/mt6795/built-in.o
  159. CC drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-ahb.o
  160. LD drivers/misc/mediatek/mach/built-in.o
  161. LD drivers/misc/mediatek/mu3d/drv/musb_hdrc.o
  162. target C: libcrypto_static <= external/openssl/crypto/dh/dh_check.c
  163. WARNING: drivers/misc/mediatek/mu3d/drv/musb_hdrc.o(.data+0x8): Section mismatch in reference from the variable musb_driver to the function .init.text:musb_probe()
  164. The variable musb_driver references
  165. the function __init musb_probe()
  166. If the reference is valid then annotate the
  167. variable with __init* or __refdata (see linux/init.h) or name the variable:
  168. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  169.  
  170. WARNING: drivers/misc/mediatek/mu3d/drv/musb_hdrc.o(.data+0x360): Section mismatch in reference from the variable mtu3d_config to the variable .init.data:mtu3d_cfg
  171. The variable mtu3d_config references
  172. the variable __initdata mtu3d_cfg
  173. If the reference is valid then annotate the
  174. variable with __init* or __refdata (see linux/init.h) or name the variable:
  175. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  176.  
  177. LD drivers/misc/mediatek/mu3d/drv/built-in.o
  178. CC drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.o
  179. WARNING: drivers/misc/mediatek/mu3d/drv/built-in.o(.data+0x8): Section mismatch in reference from the variable musb_driver to the function .init.text:musb_probe()
  180. The variable musb_driver references
  181. the function __init musb_probe()
  182. If the reference is valid then annotate the
  183. variable with __init* or __refdata (see linux/init.h) or name the variable:
  184. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  185.  
  186. WARNING: drivers/misc/mediatek/mu3d/drv/built-in.o(.data+0x360): Section mismatch in reference from the variable mtu3d_config to the variable .init.data:mtu3d_cfg
  187. The variable mtu3d_config references
  188. the variable __initdata mtu3d_cfg
  189. If the reference is valid then annotate the
  190. variable with __init* or __refdata (see linux/init.h) or name the variable:
  191. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  192.  
  193. LD drivers/misc/mediatek/mu3d/built-in.o
  194. WARNING: drivers/misc/mediatek/mu3d/built-in.o(.data+0x8): Section mismatch in reference from the variable musb_driver to the function .init.text:musb_probe()
  195. The variable musb_driver references
  196. the function __init musb_probe()
  197. If the reference is valid then annotate the
  198. variable with __init* or __refdata (see linux/init.h) or name the variable:
  199. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  200.  
  201. WARNING: drivers/misc/mediatek/mu3d/built-in.o(.data+0x360): Section mismatch in reference from the variable mtu3d_config to the variable .init.data:mtu3d_cfg
  202. The variable mtu3d_config references
  203. the variable __initdata mtu3d_cfg
  204. If the reference is valid then annotate the
  205. variable with __init* or __refdata (see linux/init.h) or name the variable:
  206. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  207.  
  208. CC drivers/usb/storage/sierra_ms.o
  209. CC drivers/misc/mediatek/partition/mt6795/partition.o
  210. target C: libcrypto_static <= external/openssl/crypto/dh/dh_depr.c
  211. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  212. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c: In function 'usb20_pll_settings':
  213. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:6:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  214. #define U3D_USBPHYACR0 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0000) /*2:30 SIV_B*/
  215. ^
  216. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:100:22: note: in expansion of macro 'U3D_USBPHYACR0'
  217. U3PhyWriteField32(U3D_USBPHYACR0, E60802_RG_USB20_USBPLL_FORCE_ON_OFST, E60802_RG_USB20_USBPLL_FORCE_ON, 0x1);
  218. ^
  219. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  220. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  221. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  222. ^
  223. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  224. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:6:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  225. #define U3D_USBPHYACR0 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0000) /*2:30 SIV_B*/
  226. ^
  227. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:103:22: note: in expansion of macro 'U3D_USBPHYACR0'
  228. U3PhyWriteField32(U3D_USBPHYACR0, E60802_RG_USB20_USBPLL_FORCE_ON_OFST, E60802_RG_USB20_USBPLL_FORCE_ON, 0x0);
  229. ^
  230. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  231. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  232. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  233. ^
  234. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  235. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:15:26: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  236. #define U3D_USBPHYACR2_0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0008) /* 16:18 */
  237. ^
  238. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:109:20: note: in expansion of macro 'U3D_USBPHYACR2_0'
  239. U3PhyWriteField32(U3D_USBPHYACR2_0, E60802_RG_SIFSLV_USB20_PLL_FORCE_MODE_OFST, E60802_RG_SIFSLV_USB20_PLL_FORCE_MODE, 0x1);
  240. ^
  241. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  242. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  243. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  244. ^
  245. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  246. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:18:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  247. #define U3D_U2PHYDCR0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0060) /*0:31*/
  248. ^
  249. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:110:20: note: in expansion of macro 'U3D_U2PHYDCR0'
  250. U3PhyWriteField32(U3D_U2PHYDCR0, E60802_RG_SIFSLV_USB20_PLL_FORCE_ON_OFST, E60802_RG_SIFSLV_USB20_PLL_FORCE_ON, 0x0);
  251. ^
  252. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  253. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  254. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  255. ^
  256. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  257. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c: In function 'phy_init_soc':
  258. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:32:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  259. #define U3D_USB30_PHYA_REG0 (SSUSB_USB30_PHYA_SIV_B_BASE+0x0000)
  260. ^
  261. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:297:20: note: in expansion of macro 'U3D_USB30_PHYA_REG0'
  262. U3PhyWriteField32(U3D_USB30_PHYA_REG0, RG_SSUSB_VUSB10_ON_OFST, RG_SSUSB_VUSB10_ON, 1);
  263. ^
  264. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  265. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  266. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  267. ^
  268. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  269. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:11:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  270. #define U3D_USBPHYACR6 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0018) /*0:31 SIV_B*/
  271. ^
  272. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:300:20: note: in expansion of macro 'U3D_USBPHYACR6'
  273. U3PhyWriteField32(U3D_USBPHYACR6, E60802_RG_USB20_ISO_EN_OFST, E60802_RG_USB20_ISO_EN, 0);
  274. ^
  275. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  276. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  277. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  278. ^
  279. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  280. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  281. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  282. ^
  283. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:336:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  284. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_FORCE_UART_EN_OFST, E60802_FORCE_UART_EN, 0);
  285. ^
  286. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  287. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  288. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  289. ^
  290. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  291. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:21:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  292. #define U3D_U2PHYDTM1 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x006C) /*0:31*/
  293. ^
  294. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:337:20: note: in expansion of macro 'U3D_U2PHYDTM1'
  295. U3PhyWriteField32(U3D_U2PHYDTM1, E60802_RG_UART_EN_OFST, E60802_RG_UART_EN, 0);
  296. ^
  297. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  298. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  299. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  300. ^
  301. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  302. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:16:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  303. #define U3D_U2PHYACR4 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0020) /*8:18*/
  304. ^
  305. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:338:20: note: in expansion of macro 'U3D_U2PHYACR4'
  306. U3PhyWriteField32(U3D_U2PHYACR4, E60802_RG_USB20_GPIO_CTL_OFST, E60802_RG_USB20_GPIO_CTL,0);
  307. ^
  308. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  309. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  310. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  311. ^
  312. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  313. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:16:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  314. #define U3D_U2PHYACR4 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0020) /*8:18*/
  315. ^
  316. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:339:20: note: in expansion of macro 'U3D_U2PHYACR4'
  317. U3PhyWriteField32(U3D_U2PHYACR4, E60802_USB20_GPIO_MODE_OFST, E60802_USB20_GPIO_MODE, 0);
  318. ^
  319. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  320. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  321. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  322. ^
  323. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  324. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:11:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  325. #define U3D_USBPHYACR6 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0018) /*0:31 SIV_B*/
  326. ^
  327. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:341:20: note: in expansion of macro 'U3D_USBPHYACR6'
  328. U3PhyWriteField32(U3D_USBPHYACR6, E60802_RG_USB20_BC11_SW_EN_OFST, E60802_RG_USB20_BC11_SW_EN, 0);
  329. ^
  330. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  331. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  332. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  333. ^
  334. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  335. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:16:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  336. #define U3D_U2PHYACR4 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0020) /*8:18*/
  337. ^
  338. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:343:20: note: in expansion of macro 'U3D_U2PHYACR4'
  339. U3PhyWriteField32(U3D_U2PHYACR4, E60802_RG_USB20_DP_100K_MODE_OFST, E60802_RG_USB20_DP_100K_MODE, 1);
  340. ^
  341. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  342. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  343. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  344. ^
  345. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  346. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:16:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  347. #define U3D_U2PHYACR4 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0020) /*8:18*/
  348. ^
  349. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:344:20: note: in expansion of macro 'U3D_U2PHYACR4'
  350. U3PhyWriteField32(U3D_U2PHYACR4, E60802_USB20_DP_100K_EN_OFST, E60802_USB20_DP_100K_EN, 0);
  351. ^
  352. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  353. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  354. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  355. ^
  356. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  357. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:16:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  358. #define U3D_U2PHYACR4 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0020) /*8:18*/
  359. ^
  360. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:346:20: note: in expansion of macro 'U3D_U2PHYACR4'
  361. U3PhyWriteField32(U3D_U2PHYACR4, E60802_RG_USB20_DM_100K_EN_OFST, E60802_RG_USB20_DM_100K_EN, 0);
  362. ^
  363. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  364. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  365. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  366. ^
  367. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  368. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:10:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  369. #define U3D_USBPHYACR5 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0014) /*0:28 SIV_B*/
  370. ^
  371. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:349:20: note: in expansion of macro 'U3D_USBPHYACR5'
  372. U3PhyWriteField32(U3D_USBPHYACR5, E60802_RG_USB20_HS_100U_U3_EN_OFST, E60802_RG_USB20_HS_100U_U3_EN, 1);
  373. ^
  374. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  375. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  376. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  377. ^
  378. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  379. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:11:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  380. #define U3D_USBPHYACR6 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0018) /*0:31 SIV_B*/
  381. ^
  382. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:352:20: note: in expansion of macro 'U3D_USBPHYACR6'
  383. U3PhyWriteField32(U3D_USBPHYACR6, E60802_RG_USB20_OTG_VBUSCMP_EN_OFST, E60802_RG_USB20_OTG_VBUSCMP_EN, 1);
  384. ^
  385. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  386. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  387. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  388. ^
  389. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  390. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:11:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  391. #define U3D_USBPHYACR6 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0018) /*0:31 SIV_B*/
  392. ^
  393. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:354:20: note: in expansion of macro 'U3D_USBPHYACR6'
  394. U3PhyWriteField32(U3D_USBPHYACR6, E60802_RG_USB20_SQTH_OFST, E60802_RG_USB20_SQTH, 0x6);
  395. ^
  396. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  397. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  398. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  399. ^
  400. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  401. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  402. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  403. ^
  404. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:356:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  405. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_FORCE_SUSPENDM_OFST, E60802_FORCE_SUSPENDM, 0);
  406. ^
  407. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  408. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  409. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  410. ^
  411. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  412. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:21:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  413. #define U3D_U2PHYDTM1 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x006C) /*0:31*/
  414. ^
  415. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:362:20: note: in expansion of macro 'U3D_U2PHYDTM1'
  416. U3PhyWriteField32(U3D_U2PHYDTM1, E60802_FORCE_VBUSVALID_OFST, E60802_FORCE_VBUSVALID, 1);
  417. ^
  418. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  419. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  420. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  421. ^
  422. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  423. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:21:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  424. #define U3D_U2PHYDTM1 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x006C) /*0:31*/
  425. ^
  426. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:363:20: note: in expansion of macro 'U3D_U2PHYDTM1'
  427. U3PhyWriteField32(U3D_U2PHYDTM1, E60802_FORCE_AVALID_OFST, E60802_FORCE_AVALID, 1);
  428. ^
  429. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  430. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  431. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  432. ^
  433. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  434. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:21:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  435. #define U3D_U2PHYDTM1 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x006C) /*0:31*/
  436. ^
  437. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:364:20: note: in expansion of macro 'U3D_U2PHYDTM1'
  438. U3PhyWriteField32(U3D_U2PHYDTM1, E60802_FORCE_SESSEND_OFST, E60802_FORCE_SESSEND, 1);
  439. ^
  440. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  441. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  442. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  443. ^
  444. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  445. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c: In function 'u2_slew_rate_calibration':
  446. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:10:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  447. #define U3D_USBPHYACR5 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0014) /*0:28 SIV_B*/
  448. ^
  449. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:385:20: note: in expansion of macro 'U3D_USBPHYACR5'
  450. U3PhyWriteField32(U3D_USBPHYACR5, E60802_RG_USB20_HSTX_SRCAL_EN_OFST, E60802_RG_USB20_HSTX_SRCAL_EN, 1);
  451. ^
  452. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  453. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  454. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  455. ^
  456. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:392:20: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  457. U3PhyWriteField32((u3_sif_base + 0x110)
  458. ^
  459. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  460. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  461. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  462. ^
  463. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:397:20: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  464. U3PhyWriteField32((u3_sif_base + 0x100)
  465. ^
  466. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  467. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  468. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  469. ^
  470. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:402:20: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  471. U3PhyWriteField32((u3_sif_base + 0x100)
  472. ^
  473. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  474. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  475. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  476. ^
  477. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:8:0:
  478. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:405:60: warning: passing argument 1 of 'U3PhyReadReg32' makes integer from pointer without a cast
  479. os_printk(K_INFO, "Freq_Valid=(0x%08X)\n", U3PhyReadReg32(u3_sif_base + 0x110));
  480. ^
  481. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3d/hal/mu3d_hal_osal.h:45:27: note: in definition of macro 'os_printk'
  482. printk("[U3D]" fmt, ## args); \
  483. ^
  484. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  485. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:76:11: note: expected 'u3phy_addr_t' but argument is of type 'void *'
  486. PHY_INT32 U3PhyReadReg32(u3phy_addr_t addr);
  487. ^
  488. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:413:28: warning: passing argument 1 of 'U3PhyReadReg32' makes integer from pointer without a cast
  489. u4FmOut = U3PhyReadReg32(u3_sif_base + 0x10C);
  490. ^
  491. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  492. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:76:11: note: expected 'u3phy_addr_t' but argument is of type 'void *'
  493. PHY_INT32 U3PhyReadReg32(u3phy_addr_t addr);
  494. ^
  495. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:427:20: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  496. U3PhyWriteField32((u3_sif_base + 0x100)
  497. ^
  498. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  499. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  500. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  501. ^
  502. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:432:20: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  503. U3PhyWriteField32((u3_sif_base + 0x110)
  504. ^
  505. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  506. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  507. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  508. ^
  509. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  510. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:10:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  511. #define U3D_USBPHYACR5 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0014) /*0:28 SIV_B*/
  512. ^
  513. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:437:21: note: in expansion of macro 'U3D_USBPHYACR5'
  514. U3PhyWriteField32(U3D_USBPHYACR5, E60802_RG_USB20_HSTX_SRCTRL_OFST, E60802_RG_USB20_HSTX_SRCTRL, 0x4);
  515. ^
  516. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  517. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  518. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  519. ^
  520. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  521. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:10:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  522. #define U3D_USBPHYACR5 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0014) /*0:28 SIV_B*/
  523. ^
  524. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:445:21: note: in expansion of macro 'U3D_USBPHYACR5'
  525. U3PhyWriteField32(U3D_USBPHYACR5, E60802_RG_USB20_HSTX_SRCTRL_OFST, E60802_RG_USB20_HSTX_SRCTRL, u4Tmp);
  526. ^
  527. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  528. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  529. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  530. ^
  531. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  532. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:10:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  533. #define U3D_USBPHYACR5 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0014) /*0:28 SIV_B*/
  534. ^
  535. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:450:20: note: in expansion of macro 'U3D_USBPHYACR5'
  536. U3PhyWriteField32(U3D_USBPHYACR5, E60802_RG_USB20_HSTX_SRCAL_EN_OFST, E60802_RG_USB20_HSTX_SRCAL_EN, 0);
  537. ^
  538. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  539. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  540. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  541. ^
  542. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  543. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c: In function 'usb_phy_savecurrent':
  544. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  545. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  546. ^
  547. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:490:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  548. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_FORCE_UART_EN_OFST, E60802_FORCE_UART_EN, 0);
  549. ^
  550. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  551. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  552. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  553. ^
  554. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  555. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:21:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  556. #define U3D_U2PHYDTM1 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x006C) /*0:31*/
  557. ^
  558. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:493:20: note: in expansion of macro 'U3D_U2PHYDTM1'
  559. U3PhyWriteField32(U3D_U2PHYDTM1, E60802_RG_UART_EN_OFST, E60802_RG_UART_EN, 0);
  560. ^
  561. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  562. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  563. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  564. ^
  565. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  566. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:16:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  567. #define U3D_U2PHYACR4 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0020) /*8:18*/
  568. ^
  569. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:496:20: note: in expansion of macro 'U3D_U2PHYACR4'
  570. U3PhyWriteField32(U3D_U2PHYACR4, E60802_RG_USB20_GPIO_CTL_OFST, E60802_RG_USB20_GPIO_CTL, 0);
  571. ^
  572. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  573. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  574. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  575. ^
  576. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  577. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:16:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  578. #define U3D_U2PHYACR4 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0020) /*8:18*/
  579. ^
  580. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:499:20: note: in expansion of macro 'U3D_U2PHYACR4'
  581. U3PhyWriteField32(U3D_U2PHYACR4, E60802_USB20_GPIO_MODE_OFST, E60802_USB20_GPIO_MODE, 0);
  582. ^
  583. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  584. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  585. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  586. ^
  587. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  588. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  589. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  590. ^
  591. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:504:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  592. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_RG_SUSPENDM_OFST, E60802_RG_SUSPENDM, 1);
  593. ^
  594. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  595. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  596. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  597. ^
  598. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  599. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  600. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  601. ^
  602. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:509:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  603. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_FORCE_SUSPENDM_OFST, E60802_FORCE_SUSPENDM, 1);
  604. ^
  605. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  606. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  607. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  608. ^
  609. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  610. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  611. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  612. ^
  613. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:517:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  614. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_RG_DPPULLDOWN_OFST, E60802_RG_DPPULLDOWN, 1);
  615. ^
  616. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  617. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  618. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  619. ^
  620. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  621. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  622. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  623. ^
  624. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:521:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  625. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_RG_DMPULLDOWN_OFST, E60802_RG_DMPULLDOWN, 1);
  626. ^
  627. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  628. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  629. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  630. ^
  631. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  632. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  633. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  634. ^
  635. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:525:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  636. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_RG_XCVRSEL_OFST, E60802_RG_XCVRSEL, 0x1);
  637. ^
  638. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  639. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  640. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  641. ^
  642. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  643. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  644. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  645. ^
  646. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:529:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  647. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_RG_TERMSEL_OFST, E60802_RG_TERMSEL, 1);
  648. ^
  649. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  650. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  651. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  652. ^
  653. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  654. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  655. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  656. ^
  657. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:533:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  658. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_RG_DATAIN_OFST, E60802_RG_DATAIN, 0);
  659. ^
  660. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  661. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  662. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  663. ^
  664. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  665. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  666. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  667. ^
  668. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:537:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  669. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_FORCE_DP_PULLDOWN_OFST, E60802_FORCE_DP_PULLDOWN, 1);
  670. ^
  671. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  672. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  673. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  674. ^
  675. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  676. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  677. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  678. ^
  679. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:541:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  680. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_FORCE_DM_PULLDOWN_OFST, E60802_FORCE_DM_PULLDOWN, 1);
  681. ^
  682. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  683. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  684. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  685. ^
  686. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  687. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  688. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  689. ^
  690. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:545:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  691. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_FORCE_XCVRSEL_OFST, E60802_FORCE_XCVRSEL, 1);
  692. ^
  693. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  694. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  695. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  696. ^
  697. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  698. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  699. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  700. ^
  701. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:549:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  702. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_FORCE_TERMSEL_OFST, E60802_FORCE_TERMSEL, 1);
  703. ^
  704. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  705. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  706. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  707. ^
  708. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  709. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  710. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  711. ^
  712. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:553:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  713. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_FORCE_DATAIN_OFST, E60802_FORCE_DATAIN, 1);
  714. ^
  715. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  716. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  717. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  718. ^
  719. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  720. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:11:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  721. #define U3D_USBPHYACR6 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0018) /*0:31 SIV_B*/
  722. ^
  723. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:558:20: note: in expansion of macro 'U3D_USBPHYACR6'
  724. U3PhyWriteField32(U3D_USBPHYACR6, E60802_RG_USB20_BC11_SW_EN_OFST, E60802_RG_USB20_BC11_SW_EN, 0);
  725. ^
  726. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  727. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  728. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  729. ^
  730. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  731. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:11:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  732. #define U3D_USBPHYACR6 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0018) /*0:31 SIV_B*/
  733. ^
  734. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:563:20: note: in expansion of macro 'U3D_USBPHYACR6'
  735. U3PhyWriteField32(U3D_USBPHYACR6, E60802_RG_USB20_OTG_VBUSCMP_EN_OFST, E60802_RG_USB20_OTG_VBUSCMP_EN, 0);
  736. ^
  737. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  738. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  739. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  740. ^
  741. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  742. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:10:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  743. #define U3D_USBPHYACR5 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0014) /*0:28 SIV_B*/
  744. ^
  745. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:568:20: note: in expansion of macro 'U3D_USBPHYACR5'
  746. U3PhyWriteField32(U3D_USBPHYACR5, E60802_RG_USB20_HS_100U_U3_EN_OFST, E60802_RG_USB20_HS_100U_U3_EN, 0);
  747. ^
  748. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  749. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  750. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  751. ^
  752. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  753. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  754. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  755. ^
  756. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:576:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  757. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_RG_SUSPENDM_OFST, E60802_RG_SUSPENDM, 0);
  758. ^
  759. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  760. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  761. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  762. ^
  763. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  764. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:21:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  765. #define U3D_U2PHYDTM1 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x006C) /*0:31*/
  766. ^
  767. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:581:20: note: in expansion of macro 'U3D_U2PHYDTM1'
  768. U3PhyWriteField32(U3D_U2PHYDTM1, E60802_RG_VBUSVALID_OFST, E60802_RG_VBUSVALID, 0);
  769. ^
  770. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  771. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  772. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  773. ^
  774. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  775. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:21:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  776. #define U3D_U2PHYDTM1 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x006C) /*0:31*/
  777. ^
  778. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:582:20: note: in expansion of macro 'U3D_U2PHYDTM1'
  779. U3PhyWriteField32(U3D_U2PHYDTM1, E60802_RG_AVALID_OFST, E60802_RG_AVALID, 0);
  780. ^
  781. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  782. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  783. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  784. ^
  785. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  786. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:21:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  787. #define U3D_U2PHYDTM1 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x006C) /*0:31*/
  788. ^
  789. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:583:20: note: in expansion of macro 'U3D_U2PHYDTM1'
  790. U3PhyWriteField32(U3D_U2PHYDTM1, E60802_RG_SESSEND_OFST, E60802_RG_SESSEND, 1);
  791. ^
  792. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  793. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  794. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  795. ^
  796. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  797. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:32:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  798. #define U3D_USB30_PHYA_REG0 (SSUSB_USB30_PHYA_SIV_B_BASE+0x0000)
  799. ^
  800. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:596:21: note: in expansion of macro 'U3D_USB30_PHYA_REG0'
  801. U3PhyWriteField32(U3D_USB30_PHYA_REG0, RG_SSUSB_VUSB10_ON_OFST, RG_SSUSB_VUSB10_ON, 0);
  802. ^
  803. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  804. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  805. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  806. ^
  807. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  808. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c: In function 'usb_phy_recover':
  809. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:32:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  810. #define U3D_USB30_PHYA_REG0 (SSUSB_USB30_PHYA_SIV_B_BASE+0x0000)
  811. ^
  812. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:646:21: note: in expansion of macro 'U3D_USB30_PHYA_REG0'
  813. U3PhyWriteField32(U3D_USB30_PHYA_REG0, RG_SSUSB_VUSB10_ON_OFST, RG_SSUSB_VUSB10_ON, 1);
  814. ^
  815. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  816. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  817. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  818. ^
  819. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  820. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:11:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  821. #define U3D_USBPHYACR6 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0018) /*0:31 SIV_B*/
  822. ^
  823. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:652:20: note: in expansion of macro 'U3D_USBPHYACR6'
  824. U3PhyWriteField32(U3D_USBPHYACR6, E60802_RG_USB20_ISO_EN_OFST, E60802_RG_USB20_ISO_EN, 0);
  825. ^
  826. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  827. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  828. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  829. ^
  830. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  831. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  832. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  833. ^
  834. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:680:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  835. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_FORCE_UART_EN_OFST, E60802_FORCE_UART_EN, 0);
  836. ^
  837. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  838. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  839. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  840. ^
  841. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  842. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:21:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  843. #define U3D_U2PHYDTM1 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x006C) /*0:31*/
  844. ^
  845. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:683:20: note: in expansion of macro 'U3D_U2PHYDTM1'
  846. U3PhyWriteField32(U3D_U2PHYDTM1, E60802_RG_UART_EN_OFST, E60802_RG_UART_EN, 0);
  847. ^
  848. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  849. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  850. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  851. ^
  852. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  853. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:16:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  854. #define U3D_U2PHYACR4 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0020) /*8:18*/
  855. ^
  856. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:686:20: note: in expansion of macro 'U3D_U2PHYACR4'
  857. U3PhyWriteField32(U3D_U2PHYACR4, E60802_RG_USB20_GPIO_CTL_OFST, E60802_RG_USB20_GPIO_CTL, 0);
  858. ^
  859. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  860. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  861. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  862. ^
  863. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  864. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:16:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  865. #define U3D_U2PHYACR4 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0020) /*8:18*/
  866. ^
  867. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:689:20: note: in expansion of macro 'U3D_U2PHYACR4'
  868. U3PhyWriteField32(U3D_U2PHYACR4, E60802_USB20_GPIO_MODE_OFST, E60802_USB20_GPIO_MODE, 0);
  869. ^
  870. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  871. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  872. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  873. ^
  874. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  875. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  876. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  877. ^
  878. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:694:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  879. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_FORCE_SUSPENDM_OFST, E60802_FORCE_SUSPENDM, 0);
  880. ^
  881. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  882. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  883. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  884. ^
  885. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  886. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  887. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  888. ^
  889. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:699:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  890. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_RG_DPPULLDOWN_OFST, E60802_RG_DPPULLDOWN, 0);
  891. ^
  892. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  893. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  894. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  895. ^
  896. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  897. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  898. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  899. ^
  900. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:703:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  901. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_RG_DMPULLDOWN_OFST, E60802_RG_DMPULLDOWN, 0);
  902. ^
  903. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  904. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  905. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  906. ^
  907. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  908. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  909. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  910. ^
  911. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:707:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  912. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_RG_XCVRSEL_OFST, E60802_RG_XCVRSEL, 0);
  913. ^
  914. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  915. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  916. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  917. ^
  918. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  919. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  920. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  921. ^
  922. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:711:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  923. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_RG_TERMSEL_OFST, E60802_RG_TERMSEL, 0);
  924. ^
  925. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  926. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  927. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  928. ^
  929. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  930. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  931. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  932. ^
  933. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:715:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  934. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_RG_DATAIN_OFST, E60802_RG_DATAIN, 0);
  935. ^
  936. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  937. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  938. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  939. ^
  940. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  941. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  942. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  943. ^
  944. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:719:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  945. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_FORCE_DP_PULLDOWN_OFST, E60802_FORCE_DP_PULLDOWN, 0);
  946. ^
  947. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  948. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  949. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  950. ^
  951. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  952. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  953. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  954. ^
  955. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:723:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  956. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_FORCE_DM_PULLDOWN_OFST, E60802_FORCE_DM_PULLDOWN, 0);
  957. ^
  958. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  959. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  960. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  961. ^
  962. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  963. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  964. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  965. ^
  966. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:727:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  967. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_FORCE_XCVRSEL_OFST, E60802_FORCE_XCVRSEL, 0);
  968. ^
  969. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  970. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  971. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  972. ^
  973. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  974. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  975. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  976. ^
  977. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:731:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  978. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_FORCE_TERMSEL_OFST, E60802_FORCE_TERMSEL, 0);
  979. ^
  980. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  981. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  982. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  983. ^
  984. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  985. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:20:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  986. #define U3D_U2PHYDTM0 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x0068) /*0:31*/
  987. ^
  988. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:735:20: note: in expansion of macro 'U3D_U2PHYDTM0'
  989. U3PhyWriteField32(U3D_U2PHYDTM0, E60802_FORCE_DATAIN_OFST, E60802_FORCE_DATAIN, 0);
  990. ^
  991. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  992. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  993. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  994. ^
  995. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  996. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:11:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  997. #define U3D_USBPHYACR6 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0018) /*0:31 SIV_B*/
  998. ^
  999. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:740:20: note: in expansion of macro 'U3D_USBPHYACR6'
  1000. U3PhyWriteField32(U3D_USBPHYACR6, E60802_RG_USB20_BC11_SW_EN_OFST, E60802_RG_USB20_BC11_SW_EN, 0);
  1001. ^
  1002. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  1003. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  1004. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  1005. ^
  1006. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  1007. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:11:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  1008. #define U3D_USBPHYACR6 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0018) /*0:31 SIV_B*/
  1009. ^
  1010. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:744:20: note: in expansion of macro 'U3D_USBPHYACR6'
  1011. U3PhyWriteField32(U3D_USBPHYACR6, E60802_RG_USB20_OTG_VBUSCMP_EN_OFST, E60802_RG_USB20_OTG_VBUSCMP_EN, 1);
  1012. ^
  1013. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  1014. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  1015. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  1016. ^
  1017. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  1018. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:11:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  1019. #define U3D_USBPHYACR6 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0018) /*0:31 SIV_B*/
  1020. ^
  1021. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:746:20: note: in expansion of macro 'U3D_USBPHYACR6'
  1022. U3PhyWriteField32(U3D_USBPHYACR6, E60802_RG_USB20_SQTH_OFST, E60802_RG_USB20_SQTH, 0x6);
  1023. ^
  1024. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  1025. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  1026. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  1027. ^
  1028. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  1029. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:10:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  1030. #define U3D_USBPHYACR5 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0014) /*0:28 SIV_B*/
  1031. ^
  1032. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:754:20: note: in expansion of macro 'U3D_USBPHYACR5'
  1033. U3PhyWriteField32(U3D_USBPHYACR5, E60802_RG_USB20_HS_100U_U3_EN_OFST, E60802_RG_USB20_HS_100U_U3_EN, 1);
  1034. ^
  1035. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  1036. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  1037. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  1038. ^
  1039. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  1040. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:33:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  1041. #define U3D_USB30_PHYA_REG6 (SSUSB_USB30_PHYA_SIV_B_BASE+0x0018)
  1042. ^
  1043. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:762:20: note: in expansion of macro 'U3D_USB30_PHYA_REG6'
  1044. U3PhyWriteField32(U3D_USB30_PHYA_REG6, E60802_RG_SSUSB_TX_EIDLE_CM_OFST, E60802_RG_SSUSB_TX_EIDLE_CM, 0xE);
  1045. ^
  1046. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  1047. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  1048. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  1049. ^
  1050. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  1051. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:35:23: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  1052. #define U3D_PHYD_CDR1 (SSUSB_SIFSLV_U3PHYD_BASE+0x5c)
  1053. ^
  1054. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:763:20: note: in expansion of macro 'U3D_PHYD_CDR1'
  1055. U3PhyWriteField32(U3D_PHYD_CDR1, E60802_RG_SSUSB_CDR_BIR_LTD0_OFST, E60802_RG_SSUSB_CDR_BIR_LTD0, 0xC);
  1056. ^
  1057. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  1058. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  1059. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  1060. ^
  1061. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  1062. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:35:23: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  1063. #define U3D_PHYD_CDR1 (SSUSB_SIFSLV_U3PHYD_BASE+0x5c)
  1064. ^
  1065. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:764:20: note: in expansion of macro 'U3D_PHYD_CDR1'
  1066. U3PhyWriteField32(U3D_PHYD_CDR1, E60802_RG_SSUSB_CDR_BIR_LTD1_OFST, E60802_RG_SSUSB_CDR_BIR_LTD1, 0x3);
  1067. ^
  1068. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  1069. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  1070. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  1071. ^
  1072. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  1073. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:37:28: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  1074. #define U3D_U3PHYA_DA_REG0 (SSUSB_SIFSLV_U3PHYA_DA_BASE+0x0)
  1075. ^
  1076. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:770:20: note: in expansion of macro 'U3D_U3PHYA_DA_REG0'
  1077. U3PhyWriteField32(U3D_U3PHYA_DA_REG0, E60802_RG_SSUSB_XTAL_EXT_EN_U3_OFST, E60802_RG_SSUSB_XTAL_EXT_EN_U3, 2);
  1078. ^
  1079. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  1080. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  1081. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  1082. ^
  1083. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  1084. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:39:28: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  1085. #define U3D_SPLLC_XTALCTL3 (SSUSB_SIFSLV_SPLLC_BASE+0x18)
  1086. ^
  1087. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:771:20: note: in expansion of macro 'U3D_SPLLC_XTALCTL3'
  1088. U3PhyWriteField32(U3D_SPLLC_XTALCTL3, E60802_RG_SSUSB_XTAL_RX_PWD_OFST, E60802_RG_SSUSB_XTAL_RX_PWD, 1);
  1089. ^
  1090. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  1091. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  1092. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  1093. ^
  1094. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  1095. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:21:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  1096. #define U3D_U2PHYDTM1 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x006C) /*0:31*/
  1097. ^
  1098. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:776:20: note: in expansion of macro 'U3D_U2PHYDTM1'
  1099. U3PhyWriteField32(U3D_U2PHYDTM1, E60802_RG_VBUSVALID_OFST, E60802_RG_VBUSVALID, 1);
  1100. ^
  1101. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  1102. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  1103. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  1104. ^
  1105. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  1106. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:21:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  1107. #define U3D_U2PHYDTM1 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x006C) /*0:31*/
  1108. ^
  1109. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:777:20: note: in expansion of macro 'U3D_U2PHYDTM1'
  1110. U3PhyWriteField32(U3D_U2PHYDTM1, E60802_RG_AVALID_OFST, E60802_RG_AVALID, 1);
  1111. ^
  1112. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  1113. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  1114. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  1115. ^
  1116. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  1117. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:21:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  1118. #define U3D_U2PHYDTM1 (SSUSB_SIFSLV_U2PHY_COM_BASE+0x006C) /*0:31*/
  1119. ^
  1120. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:778:20: note: in expansion of macro 'U3D_U2PHYDTM1'
  1121. U3PhyWriteField32(U3D_U2PHYDTM1, E60802_RG_SESSEND_OFST, E60802_RG_SESSEND, 0);
  1122. ^
  1123. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  1124. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  1125. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  1126. ^
  1127. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  1128. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c: In function 'Charger_Detect_Init':
  1129. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:11:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  1130. #define U3D_USBPHYACR6 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0018) /*0:31 SIV_B*/
  1131. ^
  1132. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:845:20: note: in expansion of macro 'U3D_USBPHYACR6'
  1133. U3PhyWriteField32(U3D_USBPHYACR6, E60802_RG_USB20_BC11_SW_EN_OFST, E60802_RG_USB20_BC11_SW_EN, 1);
  1134. ^
  1135. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  1136. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  1137. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  1138. ^
  1139. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:7:0:
  1140. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c: In function 'Charger_Detect_Release':
  1141. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy-asic.h:11:29: warning: passing argument 1 of 'U3PhyWriteField32' makes integer from pointer without a cast
  1142. #define U3D_USBPHYACR6 (SSUSB_SIFSLV_U2PHY_COM_SIV_B_BASE+0x0018) /*0:31 SIV_B*/
  1143. ^
  1144. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:875:20: note: in expansion of macro 'U3D_USBPHYACR6'
  1145. U3PhyWriteField32(U3D_USBPHYACR6, E60802_RG_USB20_BC11_SW_EN_OFST, E60802_RG_USB20_BC11_SW_EN, 0);
  1146. ^
  1147. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mu3phy/mt6795/mtk-phy-asic.c:1:0:
  1148. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mu3phy/mtk-phy.h:82:11: note: expected 'phys_addr_t' but argument is of type 'void *'
  1149. PHY_INT32 U3PhyWriteField32(phys_addr_t addr, PHY_INT32 offset, PHY_INT32 mask, PHY_INT32 value);
  1150. ^
  1151. LD drivers/misc/mediatek/nfc/mt6795/built-in.o
  1152. LD drivers/misc/mediatek/nfc/built-in.o
  1153. LD drivers/misc/mediatek/mu3phy/mt6795/mu3phy.o
  1154. target C: libcrypto_static <= external/openssl/crypto/dh/dh_err.c
  1155. LD drivers/misc/mediatek/mu3phy/mt6795/built-in.o
  1156. LD drivers/misc/mediatek/mu3phy/built-in.o
  1157. LD drivers/misc/mediatek/partition/mt6795/built-in.o
  1158. CC drivers/usb/storage/option_ms.o
  1159. LD drivers/misc/mediatek/partition/built-in.o
  1160. target C: libcrypto_static <= external/openssl/crypto/dh/dh_gen.c
  1161. target C: libcrypto_static <= external/openssl/crypto/dh/dh_key.c
  1162. CC drivers/misc/mediatek/pmic_wrap/mt_pmic_wrap.o
  1163. external/openssl/crypto/dh/dh_gen.c: In function 'dh_builtin_genparams':
  1164. external/openssl/crypto/dh/dh_gen.c:139:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1165. DHerr(DH_F_DH_BUILTIN_GENPARAMS, DH_R_BAD_GENERATOR);
  1166. ^
  1167. external/openssl/crypto/dh/dh_key.c: In function 'generate_key':
  1168. external/openssl/crypto/dh/dh_key.c:195:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1169. DHerr(DH_F_GENERATE_KEY,ERR_R_BN_LIB);
  1170. ^
  1171. CC drivers/misc/mediatek/pmic_wrap/mt6795/pwrap_hal.o
  1172. CC drivers/misc/mediatek/power/mt6795/pmic.o
  1173. CC drivers/usb/storage/usual-tables.o
  1174. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/pmic_wrap/mt6795/pwrap_hal.c: In function 'pwrap_init':
  1175. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/pmic_wrap/mt6795/pwrap_hal.c:1129:6: warning: unused variable 'backup' [-Wunused-variable]
  1176. u32 backup = 0;
  1177. ^
  1178. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/pmic_wrap/mt6795/pwrap_hal.c:1128:6: warning: unused variable 'cg_mask' [-Wunused-variable]
  1179. u32 cg_mask = 0;
  1180. ^
  1181. CC drivers/misc/mediatek/power/mt6795/upmu_common.o
  1182. target C: libcrypto_static <= external/openssl/crypto/dh/dh_lib.c
  1183. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/usb/storage/usual-tables.c:70:0:
  1184. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/usb/storage/unusual_devs.h:1922:1: warning: large integer implicitly truncated to unsigned type [-Woverflow]
  1185. HW_UNUSUAL_DEV( 0x2001, 0xa708, 0x06, 0x50,
  1186. ^
  1187. external/openssl/crypto/dh/dh_lib.c: In function 'DH_new_method':
  1188. external/openssl/crypto/dh/dh_lib.c:127:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1189. DHerr(DH_F_DH_NEW_METHOD,ERR_R_MALLOC_FAILURE);
  1190. ^
  1191. CC drivers/usb/storage/debug.o
  1192. target C: libcrypto_static <= external/openssl/crypto/dh/dh_pmeth.c
  1193. external/openssl/crypto/dh/dh_pmeth.c: In function 'pkey_dh_keygen':
  1194. external/openssl/crypto/dh/dh_pmeth.c:191:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1195. DHerr(DH_F_PKEY_DH_KEYGEN, DH_R_NO_PARAMETERS_SET);
  1196. ^
  1197. LD drivers/misc/mediatek/pmic_wrap/mt6795/built-in.o
  1198. LD drivers/misc/mediatek/pmic_wrap/built-in.o
  1199. CC drivers/misc/mediatek/power/mt6795/pmic_auxadc.o
  1200. CC drivers/misc/mediatek/power_gs/mt6795/mt_power_gs.o
  1201. LD drivers/usb/storage/usb-storage.o
  1202. LD drivers/usb/storage/ums-alauda.o
  1203. LD drivers/usb/storage/ums-cypress.o
  1204. LD drivers/usb/storage/ums-datafab.o
  1205. LD drivers/usb/storage/ums-freecom.o
  1206. LD drivers/usb/storage/ums-isd200.o
  1207. LD drivers/usb/storage/ums-jumpshot.o
  1208. LD drivers/usb/storage/ums-karma.o
  1209. CC drivers/misc/mediatek/power_gs/mt6795/mt_power_gs_cg_array.o
  1210. LD drivers/usb/storage/ums-onetouch.o
  1211. LD drivers/usb/storage/ums-sddr09.o
  1212. LD drivers/usb/storage/ums-sddr55.o
  1213. LD drivers/usb/storage/ums-usbat.o
  1214. CC drivers/misc/mediatek/power_gs/mt6795/mt_power_gs_dcm_array.o
  1215. LD drivers/usb/storage/built-in.o
  1216. LD drivers/usb/built-in.o
  1217. target C: libcrypto_static <= external/openssl/crypto/dsa/dsa_ameth.c
  1218. CC drivers/misc/mediatek/power_gs/mt6795/mt_power_gs_6331_array.o
  1219. target C: libcrypto_static <= external/openssl/crypto/dsa/dsa_asn1.c
  1220. external/openssl/crypto/dsa/dsa_ameth.c: In function 'dsa_pub_decode':
  1221. external/openssl/crypto/dsa/dsa_ameth.c:94:4: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1222. DSAerr(DSA_F_DSA_PUB_DECODE, DSA_R_DECODE_ERROR);
  1223. ^
  1224. external/openssl/crypto/dsa/dsa_asn1.c: In function 'sig_cb':
  1225. external/openssl/crypto/dsa/dsa_asn1.c:75:4: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1226. DSAerr(DSA_F_SIG_CB, ERR_R_MALLOC_FAILURE);
  1227. ^
  1228. CC drivers/misc/mediatek/power_gs/mt6795/mt_power_gs_6332_array.o
  1229. target C: libcrypto_static <= external/openssl/crypto/dsa/dsa_depr.c
  1230. CC drivers/misc/mediatek/power_gs/mt6795/mt_power_gs_analog_array.o
  1231. CC drivers/misc/mediatek/power/mt6795/pmic_chr_type_det.o
  1232. CC drivers/misc/mediatek/power/mt6795/da9210.o
  1233. CC drivers/misc/mediatek/power_gs/mt6795/mt_power_gs_suspend.o
  1234. LD drivers/misc/mediatek/power_gs/mt6795/built-in.o
  1235. LD drivers/misc/mediatek/power_gs/built-in.o
  1236. target C: libcrypto_static <= external/openssl/crypto/dsa/dsa_err.c
  1237. CC drivers/misc/mediatek/pwm/mt_pwm.o
  1238. target C: libcrypto_static <= external/openssl/crypto/dsa/dsa_gen.c
  1239. CC drivers/misc/mediatek/pwm/mt6795/mt_pwm_hal.o
  1240. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/pwm/mt_pwm.c: In function 'pwm_set_spec_config':
  1241. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/pwm/mt_pwm.c:1286:39: warning: passing argument 2 of 'mt_set_pwm_buf0_addr' makes integer from pointer without a cast
  1242. mt_set_pwm_buf0_addr(conf->pwm_no, conf->PWM_MODE_MEMORY_REGS.BUF0_BASE_ADDR);
  1243. ^
  1244. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/pwm/mt_pwm.c:567:5: note: expected 'U32' but argument is of type 'U32 *'
  1245. S32 mt_set_pwm_buf0_addr (U32 pwm_no, U32 addr )
  1246. ^
  1247. CC drivers/misc/mediatek/ram_console/mtk_ram_console.o
  1248. CC drivers/misc/mediatek/power/mt6795/tps6128x.o
  1249. LD drivers/misc/mediatek/pwm/mt6795/built-in.o
  1250. target C: libcrypto_static <= external/openssl/crypto/dsa/dsa_key.c
  1251. LD drivers/misc/mediatek/pwm/built-in.o
  1252. CC drivers/misc/mediatek/power/mt6795/battery_meter_hal.o
  1253. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/ram_console/mtk_ram_console.c: In function 'ram_console_early_init':
  1254. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/ram_console/mtk_ram_console.c:562:24: warning: assignment makes pointer from integer without a cast
  1255. ram_console_buffer_pa = CONFIG_MTK_RAM_CONSOLE_DRAM_ADDR;
  1256. ^
  1257. CC drivers/misc/mediatek/power/mt6795/charging_hw_mt_sw_charger.o
  1258. target C: libcrypto_static <= external/openssl/crypto/dsa/dsa_lib.c
  1259. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/power/mt6795/charging_hw_mt_sw_charger.c: In function 'charging_reset_watch_dog_timer':
  1260. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/power/mt6795/charging_hw_mt_sw_charger.c:833:17: warning: implicit declaration of function 'mtk_is_host_mode' [-Wimplicit-function-declaration]
  1261. if(is_m3_en==1 && !mtk_is_host_mode())
  1262. ^
  1263. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/power/mt6795/charging_hw_mt_sw_charger.c: At top level:
  1264. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/power/mt6795/charging_hw_mt_sw_charger.c:1304:19: warning: 'charging_get_error_state' defined but not used [-Wunused-function]
  1265. static kal_uint32 charging_get_error_state(void)
  1266. ^
  1267. CC drivers/misc/mediatek/rrc/mt6795/rrc_drv.o
  1268. external/openssl/crypto/dsa/dsa_lib.c: In function 'DSA_new_method':
  1269. external/openssl/crypto/dsa/dsa_lib.c:133:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1270. DSAerr(DSA_F_DSA_NEW_METHOD,ERR_R_MALLOC_FAILURE);
  1271. ^
  1272. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_info.h:10:0,
  1273. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_manager.h:5,
  1274. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:5,
  1275. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:31:
  1276. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  1277. void enable_screen_idle_switch_decouple();
  1278. ^
  1279. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  1280. void disable_screen_idle_switch_decouple();
  1281. ^
  1282. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c: In function 'rrc_set_refresh_rate_kthread_func':
  1283. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:377:9: warning: unused variable 'enable' [-Wunused-variable]
  1284. int enable ;
  1285. ^
  1286. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:376:9: warning: unused variable 'event' [-Wunused-variable]
  1287. int event ;
  1288. ^
  1289. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c: In function 'rrc_set_120Hz_kthread_func':
  1290. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:440:1: warning: no return statement in function returning non-void [-Wreturn-type]
  1291. }
  1292. ^
  1293. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c: In function 'rrc_set_60Hz_kthread_func':
  1294. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:452:1: warning: no return statement in function returning non-void [-Wreturn-type]
  1295. }
  1296. ^
  1297. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c: In function 'rrc_set_scenario_state':
  1298. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:504:9: warning: unused variable 'j' [-Wunused-variable]
  1299. int j = scenario_status_next & 0x1 ;
  1300. ^
  1301. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c: In function 'rrc_notify_scenario_event':
  1302. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:547:9: warning: unused variable 'curr_rate' [-Wunused-variable]
  1303. int curr_rate ;
  1304. ^
  1305. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:546:9: warning: unused variable 'next_rate' [-Wunused-variable]
  1306. int next_rate ;
  1307. ^
  1308. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c: In function 'rrc_ioctl':
  1309. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:573:18: warning: unused variable 'max_safe_size' [-Wunused-variable]
  1310. unsigned int max_safe_size;
  1311. ^
  1312. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:31:0:
  1313. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c: At top level:
  1314. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:299:12: warning: '__primary_display_switch_mode' declared 'static' but never defined [-Wunused-function]
  1315. static int __primary_display_switch_mode(int sess_mode, unsigned int session, int need_lock);
  1316. ^
  1317. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:148:12: warning: 'rrc_get_ddp_fps' defined but not used [-Wunused-function]
  1318. static int rrc_get_ddp_fps(void)
  1319. ^
  1320. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:157:12: warning: 'rrc_get_ddp_refresh_rate' defined but not used [-Wunused-function]
  1321. static int rrc_get_ddp_refresh_rate(void)
  1322. ^
  1323. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:285:12: warning: 'rrc_is_touch_event' defined but not used [-Wunused-function]
  1324. static int rrc_is_touch_event(void)
  1325. ^
  1326. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:292:12: warning: 'rrc_monitor_fps_kthread_func' defined but not used [-Wunused-function]
  1327. static int rrc_monitor_fps_kthread_func(void *data)
  1328. ^
  1329. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:429:12: warning: 'rrc_set_120Hz_kthread_func' defined but not used [-Wunused-function]
  1330. static int rrc_set_120Hz_kthread_func(void *data)
  1331. ^
  1332. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:442:12: warning: 'rrc_set_60Hz_kthread_func' defined but not used [-Wunused-function]
  1333. static int rrc_set_60Hz_kthread_func(void *data)
  1334. ^
  1335. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:479:12: warning: 'rrc_reset_sample_count' defined but not used [-Wunused-function]
  1336. static int rrc_reset_sample_count(void)
  1337. ^
  1338. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:485:12: warning: 'rrc_get_sample_count' defined but not used [-Wunused-function]
  1339. static int rrc_get_sample_count(void)
  1340. ^
  1341. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rrc/mt6795/rrc_drv.c:490:12: warning: 'rrc_inc_sample_count' defined but not used [-Wunused-function]
  1342. static int rrc_inc_sample_count(void)
  1343. ^
  1344. LD drivers/misc/mediatek/ram_console/built-in.o
  1345. target C: libcrypto_static <= external/openssl/crypto/dsa/dsa_ossl.c
  1346. target C: libcrypto_static <= external/openssl/crypto/dsa/dsa_pmeth.c
  1347. LD drivers/misc/mediatek/rrc/mt6795/rrc_driver.o
  1348. CC drivers/misc/mediatek/rtc/mtk_rtc_common.o
  1349. external/openssl/crypto/dsa/dsa_ossl.c: In function 'dsa_do_sign':
  1350. external/openssl/crypto/dsa/dsa_ossl.c:207:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1351. DSAerr(DSA_F_DSA_DO_SIGN,reason);
  1352. ^
  1353. LD drivers/misc/mediatek/rrc/mt6795/built-in.o
  1354. external/openssl/crypto/dsa/dsa_pmeth.c: In function 'pkey_dsa_ctrl':
  1355. external/openssl/crypto/dsa/dsa_pmeth.c:181:4: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1356. DSAerr(DSA_F_PKEY_DSA_CTRL, DSA_R_INVALID_DIGEST_TYPE);
  1357. ^
  1358. LD drivers/misc/mediatek/rrc/built-in.o
  1359. target C: libcrypto_static <= external/openssl/crypto/dsa/dsa_prn.c
  1360. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rtc/mtk_rtc_common.c:487:12: warning: 'atoi_ext' defined but not used [-Wunused-function]
  1361. static int atoi_ext(const char *a)
  1362. ^
  1363. target C: libcrypto_static <= external/openssl/crypto/dsa/dsa_sign.c
  1364. external/openssl/crypto/dsa/dsa_prn.c: In function 'DSA_print_fp':
  1365. external/openssl/crypto/dsa/dsa_prn.c:72:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1366. DSAerr(DSA_F_DSA_PRINT_FP,ERR_R_BUF_LIB);
  1367. ^
  1368. external/openssl/crypto/dsa/dsa_sign.c: In function 'DSA_sign_setup':
  1369. external/openssl/crypto/dsa/dsa_sign.c:93:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1370. DSAerr(DSA_F_DSA_SIGN_SETUP, DSA_R_NONCE_CANNOT_BE_PRECOMPUTED);
  1371. ^
  1372. CC drivers/misc/mediatek/rtc/mt6795/mtk_rtc_hal.o
  1373. target C: libcrypto_static <= external/openssl/crypto/dsa/dsa_vrf.c
  1374. CC drivers/misc/mediatek/sched/mt_sched.o
  1375. target C: libcrypto_static <= external/openssl/crypto/dso/dso_dl.c
  1376. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rtc/mt6795/mtk_rtc_hal.c:107:8: warning: return type defaults to 'int' [-Wreturn-type]
  1377. static hal_rtc_set_auto_bit(int val)
  1378. ^
  1379. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rtc/mt6795/mtk_rtc_hal.c: In function 'hal_rtc_set_alarm_time':
  1380. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rtc/mt6795/mtk_rtc_hal.c:439:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
  1381. rtc_write(RTC_AL_SEC, rtc_read(RTC_AL_SEC) & (~RTC_AL_SEC_MASK) | (tm->tm_sec & RTC_AL_SEC_MASK));
  1382. ^
  1383. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rtc/mt6795/mtk_rtc_hal.c: In function 'hal_rtc_clear_alarm':
  1384. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rtc/mt6795/mtk_rtc_hal.c:463:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
  1385. rtc_write(RTC_AL_SEC, rtc_read(RTC_AL_SEC) & (~RTC_AL_SEC_MASK) | (tm->tm_sec & RTC_AL_SEC_MASK));
  1386. ^
  1387. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rtc/mt6795/mtk_rtc_hal.c: In function 'hal_rtc_set_auto_bit':
  1388. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/rtc/mt6795/mtk_rtc_hal.c:116:1: warning: control reaches end of non-void function [-Wreturn-type]
  1389. }
  1390. ^
  1391. CC drivers/misc/mediatek/selinux_warning/selinux_warning.o
  1392. CC drivers/misc/mediatek/smi/mt6795/smi_debug.o
  1393. CC drivers/misc/mediatek/sched/mt_compat_sched.o
  1394. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/smi/mt6795/smi_debug.c:23:0:
  1395. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/irqs.h:10:0: warning: "NR_IRQS" redefined
  1396. #define NR_IRQS (NR_MT_IRQ_LINE+220)
  1397. ^
  1398. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/irq.h:4:0,
  1399. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/hardirq.h:21,
  1400. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/hardirq.h:8,
  1401. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/interrupt.h:12,
  1402. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/smi/mt6795/smi_debug.c:6:
  1403. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/asm-generic/irq.h:10:0: note: this is the location of the previous definition
  1404. #define NR_IRQS 64
  1405. ^
  1406. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/smi/mt6795/smi_debug.c:27:0:
  1407. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/fb.h:26:0: warning: "CONFIG_DMA_SHARED_BUFFER" redefined
  1408. #define CONFIG_DMA_SHARED_BUFFER
  1409. ^
  1410. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/kconfig.h:4:0,
  1411. from <command-line>:0:
  1412. include/generated/autoconf.h:959:0: note: this is the location of the previous definition
  1413. #define CONFIG_DMA_SHARED_BUFFER 1
  1414. ^
  1415. LD drivers/misc/mediatek/rtc/mt6795/built-in.o
  1416. LD drivers/misc/mediatek/rtc/built-in.o
  1417. CC drivers/misc/mediatek/smi/mt6795/smi_common.o
  1418. LD drivers/misc/mediatek/selinux_warning/built-in.o
  1419. LD drivers/misc/mediatek/sched/built-in.o
  1420. CC drivers/misc/mediatek/spi/mt6795/spi.o
  1421. target C: libcrypto_static <= external/openssl/crypto/dso/dso_dlfcn.c
  1422. CC drivers/misc/mediatek/spm/mt6795/mt_spm_internal.o
  1423. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spi/mt6795/spi.c:25:0:
  1424. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/irqs.h:10:0: warning: "NR_IRQS" redefined
  1425. #define NR_IRQS (NR_MT_IRQ_LINE+220)
  1426. ^
  1427. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/irq.h:4:0,
  1428. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/hardirq.h:21,
  1429. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/hardirq.h:8,
  1430. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/interrupt.h:12,
  1431. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spi/mt6795/spi.c:10:
  1432. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/asm-generic/irq.h:10:0: note: this is the location of the previous definition
  1433. #define NR_IRQS 64
  1434. ^
  1435. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spi/mt6795/spi.c:29:0:
  1436. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/memory.h:8:0: warning: "PHYS_OFFSET" redefined
  1437. #define PHYS_OFFSET 0x40000000
  1438. ^
  1439. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/page.h:57:0,
  1440. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mm_types.h:16,
  1441. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/sched.h:24,
  1442. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/compat.h:25,
  1443. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/stat.h:23,
  1444. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/stat.h:5,
  1445. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/module.h:10,
  1446. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spi/mt6795/spi.c:2:
  1447. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/memory.h:99:0: note: this is the location of the previous definition
  1448. #define PHYS_OFFSET ({ memstart_addr; })
  1449. ^
  1450. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spi/mt6795/spi.c: In function 'mt_spi_next_xfer':
  1451. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spi/mt6795/spi.c:794:6: warning: unused variable 'reg_val' [-Wunused-variable]
  1452. u32 reg_val = 0;
  1453. ^
  1454. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spi/mt6795/spi.c: In function 'mt_spi_probe':
  1455. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spi/mt6795/spi.c:1370:19: warning: unused variable 'regs' [-Wunused-variable]
  1456. struct resource *regs;
  1457. ^
  1458. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/mt_lpae.h:3:0,
  1459. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_internal.h:11,
  1460. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_internal.c:7:
  1461. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/memory.h:8:0: warning: "PHYS_OFFSET" redefined
  1462. #define PHYS_OFFSET 0x40000000
  1463. ^
  1464. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/page.h:57:0,
  1465. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mm_types.h:16,
  1466. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/sched.h:24,
  1467. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/compat.h:25,
  1468. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/stat.h:23,
  1469. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/stat.h:5,
  1470. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/module.h:10,
  1471. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_internal.c:2:
  1472. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/memory.h:99:0: note: this is the location of the previous definition
  1473. #define PHYS_OFFSET ({ memstart_addr; })
  1474. ^
  1475. CC drivers/misc/mediatek/spm/mt6795/mt_spm_64.o
  1476. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_64.c:13:0:
  1477. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/irqs.h:10:0: warning: "NR_IRQS" redefined
  1478. #define NR_IRQS (NR_MT_IRQ_LINE+220)
  1479. ^
  1480. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/irq.h:4:0,
  1481. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/hardirq.h:21,
  1482. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/hardirq.h:8,
  1483. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/interrupt.h:12,
  1484. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_64.c:4:
  1485. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/asm-generic/irq.h:10:0: note: this is the location of the previous definition
  1486. #define NR_IRQS 64
  1487. ^
  1488. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/mt_lpae.h:3:0,
  1489. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_internal.h:11,
  1490. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_64.c:17:
  1491. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/memory.h:8:0: warning: "PHYS_OFFSET" redefined
  1492. #define PHYS_OFFSET 0x40000000
  1493. ^
  1494. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/page.h:57:0,
  1495. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mm_types.h:16,
  1496. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/sched.h:24,
  1497. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/compat.h:25,
  1498. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/stat.h:23,
  1499. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/stat.h:5,
  1500. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/module.h:10,
  1501. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_64.c:2:
  1502. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/memory.h:99:0: note: this is the location of the previous definition
  1503. #define PHYS_OFFSET ({ memstart_addr; })
  1504. ^
  1505. CC drivers/misc/mediatek/spm/mt6795/mt_spm_fs_64.o
  1506. CC drivers/misc/mediatek/smi/mt6795/mmdvfs_mgr.o
  1507. CC drivers/misc/mediatek/spi/mt6795/spi-dev.o
  1508. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/mt_lpae.h:3:0,
  1509. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_internal.h:11,
  1510. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_fs_64.c:7:
  1511. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/memory.h:8:0: warning: "PHYS_OFFSET" redefined
  1512. #define PHYS_OFFSET 0x40000000
  1513. ^
  1514. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/page.h:57:0,
  1515. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mm_types.h:16,
  1516. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/sched.h:24,
  1517. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/compat.h:25,
  1518. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/stat.h:23,
  1519. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/stat.h:5,
  1520. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/module.h:10,
  1521. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_fs_64.c:2:
  1522. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/memory.h:99:0: note: this is the location of the previous definition
  1523. #define PHYS_OFFSET ({ memstart_addr; })
  1524. ^
  1525. target C: libcrypto_static <= external/openssl/crypto/dso/dso_err.c
  1526. LD drivers/misc/mediatek/smi/mt6795/built-in.o
  1527. CC drivers/misc/mediatek/spm/mt6795/mt_spm_sleep_64.o
  1528. LD drivers/misc/mediatek/smi/built-in.o
  1529. CC drivers/misc/mediatek/spm/mt6795/mt_spm_dpidle_64.o
  1530. CC drivers/misc/mediatek/spm/mt6795/mt_spm_sodi_64.o
  1531. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/mt_lpae.h:3:0,
  1532. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_internal.h:11,
  1533. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_dpidle_64.c:18:
  1534. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/memory.h:8:0: warning: "PHYS_OFFSET" redefined
  1535. #define PHYS_OFFSET 0x40000000
  1536. ^
  1537. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/page.h:57:0,
  1538. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mm_types.h:16,
  1539. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/sched.h:24,
  1540. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/compat.h:25,
  1541. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/stat.h:23,
  1542. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/stat.h:5,
  1543. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/module.h:10,
  1544. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_dpidle_64.c:2:
  1545. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/memory.h:99:0: note: this is the location of the previous definition
  1546. #define PHYS_OFFSET ({ memstart_addr; })
  1547. ^
  1548. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/mt_lpae.h:3:0,
  1549. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_internal.h:11,
  1550. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_sleep_64.c:24:
  1551. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/memory.h:8:0: warning: "PHYS_OFFSET" redefined
  1552. #define PHYS_OFFSET 0x40000000
  1553. ^
  1554. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/page.h:57:0,
  1555. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mm_types.h:16,
  1556. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/sched.h:24,
  1557. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/compat.h:25,
  1558. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/stat.h:23,
  1559. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/stat.h:5,
  1560. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/module.h:10,
  1561. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_sleep_64.c:2:
  1562. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/memory.h:99:0: note: this is the location of the previous definition
  1563. #define PHYS_OFFSET ({ memstart_addr; })
  1564. ^
  1565. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/mt_lpae.h:3:0,
  1566. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_internal.h:11,
  1567. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_sodi_64.c:17:
  1568. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/memory.h:8:0: warning: "PHYS_OFFSET" redefined
  1569. #define PHYS_OFFSET 0x40000000
  1570. ^
  1571. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/page.h:57:0,
  1572. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mm_types.h:16,
  1573. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/sched.h:24,
  1574. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/compat.h:25,
  1575. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/stat.h:23,
  1576. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/stat.h:5,
  1577. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/module.h:10,
  1578. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_sodi_64.c:2:
  1579. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/memory.h:99:0: note: this is the location of the previous definition
  1580. #define PHYS_OFFSET ({ memstart_addr; })
  1581. ^
  1582. LD drivers/misc/mediatek/spi/mt6795/built-in.o
  1583. WARNING: drivers/misc/mediatek/spi/mt6795/built-in.o(.data+0x0): Section mismatch in reference from the variable mt_spi_driver to the variable .init.text:$x
  1584. The variable mt_spi_driver references
  1585. the variable __init $x
  1586. If the reference is valid then annotate the
  1587. variable with __init* or __refdata (see linux/init.h) or name the variable:
  1588. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  1589.  
  1590. WARNING: drivers/misc/mediatek/spi/mt6795/built-in.o(.data+0x160): Section mismatch in reference from the variable spi_test_driver to the variable .init.text:$x
  1591. The variable spi_test_driver references
  1592. the variable __init $x
  1593. If the reference is valid then annotate the
  1594. variable with __init* or __refdata (see linux/init.h) or name the variable:
  1595. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  1596.  
  1597. CC drivers/misc/mediatek/sync/mtk_sync.o
  1598. LD drivers/misc/mediatek/spi/built-in.o
  1599. WARNING: drivers/misc/mediatek/spi/built-in.o(.data+0x0): Section mismatch in reference from the variable mt_spi_driver to the variable .init.text:$x
  1600. The variable mt_spi_driver references
  1601. the variable __init $x
  1602. If the reference is valid then annotate the
  1603. variable with __init* or __refdata (see linux/init.h) or name the variable:
  1604. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  1605.  
  1606. WARNING: drivers/misc/mediatek/spi/built-in.o(.data+0x160): Section mismatch in reference from the variable spi_test_driver to the variable .init.text:$x
  1607. The variable spi_test_driver references
  1608. the variable __init $x
  1609. If the reference is valid then annotate the
  1610. variable with __init* or __refdata (see linux/init.h) or name the variable:
  1611. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  1612.  
  1613. CC drivers/misc/mediatek/sysenv/mt6795/sysenv.o
  1614. target C: libcrypto_static <= external/openssl/crypto/dso/dso_lib.c
  1615. CC drivers/misc/mediatek/spm/mt6795/mt_spm_mcdi_64.o
  1616. external/openssl/crypto/dso/dso_lib.c: In function 'DSO_new_method':
  1617. external/openssl/crypto/dso/dso_lib.c:106:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1618. DSOerr(DSO_F_DSO_NEW_METHOD,ERR_R_MALLOC_FAILURE);
  1619. ^
  1620. LD drivers/misc/mediatek/sync/built-in.o
  1621. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/mt_lpae.h:3:0,
  1622. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_internal.h:11,
  1623. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_mcdi_64.c:19:
  1624. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/memory.h:8:0: warning: "PHYS_OFFSET" redefined
  1625. #define PHYS_OFFSET 0x40000000
  1626. ^
  1627. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/page.h:57:0,
  1628. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mm_types.h:16,
  1629. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/sched.h:24,
  1630. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/compat.h:25,
  1631. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/stat.h:23,
  1632. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/stat.h:5,
  1633. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/module.h:10,
  1634. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_mcdi_64.c:2:
  1635. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/memory.h:99:0: note: this is the location of the previous definition
  1636. #define PHYS_OFFSET ({ memstart_addr; })
  1637. ^
  1638. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_mcdi_64.c: In function 'spm_mcdi_wfi_sel_leave':
  1639. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_mcdi_64.c:636:17: warning: unused variable 'ver' [-Wunused-variable]
  1640. CHIP_SW_VER ver=mt_get_chip_sw_ver();
  1641. ^
  1642. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_mcdi_64.c: In function 'spm_mcdi_wfi':
  1643. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_mcdi_64.c:713:17: warning: unused variable 'ver' [-Wunused-variable]
  1644. CHIP_SW_VER ver=mt_get_chip_sw_ver();
  1645. ^
  1646. target C: libcrypto_static <= external/openssl/crypto/dso/dso_null.c
  1647. LD drivers/misc/mediatek/sysenv/mt6795/built-in.o
  1648. target C: libcrypto_static <= external/openssl/crypto/dso/dso_openssl.c
  1649. LD drivers/misc/mediatek/sysenv/built-in.o
  1650. CC drivers/misc/mediatek/spm/mt6795/mt_spm_talking_64.o
  1651. target C: libcrypto_static <= external/openssl/crypto/ebcdic.c
  1652. CC drivers/misc/mediatek/spm/mt6795/mt_spm_ddrdfs_64.o
  1653. CC drivers/misc/mediatek/systracker/systracker_interface.o
  1654. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/mt_lpae.h:3:0,
  1655. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_internal.h:11,
  1656. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_talking_64.c:9:
  1657. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/memory.h:8:0: warning: "PHYS_OFFSET" redefined
  1658. #define PHYS_OFFSET 0x40000000
  1659. ^
  1660. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/page.h:57:0,
  1661. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mm_types.h:16,
  1662. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/sched.h:24,
  1663. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/compat.h:25,
  1664. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/stat.h:23,
  1665. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/stat.h:5,
  1666. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/module.h:10,
  1667. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_talking_64.c:2:
  1668. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/memory.h:99:0: note: this is the location of the previous definition
  1669. #define PHYS_OFFSET ({ memstart_addr; })
  1670. ^
  1671. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/mt_lpae.h:3:0,
  1672. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_internal.h:11,
  1673. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_ddrdfs_64.c:15:
  1674. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/memory.h:8:0: warning: "PHYS_OFFSET" redefined
  1675. #define PHYS_OFFSET 0x40000000
  1676. ^
  1677. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/page.h:57:0,
  1678. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mm_types.h:16,
  1679. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/sched.h:24,
  1680. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/compat.h:25,
  1681. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/stat.h:23,
  1682. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/stat.h:5,
  1683. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/module.h:10,
  1684. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/spm/mt6795/mt_spm_ddrdfs_64.c:2:
  1685. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/memory.h:99:0: note: this is the location of the previous definition
  1686. #define PHYS_OFFSET ({ memstart_addr; })
  1687. ^
  1688. CC drivers/misc/mediatek/thermal/mtk_thermal_monitor.o
  1689. target C: libcrypto_static <= external/openssl/crypto/ec/ec2_mult.c
  1690. external/openssl/crypto/ec/ec2_mult.c: In function 'ec_GF2m_montgomery_point_multiply':
  1691. external/openssl/crypto/ec/ec2_mult.c:230:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1692. ECerr(EC_F_EC_GF2M_MONTGOMERY_POINT_MULTIPLY, EC_R_INVALID_ARGUMENT);
  1693. ^
  1694. LD drivers/misc/mediatek/spm/mt6795/built-in.o
  1695. CC drivers/misc/mediatek/systracker/mt6795/systracker_platform.o
  1696. LD drivers/misc/mediatek/spm/built-in.o
  1697. CC drivers/misc/mediatek/thermal/mtk_cooler_shutdown.o
  1698. CC drivers/misc/mediatek/uart/uart.o
  1699. LD drivers/misc/mediatek/systracker/mt6795/built-in.o
  1700. CC drivers/misc/mediatek/systracker/backtrace_64bit.o
  1701. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/uart.c:55:0:
  1702. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/irqs.h:10:0: warning: "NR_IRQS" redefined
  1703. #define NR_IRQS (NR_MT_IRQ_LINE+220)
  1704. ^
  1705. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/irq.h:4:0,
  1706. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/hardirq.h:21,
  1707. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/hardirq.h:8,
  1708. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/interrupt.h:12,
  1709. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/serial_core.h:25,
  1710. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/uart.c:40:
  1711. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/asm-generic/irq.h:10:0: note: this is the location of the previous definition
  1712. #define NR_IRQS 64
  1713. ^
  1714. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/uart.c: In function 'mtk_uart_history_store':
  1715. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/uart.c:695:9: warning: unused variable 'res' [-Wunused-variable]
  1716. int res = sscanf(buffer, "%d %d", &tx_index, &rx_index);
  1717. ^
  1718. CC drivers/misc/mediatek/uart/mt6795/platform_uart.o
  1719. LD drivers/misc/mediatek/systracker/built-in.o
  1720. target C: libcrypto_static <= external/openssl/crypto/ec/ec2_oct.c
  1721. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function '__write_fcr_register':
  1722. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:275:23: warning: initialization makes pointer from integer without a cast
  1723. void __iomem *base = uart->base;
  1724. ^
  1725. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'sync_write_fcr_register':
  1726. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:282:23: warning: initialization makes pointer from integer without a cast
  1727. void __iomem *base = uart->base;
  1728. ^
  1729. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function '__set_fcr_register':
  1730. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:294:23: warning: initialization makes pointer from integer without a cast
  1731. void __iomem *base = uart->base;
  1732. ^
  1733. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function '__clr_fcr_register':
  1734. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:302:23: warning: initialization makes pointer from integer without a cast
  1735. void __iomem *base = uart->base;
  1736. ^
  1737. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'dump_reg':
  1738. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:345:23: warning: initialization makes pointer from integer without a cast
  1739. void __iomem *base = uart->base;
  1740. ^
  1741. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'dump_uart_reg':
  1742. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:376:8: warning: assignment makes pointer from integer without a cast
  1743. base = uart->base;
  1744. ^
  1745. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_vfifo_enable':
  1746. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:408:23: warning: initialization makes pointer from integer without a cast
  1747. void __iomem *base = uart->base;
  1748. ^
  1749. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_vfifo_disable':
  1750. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:438:23: warning: initialization makes pointer from integer without a cast
  1751. void __iomem *base = uart->base;
  1752. ^
  1753. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_fifo_set_trig':
  1754. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1245:23: warning: initialization makes pointer from integer without a cast
  1755. void __iomem *base = uart->base;
  1756. ^
  1757. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_set_auto_baud':
  1758. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1285:23: warning: initialization makes pointer from integer without a cast
  1759. void __iomem *base = uart->base;
  1760. ^
  1761. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_cal_baud':
  1762. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1310:23: warning: initialization makes pointer from integer without a cast
  1763. void __iomem *base = uart->base;
  1764. ^
  1765. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'UART_READ_EFR':
  1766. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1456:23: warning: initialization makes pointer from integer without a cast
  1767. void __iomem *base = uart->base;
  1768. ^
  1769. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_set_flow_ctrl':
  1770. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1473:23: warning: initialization makes pointer from integer without a cast
  1771. void __iomem *base = uart->base;
  1772. ^
  1773. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_config':
  1774. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1590:23: warning: initialization makes pointer from integer without a cast
  1775. void __iomem *base = uart->base;
  1776. ^
  1777. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_read_status':
  1778. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1623:23: warning: initialization makes pointer from integer without a cast
  1779. void __iomem *base = uart->base;
  1780. ^
  1781. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_write_allow':
  1782. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1646:23: warning: initialization makes pointer from integer without a cast
  1783. void __iomem *base = uart->base;
  1784. ^
  1785. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_enable_intrs':
  1786. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1653:23: warning: initialization makes pointer from integer without a cast
  1787. void __iomem *base = uart->base;
  1788. ^
  1789. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_disable_intrs':
  1790. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1662:23: warning: initialization makes pointer from integer without a cast
  1791. void __iomem *base = uart->base;
  1792. ^
  1793. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_read_byte':
  1794. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1671:23: warning: initialization makes pointer from integer without a cast
  1795. void __iomem *base = uart->base;
  1796. ^
  1797. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_write_byte':
  1798. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1678:23: warning: initialization makes pointer from integer without a cast
  1799. void __iomem *base = uart->base;
  1800. ^
  1801. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_get_interrupt':
  1802. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1711:23: warning: initialization makes pointer from integer without a cast
  1803. void __iomem *base = uart->base;
  1804. ^
  1805. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_get_modem_status':
  1806. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1725:23: warning: initialization makes pointer from integer without a cast
  1807. void __iomem *base = uart->base;
  1808. ^
  1809. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_rx_pre_handler':
  1810. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1759:23: warning: initialization makes pointer from integer without a cast
  1811. void __iomem *base = uart->base;
  1812. ^
  1813. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_set_mctrl':
  1814. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1785:23: warning: initialization makes pointer from integer without a cast
  1815. void __iomem *base = uart->base;
  1816. ^
  1817. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_get_mctrl':
  1818. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1828:23: warning: initialization makes pointer from integer without a cast
  1819. void __iomem *base = uart->base;
  1820. ^
  1821. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_break_ctl':
  1822. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1895:23: warning: initialization makes pointer from integer without a cast
  1823. void __iomem *base = uart->base;
  1824. ^
  1825. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_enable_sleep':
  1826. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:1926:23: warning: initialization makes pointer from integer without a cast
  1827. void __iomem *base = uart->base;
  1828. ^
  1829. external/openssl/crypto/ec/ec2_oct.c: In function 'ec_GF2m_simple_set_compressed_coordinates':
  1830. external/openssl/crypto/ec/ec2_oct.c:135:5: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1831. ECerr(EC_F_EC_GF2M_SIMPLE_SET_COMPRESSED_COORDINATES, EC_R_INVALID_COMPRESSED_POINT);
  1832. ^
  1833. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_save':
  1834. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:2069:7: warning: assignment makes pointer from integer without a cast
  1835. base = uart->base;
  1836. ^
  1837. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c: In function 'mtk_uart_restore':
  1838. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/uart/mt6795/platform_uart.c:2111:7: warning: assignment makes pointer from integer without a cast
  1839. base = uart->base;
  1840. ^
  1841. CC drivers/misc/mediatek/thermal/mtk_cooler_backlight.o
  1842. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/thermal/mtk_cooler_backlight.c:32:13: warning: 'mtk_cl_backlight_set_max_brightness_limit' defined but not used [-Wunused-function]
  1843. static void mtk_cl_backlight_set_max_brightness_limit(void)
  1844. ^
  1845. target C: libcrypto_static <= external/openssl/crypto/ec/ec2_smpl.c
  1846. CC drivers/misc/mediatek/thermal/mtk_cooler_kshutdown.o
  1847. external/openssl/crypto/ec/ec2_smpl.c: In function 'ec_GF2m_simple_group_set_curve':
  1848. external/openssl/crypto/ec/ec2_smpl.c:208:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1849. ECerr(EC_F_EC_GF2M_SIMPLE_GROUP_SET_CURVE, EC_R_UNSUPPORTED_FIELD);
  1850. ^
  1851. target C: libcrypto_static <= external/openssl/crypto/ec/ec_ameth.c
  1852. CC drivers/misc/mediatek/thermal/mtk_cooler_cam.o
  1853. external/openssl/crypto/ec/ec_ameth.c: In function 'eckey_param2type':
  1854. external/openssl/crypto/ec/ec_ameth.c:74:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1855. ECerr(EC_F_ECKEY_PARAM2TYPE, EC_R_MISSING_PARAMETERS);
  1856. ^
  1857. CC drivers/misc/mediatek/uibc/uibc.o
  1858. CC drivers/misc/mediatek/thermal/mtk_cooler_vrt.o
  1859. LD drivers/misc/mediatek/uart/mt6795/built-in.o
  1860. LD drivers/misc/mediatek/uart/built-in.o
  1861. CC drivers/misc/mediatek/thermal/mt6795/mtk_thermal_platform.o
  1862. target C: libcrypto_static <= external/openssl/crypto/ec/ec_asn1.c
  1863. external/openssl/crypto/ec/ec_asn1.c: In function 'EC_GROUP_get_trinomial_basis':
  1864. external/openssl/crypto/ec/ec_asn1.c:96:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1865. ECerr(EC_F_EC_GROUP_GET_TRINOMIAL_BASIS, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
  1866. ^
  1867. LD drivers/misc/mediatek/uibc/built-in.o
  1868. target C: libcrypto_static <= external/openssl/crypto/ec/ec_check.c
  1869. CC drivers/misc/mediatek/thermal/mt6795/mtk_ts_pa_thput.o
  1870. external/openssl/crypto/ec/ec_check.c: In function 'EC_GROUP_check':
  1871. external/openssl/crypto/ec/ec_check.c:71:4: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1872. ECerr(EC_F_EC_GROUP_CHECK, ERR_R_MALLOC_FAILURE);
  1873. ^
  1874. target C: libcrypto_static <= external/openssl/crypto/ec/ec_curve.c
  1875. CC drivers/misc/mediatek/vcorefs/mt6795/mt_vcore_dvfs_64.o
  1876. external/openssl/crypto/ec/ec_curve.c: In function 'ec_group_new_from_data':
  1877. external/openssl/crypto/ec/ec_curve.c:1949:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1878. ECerr(EC_F_EC_GROUP_NEW_FROM_DATA, ERR_R_MALLOC_FAILURE);
  1879. ^
  1880. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_info.h:10:0,
  1881. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_manager.h:5,
  1882. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:5,
  1883. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/vcorefs/mt6795/mt_vcore_dvfs_64.c:28:
  1884. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  1885. void enable_screen_idle_switch_decouple();
  1886. ^
  1887. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  1888. void disable_screen_idle_switch_decouple();
  1889. ^
  1890. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/vcorefs/mt6795/mt_vcore_dvfs_64.c:28:0:
  1891. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:299:12: warning: '__primary_display_switch_mode' declared 'static' but never defined [-Wunused-function]
  1892. static int __primary_display_switch_mode(int sess_mode, unsigned int session, int need_lock);
  1893. ^
  1894. CC drivers/misc/mediatek/thermal/mt6795/mtk_cooler_bcct.o
  1895. target C: libcrypto_static <= external/openssl/crypto/ec/ec_cvt.c
  1896. CC drivers/misc/mediatek/vibrator/vibrator_drv.o
  1897. LD drivers/misc/mediatek/vcorefs/mt6795/built-in.o
  1898. CC drivers/misc/mediatek/vibrator/mt6795/vibrator.o
  1899. LD drivers/misc/mediatek/vcorefs/built-in.o
  1900. CC drivers/misc/mediatek/thermal/mt6795/mtk_ts_wmt.o
  1901. target C: libcrypto_static <= external/openssl/crypto/ec/ec_err.c
  1902. CC drivers/misc/mediatek/thermal/mt6795/mtk_cooler_mutt.o
  1903. CC drivers/misc/mediatek/thermal/mt6795/mtk_cooler_amutt.o
  1904. LD drivers/misc/mediatek/vibrator/mt6795/built-in.o
  1905. LD drivers/misc/mediatek/vibrator/built-in.o
  1906. target C: libcrypto_static <= external/openssl/crypto/ec/ec_key.c
  1907. external/openssl/crypto/ec/ec_key.c: In function 'EC_KEY_new':
  1908. external/openssl/crypto/ec/ec_key.c:78:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1909. ECerr(EC_F_EC_KEY_NEW, ERR_R_MALLOC_FAILURE);
  1910. ^
  1911. target C: libcrypto_static <= external/openssl/crypto/ec/ec_lib.c
  1912. external/openssl/crypto/ec/ec_lib.c: In function 'EC_GROUP_new':
  1913. external/openssl/crypto/ec/ec_lib.c:82:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1914. ECerr(EC_F_EC_GROUP_NEW, EC_R_SLOT_FULL);
  1915. ^
  1916. target C: libcrypto_static <= external/openssl/crypto/ec/ec_mult.c
  1917. CC drivers/misc/mediatek/thermal/mt6795/mtk_ts_cpu.o
  1918. external/openssl/crypto/ec/ec_mult.c: In function 'ec_pre_comp_new':
  1919. external/openssl/crypto/ec/ec_mult.c:108:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  1920. ECerr(EC_F_EC_PRE_COMP_NEW, ERR_R_MALLOC_FAILURE);
  1921. ^
  1922. CC drivers/misc/mediatek/videocodec/videocodec_kernel.o
  1923. CC drivers/misc/mediatek/thermal/mt6795/mtk_ts_abb.o
  1924. CC drivers/misc/mediatek/videox/mt6795/mtkfb_console.o
  1925. CC drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.o
  1926. CC drivers/misc/mediatek/videox/mt6795/disp_assert_layer.o
  1927. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:15:0:
  1928. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c: In function 'compat_copy_struct':
  1929. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:194:32: warning: initialization makes pointer from integer without a cast
  1930. __typeof__(*(ptr)) __pu_val = (x); \
  1931. ^
  1932. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:217:2: note: in expansion of macro '__put_user_err'
  1933. __put_user_err((x), (ptr), __pu_err); \
  1934. ^
  1935. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:234:3: note: in expansion of macro '__put_user'
  1936. __put_user((x), __p) : \
  1937. ^
  1938. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1715:76: note: in expansion of macro 'put_user'
  1939. err = get_user(p, &(from32->pvHandle)); err |= put_user(p, &(to->pvHandle));
  1940. ^
  1941. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:194:32: warning: initialization makes pointer from integer without a cast
  1942. __typeof__(*(ptr)) __pu_val = (x); \
  1943. ^
  1944. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:217:2: note: in expansion of macro '__put_user_err'
  1945. __put_user_err((x), (ptr), __pu_err); \
  1946. ^
  1947. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:234:3: note: in expansion of macro '__put_user'
  1948. __put_user((x), __p) : \
  1949. ^
  1950. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1717:76: note: in expansion of macro 'put_user'
  1951. err |= get_user(p, &(from32->pvLock)); err |= put_user(p, &(to->pvLock));
  1952. ^
  1953. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:194:32: warning: initialization makes pointer from integer without a cast
  1954. __typeof__(*(ptr)) __pu_val = (x); \
  1955. ^
  1956. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:217:2: note: in expansion of macro '__put_user_err'
  1957. __put_user_err((x), (ptr), __pu_err); \
  1958. ^
  1959. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:234:3: note: in expansion of macro '__put_user'
  1960. __put_user((x), __p) : \
  1961. ^
  1962. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1719:76: note: in expansion of macro 'put_user'
  1963. err |= get_user(p, &(from32->pvReserved)); err |= put_user(p, &(to->pvReserved));
  1964. ^
  1965. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:149:6: warning: assignment makes integer from pointer without a cast
  1966. (x) = (__typeof__(*(ptr)))__gu_val; \
  1967. ^
  1968. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:155:2: note: in expansion of macro '__get_user_err'
  1969. __get_user_err((x), (ptr), __gu_err); \
  1970. ^
  1971. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:172:3: note: in expansion of macro '__get_user'
  1972. __get_user((x), __p) : \
  1973. ^
  1974. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1729:27: note: in expansion of macro 'get_user'
  1975. err = get_user(p, &(from->pvHandle)); err |= put_user(p, &(to32->pvHandle));
  1976. ^
  1977. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:149:6: warning: assignment makes integer from pointer without a cast
  1978. (x) = (__typeof__(*(ptr)))__gu_val; \
  1979. ^
  1980. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:155:2: note: in expansion of macro '__get_user_err'
  1981. __get_user_err((x), (ptr), __gu_err); \
  1982. ^
  1983. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:172:3: note: in expansion of macro '__get_user'
  1984. __get_user((x), __p) : \
  1985. ^
  1986. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1731:28: note: in expansion of macro 'get_user'
  1987. err |= get_user(p, &(from->pvLock)); err |= put_user(p, &(to32->pvLock));
  1988. ^
  1989. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:149:6: warning: assignment makes integer from pointer without a cast
  1990. (x) = (__typeof__(*(ptr)))__gu_val; \
  1991. ^
  1992. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:155:2: note: in expansion of macro '__get_user_err'
  1993. __get_user_err((x), (ptr), __gu_err); \
  1994. ^
  1995. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:172:3: note: in expansion of macro '__get_user'
  1996. __get_user((x), __p) : \
  1997. ^
  1998. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1733:28: note: in expansion of macro 'get_user'
  1999. err |= get_user(p, &(from->pvReserved)); err |= put_user(p, &(to32->pvReserved));
  2000. ^
  2001. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:194:32: warning: initialization makes pointer from integer without a cast
  2002. __typeof__(*(ptr)) __pu_val = (x); \
  2003. ^
  2004. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:217:2: note: in expansion of macro '__put_user_err'
  2005. __put_user_err((x), (ptr), __pu_err); \
  2006. ^
  2007. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:234:3: note: in expansion of macro '__put_user'
  2008. __put_user((x), __p) : \
  2009. ^
  2010. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1747:76: note: in expansion of macro 'put_user'
  2011. err = get_user(p, &(from32->pvHandle)); err |= put_user(p, &(to->pvHandle));
  2012. ^
  2013. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:194:32: warning: initialization makes pointer from integer without a cast
  2014. __typeof__(*(ptr)) __pu_val = (x); \
  2015. ^
  2016. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:217:2: note: in expansion of macro '__put_user_err'
  2017. __put_user_err((x), (ptr), __pu_err); \
  2018. ^
  2019. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:234:3: note: in expansion of macro '__put_user'
  2020. __put_user((x), __p) : \
  2021. ^
  2022. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1751:76: note: in expansion of macro 'put_user'
  2023. err |= get_user(p, &(from32->pvReserved)); err |= put_user(p, &(to->pvReserved));
  2024. ^
  2025. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:149:6: warning: assignment makes integer from pointer without a cast
  2026. (x) = (__typeof__(*(ptr)))__gu_val; \
  2027. ^
  2028. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:155:2: note: in expansion of macro '__get_user_err'
  2029. __get_user_err((x), (ptr), __gu_err); \
  2030. ^
  2031. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:172:3: note: in expansion of macro '__get_user'
  2032. __get_user((x), __p) : \
  2033. ^
  2034. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1759:27: note: in expansion of macro 'get_user'
  2035. err = get_user(p, &(from->pvHandle)); err |= put_user(p, &(to32->pvHandle));
  2036. ^
  2037. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:149:6: warning: assignment makes integer from pointer without a cast
  2038. (x) = (__typeof__(*(ptr)))__gu_val; \
  2039. ^
  2040. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:155:2: note: in expansion of macro '__get_user_err'
  2041. __get_user_err((x), (ptr), __gu_err); \
  2042. ^
  2043. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:172:3: note: in expansion of macro '__get_user'
  2044. __get_user((x), __p) : \
  2045. ^
  2046. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1763:28: note: in expansion of macro 'get_user'
  2047. err |= get_user(p, &(from->pvReserved)); err |= put_user(p, &(to32->pvReserved));
  2048. ^
  2049. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:194:32: warning: initialization makes pointer from integer without a cast
  2050. __typeof__(*(ptr)) __pu_val = (x); \
  2051. ^
  2052. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:217:2: note: in expansion of macro '__put_user_err'
  2053. __put_user_err((x), (ptr), __pu_err); \
  2054. ^
  2055. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:234:3: note: in expansion of macro '__put_user'
  2056. __put_user((x), __p) : \
  2057. ^
  2058. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1776:76: note: in expansion of macro 'put_user'
  2059. err = get_user(p, &(from32->pvHandle)); err |= put_user(p, &(to->pvHandle));
  2060. ^
  2061. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:194:32: warning: initialization makes pointer from integer without a cast
  2062. __typeof__(*(ptr)) __pu_val = (x); \
  2063. ^
  2064. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:217:2: note: in expansion of macro '__put_user_err'
  2065. __put_user_err((x), (ptr), __pu_err); \
  2066. ^
  2067. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:234:3: note: in expansion of macro '__put_user'
  2068. __put_user((x), __p) : \
  2069. ^
  2070. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1779:76: note: in expansion of macro 'put_user'
  2071. err |= get_user(p, &(from32->pvIsrFunction)); err |= put_user(p, &(to->pvIsrFunction));
  2072. ^
  2073. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:194:32: warning: initialization makes pointer from integer without a cast
  2074. __typeof__(*(ptr)) __pu_val = (x); \
  2075. ^
  2076. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:217:2: note: in expansion of macro '__put_user_err'
  2077. __put_user_err((x), (ptr), __pu_err); \
  2078. ^
  2079. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:234:3: note: in expansion of macro '__put_user'
  2080. __put_user((x), __p) : \
  2081. ^
  2082. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1780:76: note: in expansion of macro 'put_user'
  2083. err |= get_user(p, &(from32->pvReserved)); err |= put_user(p, &(to->pvReserved));
  2084. ^
  2085. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:149:6: warning: assignment makes integer from pointer without a cast
  2086. (x) = (__typeof__(*(ptr)))__gu_val; \
  2087. ^
  2088. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:155:2: note: in expansion of macro '__get_user_err'
  2089. __get_user_err((x), (ptr), __gu_err); \
  2090. ^
  2091. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:172:3: note: in expansion of macro '__get_user'
  2092. __get_user((x), __p) : \
  2093. ^
  2094. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1797:27: note: in expansion of macro 'get_user'
  2095. err = get_user(p, &(from->pvHandle)); err |= put_user(p, &(to32->pvHandle));
  2096. ^
  2097. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:149:6: warning: assignment makes integer from pointer without a cast
  2098. (x) = (__typeof__(*(ptr)))__gu_val; \
  2099. ^
  2100. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:155:2: note: in expansion of macro '__get_user_err'
  2101. __get_user_err((x), (ptr), __gu_err); \
  2102. ^
  2103. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:172:3: note: in expansion of macro '__get_user'
  2104. __get_user((x), __p) : \
  2105. ^
  2106. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1800:28: note: in expansion of macro 'get_user'
  2107. err |= get_user(p, &(from->pvIsrFunction)); err |= put_user(p, &(to32->pvIsrFunction));
  2108. ^
  2109. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:149:6: warning: assignment makes integer from pointer without a cast
  2110. (x) = (__typeof__(*(ptr)))__gu_val; \
  2111. ^
  2112. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:155:2: note: in expansion of macro '__get_user_err'
  2113. __get_user_err((x), (ptr), __gu_err); \
  2114. ^
  2115. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:172:3: note: in expansion of macro '__get_user'
  2116. __get_user((x), __p) : \
  2117. ^
  2118. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1801:28: note: in expansion of macro 'get_user'
  2119. err |= get_user(p, &(from->pvReserved)); err |= put_user(p, &(to32->pvReserved));
  2120. ^
  2121. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:194:32: warning: initialization makes pointer from integer without a cast
  2122. __typeof__(*(ptr)) __pu_val = (x); \
  2123. ^
  2124. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:217:2: note: in expansion of macro '__put_user_err'
  2125. __put_user_err((x), (ptr), __pu_err); \
  2126. ^
  2127. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:234:3: note: in expansion of macro '__put_user'
  2128. __put_user((x), __p) : \
  2129. ^
  2130. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1822:76: note: in expansion of macro 'put_user'
  2131. err |= get_user(p, &(from32->pvMemVa)); err |= put_user(p, &(to->pvMemVa));
  2132. ^
  2133. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:194:32: warning: initialization makes pointer from integer without a cast
  2134. __typeof__(*(ptr)) __pu_val = (x); \
  2135. ^
  2136. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:217:2: note: in expansion of macro '__put_user_err'
  2137. __put_user_err((x), (ptr), __pu_err); \
  2138. ^
  2139. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:234:3: note: in expansion of macro '__put_user'
  2140. __put_user((x), __p) : \
  2141. ^
  2142. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1823:76: note: in expansion of macro 'put_user'
  2143. err |= get_user(p, &(from32->pvMemPa)); err |= put_user(p, &(to->pvMemPa));
  2144. ^
  2145. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:194:32: warning: initialization makes pointer from integer without a cast
  2146. __typeof__(*(ptr)) __pu_val = (x); \
  2147. ^
  2148. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:217:2: note: in expansion of macro '__put_user_err'
  2149. __put_user_err((x), (ptr), __pu_err); \
  2150. ^
  2151. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:234:3: note: in expansion of macro '__put_user'
  2152. __put_user((x), __p) : \
  2153. ^
  2154. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1825:76: note: in expansion of macro 'put_user'
  2155. err |= get_user(p, &(from32->pvAlignMemVa)); err |= put_user(p, &(to->pvAlignMemVa));
  2156. ^
  2157. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:194:32: warning: initialization makes pointer from integer without a cast
  2158. __typeof__(*(ptr)) __pu_val = (x); \
  2159. ^
  2160. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:217:2: note: in expansion of macro '__put_user_err'
  2161. __put_user_err((x), (ptr), __pu_err); \
  2162. ^
  2163. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:234:3: note: in expansion of macro '__put_user'
  2164. __put_user((x), __p) : \
  2165. ^
  2166. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1826:76: note: in expansion of macro 'put_user'
  2167. err |= get_user(p, &(from32->pvAlignMemPa)); err |= put_user(p, &(to->pvAlignMemPa));
  2168. ^
  2169. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:194:32: warning: initialization makes pointer from integer without a cast
  2170. __typeof__(*(ptr)) __pu_val = (x); \
  2171. ^
  2172. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:217:2: note: in expansion of macro '__put_user_err'
  2173. __put_user_err((x), (ptr), __pu_err); \
  2174. ^
  2175. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:234:3: note: in expansion of macro '__put_user'
  2176. __put_user((x), __p) : \
  2177. ^
  2178. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1829:76: note: in expansion of macro 'put_user'
  2179. err |= get_user(p, &(from32->pIonBufhandle)); err |= put_user(p, &(to->pIonBufhandle));
  2180. ^
  2181. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:194:32: warning: initialization makes pointer from integer without a cast
  2182. __typeof__(*(ptr)) __pu_val = (x); \
  2183. ^
  2184. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:217:2: note: in expansion of macro '__put_user_err'
  2185. __put_user_err((x), (ptr), __pu_err); \
  2186. ^
  2187. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:234:3: note: in expansion of macro '__put_user'
  2188. __put_user((x), __p) : \
  2189. ^
  2190. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1830:76: note: in expansion of macro 'put_user'
  2191. err |= get_user(p, &(from32->pvReserved)); err |= put_user(p, &(to->pvReserved));
  2192. ^
  2193. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:149:6: warning: assignment makes integer from pointer without a cast
  2194. (x) = (__typeof__(*(ptr)))__gu_val; \
  2195. ^
  2196. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:155:2: note: in expansion of macro '__get_user_err'
  2197. __get_user_err((x), (ptr), __gu_err); \
  2198. ^
  2199. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:172:3: note: in expansion of macro '__get_user'
  2200. __get_user((x), __p) : \
  2201. ^
  2202. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1842:28: note: in expansion of macro 'get_user'
  2203. err |= get_user(p, &(from->pvMemVa)); err |= put_user(p, &(to32->pvMemVa));
  2204. ^
  2205. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:149:6: warning: assignment makes integer from pointer without a cast
  2206. (x) = (__typeof__(*(ptr)))__gu_val; \
  2207. ^
  2208. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:155:2: note: in expansion of macro '__get_user_err'
  2209. __get_user_err((x), (ptr), __gu_err); \
  2210. ^
  2211. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:172:3: note: in expansion of macro '__get_user'
  2212. __get_user((x), __p) : \
  2213. ^
  2214. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1843:28: note: in expansion of macro 'get_user'
  2215. err |= get_user(p, &(from->pvMemPa)); err |= put_user(p, &(to32->pvMemPa));
  2216. ^
  2217. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:149:6: warning: assignment makes integer from pointer without a cast
  2218. (x) = (__typeof__(*(ptr)))__gu_val; \
  2219. ^
  2220. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:155:2: note: in expansion of macro '__get_user_err'
  2221. __get_user_err((x), (ptr), __gu_err); \
  2222. ^
  2223. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:172:3: note: in expansion of macro '__get_user'
  2224. __get_user((x), __p) : \
  2225. ^
  2226. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1845:28: note: in expansion of macro 'get_user'
  2227. err |= get_user(p, &(from->pvAlignMemVa)); err |= put_user(p, &(to32->pvAlignMemVa));
  2228. ^
  2229. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:149:6: warning: assignment makes integer from pointer without a cast
  2230. (x) = (__typeof__(*(ptr)))__gu_val; \
  2231. ^
  2232. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:155:2: note: in expansion of macro '__get_user_err'
  2233. __get_user_err((x), (ptr), __gu_err); \
  2234. ^
  2235. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:172:3: note: in expansion of macro '__get_user'
  2236. __get_user((x), __p) : \
  2237. ^
  2238. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1846:28: note: in expansion of macro 'get_user'
  2239. err |= get_user(p, &(from->pvAlignMemPa)); err |= put_user(p, &(to32->pvAlignMemPa));
  2240. ^
  2241. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:149:6: warning: assignment makes integer from pointer without a cast
  2242. (x) = (__typeof__(*(ptr)))__gu_val; \
  2243. ^
  2244. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:155:2: note: in expansion of macro '__get_user_err'
  2245. __get_user_err((x), (ptr), __gu_err); \
  2246. ^
  2247. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:172:3: note: in expansion of macro '__get_user'
  2248. __get_user((x), __p) : \
  2249. ^
  2250. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1849:28: note: in expansion of macro 'get_user'
  2251. err |= get_user(p, &(from->pIonBufhandle)); err |= put_user(p, &(to32->pIonBufhandle));
  2252. ^
  2253. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:149:6: warning: assignment makes integer from pointer without a cast
  2254. (x) = (__typeof__(*(ptr)))__gu_val; \
  2255. ^
  2256. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:155:2: note: in expansion of macro '__get_user_err'
  2257. __get_user_err((x), (ptr), __gu_err); \
  2258. ^
  2259. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/uaccess.h:172:3: note: in expansion of macro '__get_user'
  2260. __get_user((x), __p) : \
  2261. ^
  2262. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videocodec/mt6795/videocodec_kernel_driver.c:1850:28: note: in expansion of macro 'get_user'
  2263. err |= get_user(p, &(from->pvReserved)); err |= put_user(p, &(to32->pvReserved));
  2264. ^
  2265. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_info.h:10:0,
  2266. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_manager.h:5,
  2267. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:5,
  2268. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_assert_layer.c:3:
  2269. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2270. void enable_screen_idle_switch_decouple();
  2271. ^
  2272. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2273. void disable_screen_idle_switch_decouple();
  2274. ^
  2275. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  2276. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_assert_layer.c:5:
  2277. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2278. void dprec_logger_dump_reset();
  2279. ^
  2280. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2281. char *dprec_logger_get_dump_addr();
  2282. ^
  2283. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2284. unsigned int dprec_logger_get_dump_len();
  2285. ^
  2286. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_assert_layer.c: In function 'DAL_Clean':
  2287. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_assert_layer.c:295:47: warning: passing argument 1 of 'primary_display_config_input_multiple' from incompatible pointer type
  2288. ret = primary_display_config_input_multiple(&primary_input);
  2289. ^
  2290. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_assert_layer.c:3:0:
  2291. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:272:5: note: expected 'struct primary_disp_input_config *' but argument is of type 'struct primary_disp_input_config (*)[4]'
  2292. int primary_display_config_input_multiple(primary_disp_input_config* input);
  2293. ^
  2294. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_assert_layer.c:309:1: warning: label 'End' defined but not used [-Wunused-label]
  2295. End:
  2296. ^
  2297. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_assert_layer.c:234:18: warning: unused variable 'BG_COLOR' [-Wunused-variable]
  2298. const UINT32 BG_COLOR = MAKE_TWO_RGB565_COLOR(DAL_BG_COLOR, DAL_BG_COLOR);
  2299. ^
  2300. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_assert_layer.c: In function 'DAL_Printf':
  2301. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_assert_layer.c:354:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2302. primary_disp_input_config *input= &primary_input[0];
  2303. ^
  2304. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_assert_layer.c:373:47: warning: passing argument 1 of 'primary_display_config_input_multiple' from incompatible pointer type
  2305. ret = primary_display_config_input_multiple(&primary_input);
  2306. ^
  2307. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_assert_layer.c:3:0:
  2308. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:272:5: note: expected 'struct primary_disp_input_config *' but argument is of type 'struct primary_disp_input_config (*)[4]'
  2309. int primary_display_config_input_multiple(primary_disp_input_config* input);
  2310. ^
  2311. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_assert_layer.c:403:1: warning: label 'End' defined but not used [-Wunused-label]
  2312. End:
  2313. ^
  2314. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_assert_layer.c:3:0:
  2315. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_assert_layer.c: At top level:
  2316. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:299:12: warning: '__primary_display_switch_mode' declared 'static' but never defined [-Wunused-function]
  2317. static int __primary_display_switch_mode(int sess_mode, unsigned int session, int need_lock);
  2318. ^
  2319. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_assert_layer.c:91:14: warning: 'dal_enable_when_resume' defined but not used [-Wunused-variable]
  2320. static BOOL dal_enable_when_resume = FALSE;
  2321. ^
  2322. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_assert_layer.c:117:19: warning: 'DAL_SetRedScreen' defined but not used [-Wunused-function]
  2323. static DAL_STATUS DAL_SetRedScreen(UINT32 *addr)
  2324. ^
  2325. LD drivers/misc/mediatek/power/mt6795/built-in.o
  2326. LD drivers/misc/mediatek/power/built-in.o
  2327. target C: libcrypto_static <= external/openssl/crypto/ec/ec_oct.c
  2328. target C: libcrypto_static <= external/openssl/crypto/ec/ec_pmeth.c
  2329. external/openssl/crypto/ec/ec_oct.c: In function 'EC_POINT_set_compressed_coordinates_GFp':
  2330. external/openssl/crypto/ec/ec_oct.c:77:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  2331. ECerr(EC_F_EC_POINT_SET_COMPRESSED_COORDINATES_GFP, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
  2332. ^
  2333. CC drivers/misc/mediatek/videox/mt6795/mtkfb.o
  2334. external/openssl/crypto/ec/ec_pmeth.c: In function 'pkey_ec_sign':
  2335. external/openssl/crypto/ec/ec_pmeth.c:134:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  2336. ECerr(EC_F_PKEY_EC_SIGN, EC_R_BUFFER_TOO_SMALL);
  2337. ^
  2338. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:5:0:
  2339. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/fb.h:26:0: warning: "CONFIG_DMA_SHARED_BUFFER" redefined
  2340. #define CONFIG_DMA_SHARED_BUFFER
  2341. ^
  2342. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:1:0:
  2343. include/generated/autoconf.h:959:0: note: this is the location of the previous definition
  2344. #define CONFIG_DMA_SHARED_BUFFER 1
  2345. ^
  2346. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:36:0:
  2347. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.h:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2348. bool get_ovl1_to_mem_on();
  2349. ^
  2350. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  2351. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:39:
  2352. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2353. void dprec_logger_dump_reset();
  2354. ^
  2355. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2356. char *dprec_logger_get_dump_addr();
  2357. ^
  2358. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2359. unsigned int dprec_logger_get_dump_len();
  2360. ^
  2361. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/y991/core/board-custom.h:4:0,
  2362. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_platform.h:13,
  2363. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.h:7,
  2364. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:44:
  2365. include/generated/autoconf.h:959:0: warning: "CONFIG_DMA_SHARED_BUFFER" redefined
  2366. #define CONFIG_DMA_SHARED_BUFFER 1
  2367. ^
  2368. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:5:0:
  2369. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/fb.h:26:0: note: this is the location of the previous definition
  2370. #define CONFIG_DMA_SHARED_BUFFER
  2371. ^
  2372. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_info.h:10:0,
  2373. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_path.h:4,
  2374. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_platform.h:17,
  2375. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.h:7,
  2376. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:44:
  2377. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2378. void enable_screen_idle_switch_decouple();
  2379. ^
  2380. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2381. void disable_screen_idle_switch_decouple();
  2382. ^
  2383. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:44:0:
  2384. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.h:155:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2385. int mtkfb_fence_timeline_index();
  2386. ^
  2387. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:53:0:
  2388. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.h:65:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2389. int get_ovl2mem_ticket();
  2390. ^
  2391. CC drivers/misc/mediatek/videox/mt6795/mtkfb_vsync.o
  2392. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.h:70:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2393. void ovl2mem_wait_done();
  2394. ^
  2395. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.h:71:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2396. int ovl2mem_deinit();
  2397. ^
  2398. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c: In function 'mtkfb_pan_display_impl':
  2399. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:778:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2400. primary_disp_input_config input;
  2401. ^
  2402. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:745:6: warning: unused variable 'wait_ret' [-Wunused-variable]
  2403. int wait_ret = 0;
  2404. ^
  2405. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c: In function 'mtkfb_set_par':
  2406. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:1098:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2407. primary_disp_input_config temp;
  2408. ^
  2409. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:1121:1: warning: label 'Done' defined but not used [-Wunused-label]
  2410. Done:
  2411. ^
  2412. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c: In function 'mtkfb_ioctl':
  2413. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:1441:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2414. primary_disp_input_config input;
  2415. ^
  2416. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:1594:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2417. struct mtkfb_device *fbdev = (struct mtkfb_device *)mtkfb_fbi->par;
  2418. ^
  2419. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c: In function 'mtkfb_compat_ioctl':
  2420. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:1785:17: warning: unused variable 'ret' [-Wunused-variable]
  2421. DISP_STATUS ret = 0;
  2422. ^
  2423. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:1784:18: warning: unused variable 'argp' [-Wunused-variable]
  2424. void __user *argp = (void __user *)arg;
  2425. ^
  2426. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c: In function 'mtkfb_find_lcm_driver':
  2427. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:2083:12: warning: unused variable 'q' [-Wunused-variable]
  2428. char *p, *q;
  2429. ^
  2430. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:2083:8: warning: unused variable 'p' [-Wunused-variable]
  2431. char *p, *q;
  2432. ^
  2433. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:2082:7: warning: unused variable 'ret' [-Wunused-variable]
  2434. BOOL ret = FALSE;
  2435. ^
  2436. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c: In function '__parse_tag_videolfb_extra':
  2437. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:2310:6: warning: unused variable 'ret' [-Wunused-variable]
  2438. int ret;
  2439. ^
  2440. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c: In function '_parse_tag_videolfb':
  2441. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:2388:28: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
  2442. if(is_videofb_parse_done) return;
  2443. ^
  2444. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c: In function 'mtkfb_probe':
  2445. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:2461:67: warning: passing argument 3 of 'disp_hal_allocate_framebuffer' from incompatible pointer type
  2446. disp_hal_allocate_framebuffer(fb_base, (fb_base + vramsize - 1), (unsigned int*)&fbdev->fb_va_base, &fb_pa);
  2447. ^
  2448. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:48:0:
  2449. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:251:5: note: expected 'long unsigned int *' but argument is of type 'unsigned int *'
  2450. int disp_hal_allocate_framebuffer(phys_addr_t pa_start, phys_addr_t pa_end, unsigned long* va,
  2451. ^
  2452. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:2464:43: warning: passing argument 1 of 'primary_display_set_frame_buffer_address' makes integer from pointer without a cast
  2453. primary_display_set_frame_buffer_address(fbdev->fb_va_base,fb_pa);
  2454. ^
  2455. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:48:0:
  2456. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:211:5: note: expected 'long unsigned int' but argument is of type 'void *'
  2457. int primary_display_set_frame_buffer_address(unsigned long va,unsigned long mva);
  2458. ^
  2459. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:2508:24: warning: initialization makes integer from pointer without a cast
  2460. unsigned long fbVA = fbdev->fb_va_base;
  2461. ^
  2462. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:2518:24: warning: passing argument 1 of '_mtkfb_internal_test' makes integer from pointer without a cast
  2463. _mtkfb_internal_test(fbdev->fb_va_base, MTK_FB_XRES, MTK_FB_YRES);
  2464. ^
  2465. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:2191:12: note: expected 'long unsigned int' but argument is of type 'void *'
  2466. static int _mtkfb_internal_test(unsigned long va, unsigned int w, unsigned int h)
  2467. ^
  2468. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:2435:8: warning: unused variable 'p' [-Wunused-variable]
  2469. char *p = NULL;
  2470. ^
  2471. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:48:0:
  2472. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c: At top level:
  2473. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:299:12: warning: '__primary_display_switch_mode' declared 'static' but never defined [-Wunused-function]
  2474. static int __primary_display_switch_mode(int sess_mode, unsigned int session, int need_lock);
  2475. ^
  2476. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:125:15: warning: 'mtkfb_using_layer_type' defined but not used [-Wunused-variable]
  2477. static UINT32 mtkfb_using_layer_type = LAYER_2D;
  2478. ^
  2479. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:126:13: warning: 'hwc_force_fb_enabled' defined but not used [-Wunused-variable]
  2480. static bool hwc_force_fb_enabled = true;
  2481. ^
  2482. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:305:12: warning: 'mtkfb_update_screen' defined but not used [-Wunused-function]
  2483. static int mtkfb_update_screen(struct fb_info *info)
  2484. ^
  2485. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:183:28: warning: 'screen_update_task' defined but not used [-Wunused-variable]
  2486. static struct task_struct *screen_update_task = NULL;
  2487. ^
  2488. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:184:28: warning: 'esd_recovery_task' defined but not used [-Wunused-variable]
  2489. static struct task_struct *esd_recovery_task = NULL;
  2490. ^
  2491. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:321:21: warning: 'BL_level' defined but not used [-Wunused-variable]
  2492. static unsigned int BL_level = 0;
  2493. ^
  2494. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:322:13: warning: 'BL_set_level_resume' defined but not used [-Wunused-variable]
  2495. static BOOL BL_set_level_resume = FALSE;
  2496. ^
  2497. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:414:36: warning: 'fbi_var_backup' defined but not used [-Wunused-variable]
  2498. static struct fb_var_screeninfo fbi_var_backup;
  2499. ^
  2500. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:415:36: warning: 'fbi_fix_backup' defined but not used [-Wunused-variable]
  2501. static struct fb_fix_screeninfo fbi_fix_backup;
  2502. ^
  2503. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:416:37: warning: 'need_restore' defined but not used [-Wunused-variable]
  2504. static BOOL need_restore = FALSE;
  2505. ^
  2506. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:421:13: warning: 'first_enable_esd' defined but not used [-Wunused-variable]
  2507. static bool first_enable_esd = true;
  2508. ^
  2509. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:578:12: warning: '_overlay_info_convert' defined but not used [-Wunused-function]
  2510. static int _overlay_info_convert(struct fb_overlay_layer* src, OVL_CONFIG_STRUCT *dst)
  2511. ^
  2512. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:2028:12: warning: 'mtkfb_fbinfo_modify' defined but not used [-Wunused-function]
  2513. static int mtkfb_fbinfo_modify(struct fb_info *info)
  2514. ^
  2515. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:2061:13: warning: '_mtkfb_draw_point' defined but not used [-Wunused-function]
  2516. static void _mtkfb_draw_point(unsigned int addr, unsigned int x, unsigned int y, unsigned int color)
  2517. ^
  2518. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:2125:17: warning: 'get_current_time_us' defined but not used [-Wunused-function]
  2519. static long int get_current_time_us(void)
  2520. ^
  2521. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c: In function 'mtkfb_ipo_init':
  2522. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:2601:1: warning: control reaches end of non-void function [-Wreturn-type]
  2523. }
  2524. ^
  2525. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c: In function '_convert_fb_layer_to_disp_input':
  2526. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb.c:576:1: warning: control reaches end of non-void function [-Wreturn-type]
  2527. }
  2528. ^
  2529. CC drivers/misc/mediatek/watchpoint/mt6795/aarch64/hw_watchpoint_aarch64.o
  2530. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_info.h:10:0,
  2531. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_manager.h:5,
  2532. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:5,
  2533. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_vsync.c:28:
  2534. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2535. void enable_screen_idle_switch_decouple();
  2536. ^
  2537. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2538. void disable_screen_idle_switch_decouple();
  2539. ^
  2540. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_vsync.c:28:0:
  2541. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:299:12: warning: '__primary_display_switch_mode' declared 'static' but never defined [-Wunused-function]
  2542. static int __primary_display_switch_mode(int sess_mode, unsigned int session, int need_lock);
  2543. ^
  2544. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_vsync.c:221:19: warning: 'mtkfb_vsync_init' defined but not used [-Wunused-function]
  2545. static int __init mtkfb_vsync_init(void)
  2546. ^
  2547. CC drivers/misc/mediatek/thermal/mt6795/mtk_ts_all_ts.o
  2548. CC drivers/misc/mediatek/wdk/wd_common_drv.o
  2549. CC drivers/misc/mediatek/videocodec/mt6795/common/val/src/val.o
  2550. CC drivers/misc/mediatek/videox/mt6795/debug.o
  2551. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/wdk/wd_common_drv.c:265:2: warning: initialization from incompatible pointer type
  2552. .write = wk_proc_cmd_write,
  2553. ^
  2554. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/wdk/wd_common_drv.c:265:2: warning: (near initialization for 'wk_proc_cmd_fops.write')
  2555. CC drivers/misc/mediatek/watchpoint/mt6795/aarch64/mt_dbg_aarch64.o
  2556. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:4:0:
  2557. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/fb.h:26:0: warning: "CONFIG_DMA_SHARED_BUFFER" redefined
  2558. #define CONFIG_DMA_SHARED_BUFFER
  2559. ^
  2560. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/kconfig.h:4:0,
  2561. from <command-line>:0:
  2562. include/generated/autoconf.h:959:0: note: this is the location of the previous definition
  2563. #define CONFIG_DMA_SHARED_BUFFER 1
  2564. ^
  2565. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  2566. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:14:
  2567. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2568. void dprec_logger_dump_reset();
  2569. ^
  2570. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2571. char *dprec_logger_get_dump_addr();
  2572. ^
  2573. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2574. unsigned int dprec_logger_get_dump_len();
  2575. ^
  2576. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:16:0:
  2577. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.h:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2578. bool get_ovl1_to_mem_on();
  2579. ^
  2580. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_info.h:10:0,
  2581. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_path.h:4,
  2582. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:19:
  2583. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2584. void enable_screen_idle_switch_decouple();
  2585. ^
  2586. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2587. void disable_screen_idle_switch_decouple();
  2588. ^
  2589. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/y991/core/board-custom.h:4:0,
  2590. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_platform.h:13,
  2591. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.h:7,
  2592. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:26:
  2593. include/generated/autoconf.h:959:0: warning: "CONFIG_DMA_SHARED_BUFFER" redefined
  2594. #define CONFIG_DMA_SHARED_BUFFER 1
  2595. ^
  2596. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:4:0:
  2597. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/fb.h:26:0: note: this is the location of the previous definition
  2598. #define CONFIG_DMA_SHARED_BUFFER
  2599. ^
  2600. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:26:0:
  2601. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.h:155:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2602. int mtkfb_fence_timeline_index();
  2603. ^
  2604. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:449:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2605. bool get_ovl1_to_mem_on()
  2606. ^
  2607. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c: In function 'process_dbg_opt':
  2608. CC drivers/misc/mediatek/videocodec/mt6795/common/drv/src/drv_base.o
  2609. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:696:22: warning: initialization makes integer from pointer without a cast
  2610. int bypass = (void*) simple_strtoul(p, &p, 16);
  2611. ^
  2612. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:709:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2613. char*p=(char*)opt+4;
  2614. ^
  2615. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:726:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2616. disp_session_config config;
  2617. ^
  2618. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c: In function 'debug_get_info':
  2619. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:1189:6: warning: unused variable 'i' [-Wunused-variable]
  2620. int i = 0;
  2621. ^
  2622. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c: In function 'debug_read':
  2623. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:1227:6: warning: unused variable 'i' [-Wunused-variable]
  2624. int i = 0;
  2625. ^
  2626. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c: At top level:
  2627. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:1262:2: warning: initialization from incompatible pointer type
  2628. .open = debug_open,
  2629. ^
  2630. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:1262:2: warning: (near initialization for 'debug_fops.open')
  2631. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c: In function 'layer_debug_open':
  2632. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:1275:25: warning: assignment makes integer from pointer without a cast
  2633. dbgopt->working_buf = vmalloc(dbgopt->working_size);
  2634. ^
  2635. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c: At top level:
  2636. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:1317:2: warning: initialization from incompatible pointer type
  2637. .open = layer_debug_open,
  2638. ^
  2639. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:1317:2: warning: (near initialization for 'layer_debug_fops.open')
  2640. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:21:0:
  2641. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:299:12: warning: '__primary_display_switch_mode' declared 'static' but never defined [-Wunused-function]
  2642. static int __primary_display_switch_mode(int sess_mode, unsigned int session, int need_lock);
  2643. ^
  2644. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:114:13: warning: 'STR_HELP' defined but not used [-Wunused-variable]
  2645. static char STR_HELP[] =
  2646. ^
  2647. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.c:253:13: warning: 'dump_layer_info' defined but not used [-Wunused-function]
  2648. static void dump_layer_info(void)
  2649. ^
  2650. CC drivers/misc/mediatek/wdk/wd_api.o
  2651. LD drivers/misc/mediatek/watchpoint/mt6795/aarch64/built-in.o
  2652. LD drivers/misc/mediatek/watchpoint/mt6795/built-in.o
  2653. LD drivers/misc/mediatek/wdk/built-in.o
  2654. LD drivers/misc/mediatek/watchpoint/built-in.o
  2655. CC drivers/misc/mediatek/thermal/mt6795/mtk_ts_pa.o
  2656. target C: libcrypto_static <= external/openssl/crypto/ec/ec_print.c
  2657. CC drivers/misc/mediatek/wdt/mt6795/mtk_wdt.o
  2658. CC drivers/misc/mediatek/videox/mt6795/primary_display.o
  2659. CC drivers/misc/mediatek/videox/mt6795/disp_lcm.o
  2660. LD drivers/misc/mediatek/videocodec/mt6795/vcodec_kernel_driver.o
  2661. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/wdt/mt6795/mtk_wdt.c:13:0:
  2662. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/irqs.h:10:0: warning: "NR_IRQS" redefined
  2663. #define NR_IRQS (NR_MT_IRQ_LINE+220)
  2664. ^
  2665. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/irq.h:4:0,
  2666. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/hardirq.h:21,
  2667. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/hardirq.h:8,
  2668. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/interrupt.h:12,
  2669. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/wdt/mt6795/mtk_wdt.c:7:
  2670. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/asm-generic/irq.h:10:0: note: this is the location of the previous definition
  2671. #define NR_IRQS 64
  2672. ^
  2673. LD drivers/misc/mediatek/videocodec/mt6795/built-in.o
  2674. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/wdt/mt6795/mtk_wdt.c: In function 'wdt_pmic_full_reset':
  2675. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/wdt/mt6795/mtk_wdt.c:339:15: warning: unused variable 'val' [-Wunused-variable]
  2676. unsigned int val;
  2677. ^
  2678. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/wdt/mt6795/mtk_wdt.c:1:0:
  2679. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/wdt/mt6795/mtk_wdt.c: At top level:
  2680. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/wdt/mt6795/mtk_wdt.c:953:15: warning: initialization from incompatible pointer type
  2681. core_initcall(mtk_wdt_get_base_addr);
  2682. ^
  2683. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/init.h:180:58: note: in definition of macro '__define_initcall'
  2684. __attribute__((__section__(".initcall" #id ".init"))) = fn
  2685. ^
  2686. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/wdt/mt6795/mtk_wdt.c:953:1: note: in expansion of macro 'core_initcall'
  2687. core_initcall(mtk_wdt_get_base_addr);
  2688. ^
  2689. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  2690. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:3:
  2691. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2692. void dprec_logger_dump_reset();
  2693. ^
  2694. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2695. char *dprec_logger_get_dump_addr();
  2696. ^
  2697. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2698. unsigned int dprec_logger_get_dump_len();
  2699. ^
  2700. LD drivers/misc/mediatek/videocodec/built-in.o
  2701. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:17:0:
  2702. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.h:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2703. bool get_ovl1_to_mem_on();
  2704. ^
  2705. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  2706. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:19:
  2707. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2708. void dprec_logger_dump_reset();
  2709. ^
  2710. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2711. char *dprec_logger_get_dump_addr();
  2712. ^
  2713. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2714. unsigned int dprec_logger_get_dump_len();
  2715. ^
  2716. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_info.h:10:0,
  2717. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_dump.h:4,
  2718. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:26:
  2719. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2720. void enable_screen_idle_switch_decouple();
  2721. ^
  2722. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2723. void disable_screen_idle_switch_decouple();
  2724. ^
  2725. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:30:0:
  2726. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_od.h:764:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2727. int disp_od_check_status();
  2728. ^
  2729. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_od.h:765:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2730. void disp_od_irq_handler();
  2731. ^
  2732. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_info.h:10:0,
  2733. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_path.h:4,
  2734. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_platform.h:17,
  2735. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:5:
  2736. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2737. void enable_screen_idle_switch_decouple();
  2738. ^
  2739. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2740. void disable_screen_idle_switch_decouple();
  2741. ^
  2742. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:11:1: warning: missing braces around initializer [-Wmissing-braces]
  2743. static disp_lcm_handle _disp_lcm_driver[MAX_LCM_NUMBER] = {0};
  2744. ^
  2745. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:11:1: warning: (near initialization for '_disp_lcm_driver[0]') [-Wmissing-braces]
  2746. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: In function '_get_lcm_driver_by_handle':
  2747. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:53:3: warning: return from incompatible pointer type
  2748. return plcm->drv;
  2749. ^
  2750. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: In function '_dump_lcm_info':
  2751. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:64:6: warning: unused variable 'i' [-Wunused-variable]
  2752. int i = 0;
  2753. ^
  2754. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: In function 'disp_lcm_probe':
  2755. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:167:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2756. int ret = 0;
  2757. ^
  2758. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:167:6: warning: unused variable 'ret' [-Wunused-variable]
  2759. int ret = 0;
  2760. ^
  2761. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: In function 'disp_lcm_init':
  2762. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:287:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2763. LCM_DRIVER *lcm_drv = NULL;
  2764. ^
  2765. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: In function 'disp_lcm_update':
  2766. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:347:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2767. LCM_DRIVER *lcm_drv = NULL;
  2768. ^
  2769. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:349:14: warning: unused variable 'plcm_param' [-Wunused-variable]
  2770. LCM_PARAMS *plcm_param = NULL;
  2771. ^
  2772. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:348:19: warning: unused variable 'lcm_id' [-Wunused-variable]
  2773. LCM_INTERFACE_ID lcm_id = LCM_INTERFACE_NOTDEFINED;
  2774. ^
  2775. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: In function 'disp_lcm_esd_check':
  2776. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:385:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2777. LCM_DRIVER *lcm_drv = NULL;
  2778. ^
  2779. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: In function 'disp_lcm_esd_recover':
  2780. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:412:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2781. LCM_DRIVER *lcm_drv = NULL;
  2782. ^
  2783. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: In function 'disp_lcm_suspend':
  2784. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:442:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2785. LCM_DRIVER *lcm_drv = NULL;
  2786. ^
  2787. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: In function 'disp_lcm_resume':
  2788. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:477:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2789. LCM_DRIVER *lcm_drv = NULL;
  2790. ^
  2791. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: In function 'disp_lcm_set_backlight':
  2792. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:549:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2793. LCM_DRIVER *lcm_drv = NULL;
  2794. ^
  2795. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: In function 'disp_lcm_ATA':
  2796. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:593:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2797. LCM_DRIVER *lcm_drv = NULL;
  2798. ^
  2799. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: In function 'disp_lcm_switch_mode':
  2800. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:621:15: warning: unused variable 'ret' [-Wunused-variable]
  2801. unsigned int ret = 0;
  2802. ^
  2803. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: In function 'disp_lcm_is_video_mode':
  2804. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:658:19: warning: unused variable 'lcm_id' [-Wunused-variable]
  2805. LCM_INTERFACE_ID lcm_id = LCM_INTERFACE_NOTDEFINED;
  2806. ^
  2807. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: In function 'disp_lcm_is_dual_dsi':
  2808. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:703:19: warning: unused variable 'lcm_id' [-Wunused-variable]
  2809. LCM_INTERFACE_ID lcm_id = LCM_INTERFACE_NOTDEFINED;
  2810. ^
  2811. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: At top level:
  2812. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:11:24: warning: '_disp_lcm_driver' defined but not used [-Wunused-variable]
  2813. static disp_lcm_handle _disp_lcm_driver[MAX_LCM_NUMBER] = {0};
  2814. ^
  2815. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: In function '_is_lcm_inited':
  2816. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:34:1: warning: control reaches end of non-void function [-Wreturn-type]
  2817. }
  2818. ^
  2819. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: In function 'disp_lcm_ioctl':
  2820. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:579:1: warning: control reaches end of non-void function [-Wreturn-type]
  2821. }
  2822. ^
  2823. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c: In function 'disp_lcm_is_video_mode':
  2824. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_lcm.c:699:1: warning: control reaches end of non-void function [-Wreturn-type]
  2825. }
  2826. ^
  2827. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:43:0:
  2828. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.h:155:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2829. int mtkfb_fence_timeline_index();
  2830. ^
  2831. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_primary_path_lock':
  2832. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:165:20: warning: assignment discards 'const' qualifier from pointer target type
  2833. pgc->mutex_locker = caller;
  2834. ^
  2835. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: At top level:
  2836. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:202:12: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2837. static int primary_is_sec()
  2838. ^
  2839. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:265:12: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2840. static int primary_display_is_idle()
  2841. ^
  2842. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_primary_path_idlemgr_monitor_thread':
  2843. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:446:6: warning: unused variable 'ret' [-Wunused-variable]
  2844. int ret = 0;
  2845. ^
  2846. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: At top level:
  2847. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:489:12: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2848. static int primary_display_idlemgr_init()
  2849. ^
  2850. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_build_path_decouple':
  2851. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:909:1: warning: no return statement in function returning non-void [-Wreturn-type]
  2852. {}
  2853. ^
  2854. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_build_path_single_layer':
  2855. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:912:1: warning: no return statement in function returning non-void [-Wreturn-type]
  2856. {}
  2857. ^
  2858. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_cmdq_flush_config_handle':
  2859. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:1192:64: warning: passing argument 3 of 'dprec_logger_start' makes integer from pointer without a cast
  2860. dprec_logger_start(DPREC_LOGGER_PRIMARY_CMDQ_FLUSH, blocking, callback);
  2861. ^
  2862. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  2863. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:19:
  2864. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:147:6: note: expected 'unsigned int' but argument is of type 'void *'
  2865. void dprec_logger_start(DPREC_LOGGER_ENUM source, unsigned int val1, unsigned int val2);
  2866. ^
  2867. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:29:0:
  2868. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'disp_enable_emi_force_on':
  2869. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_reg.h:1210:29: warning: passing argument 2 of 'dprec_reg_op' makes integer from pointer without a cast
  2870. dprec_reg_op(handle, (reg32), val, 0x00000000);\
  2871. ^
  2872. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:1422:13: note: in expansion of macro 'DISP_REG_SET'
  2873. DISP_REG_SET(0, SPM_PCM_SRC_REQ, DISP_REG_GET(SPM_PCM_SRC_REQ)&(~0x1));
  2874. ^
  2875. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  2876. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:19:
  2877. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:142:6: note: expected 'unsigned int' but argument is of type 'void *'
  2878. void dprec_reg_op(void* cmdq, unsigned int reg, unsigned int val, unsigned int mask);
  2879. ^
  2880. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:29:0:
  2881. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/mt_spm.h:198:27: warning: passing argument 1 of 'disp_addr_convert' makes integer from pointer without a cast
  2882. #define SPM_PCM_SRC_REQ (SPM_BASE + 0xb0c)
  2883. ^
  2884. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_reg.h:1217:43: note: in definition of macro 'DISP_REG_SET'
  2885. cmdqRecWrite(handle, disp_addr_convert(reg32), val, ~0); \
  2886. ^
  2887. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:1422:29: note: in expansion of macro 'SPM_PCM_SRC_REQ'
  2888. DISP_REG_SET(0, SPM_PCM_SRC_REQ, DISP_REG_GET(SPM_PCM_SRC_REQ)&(~0x1));
  2889. ^
  2890. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_reg.h:980:29: note: expected 'long unsigned int' but argument is of type 'void *'
  2891. static inline unsigned long disp_addr_convert(unsigned long va)
  2892. ^
  2893. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_reg.h:1210:29: warning: passing argument 2 of 'dprec_reg_op' makes integer from pointer without a cast
  2894. dprec_reg_op(handle, (reg32), val, 0x00000000);\
  2895. ^
  2896. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:1424:13: note: in expansion of macro 'DISP_REG_SET'
  2897. DISP_REG_SET(0, SPM_PCM_SRC_REQ, DISP_REG_GET(SPM_PCM_SRC_REQ)|0x1);
  2898. ^
  2899. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  2900. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:19:
  2901. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:142:6: note: expected 'unsigned int' but argument is of type 'void *'
  2902. void dprec_reg_op(void* cmdq, unsigned int reg, unsigned int val, unsigned int mask);
  2903. ^
  2904. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:29:0:
  2905. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/mt_spm.h:198:27: warning: passing argument 1 of 'disp_addr_convert' makes integer from pointer without a cast
  2906. #define SPM_PCM_SRC_REQ (SPM_BASE + 0xb0c)
  2907. ^
  2908. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_reg.h:1217:43: note: in definition of macro 'DISP_REG_SET'
  2909. cmdqRecWrite(handle, disp_addr_convert(reg32), val, ~0); \
  2910. ^
  2911. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:1424:29: note: in expansion of macro 'SPM_PCM_SRC_REQ'
  2912. DISP_REG_SET(0, SPM_PCM_SRC_REQ, DISP_REG_GET(SPM_PCM_SRC_REQ)|0x1);
  2913. ^
  2914. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_reg.h:980:29: note: expected 'long unsigned int' but argument is of type 'void *'
  2915. static inline unsigned long disp_addr_convert(unsigned long va)
  2916. ^
  2917. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_DL_switch_to_DC_fast_two_pipe':
  2918. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:1442:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2919. disp_ddp_path_config *data_config_dl = NULL;
  2920. ^
  2921. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:1617:1: warning: label 'out' defined but not used [-Wunused-label]
  2922. out:
  2923. ^
  2924. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_DL_switch_to_DC_fast':
  2925. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:1750:1: warning: label 'out' defined but not used [-Wunused-label]
  2926. out:
  2927. ^
  2928. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'modify_path_power_off_callback':
  2929. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:1792:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2930. int layer = disp_sync_get_output_interface_timeline_id();
  2931. ^
  2932. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_DC_switch_to_DL_fast':
  2933. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:147:13: warning: passing argument 2 of 'dpmgr_path_deinit' makes integer from pointer without a cast
  2934. #define pgc _get_context()
  2935. ^
  2936. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:1811:49: note: in expansion of macro 'pgc'
  2937. dpmgr_path_deinit(pgc->ovl2mem_path_handle, pgc->cmdq_handle_ovl1to2_config);
  2938. ^
  2939. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:5:0,
  2940. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:36:
  2941. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_manager.h:191:5: note: expected 'int' but argument is of type 'cmdqRecHandle'
  2942. int dpmgr_path_deinit(disp_path_handle dp_handle, int encmdq);
  2943. ^
  2944. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:147:13: warning: passing argument 2 of 'dpmgr_path_deinit' makes integer from pointer without a cast
  2945. #define pgc _get_context()
  2946. ^
  2947. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:1834:49: note: in expansion of macro 'pgc'
  2948. dpmgr_path_deinit(pgc->dpmgr_handle_two_pipe, pgc->cmdq_handle_config);
  2949. ^
  2950. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:5:0,
  2951. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:36:
  2952. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_manager.h:191:5: note: expected 'int' but argument is of type 'cmdqRecHandle'
  2953. int dpmgr_path_deinit(disp_path_handle dp_handle, int encmdq);
  2954. ^
  2955. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:1903:1: warning: label 'out' defined but not used [-Wunused-label]
  2956. out:
  2957. ^
  2958. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_DC_switch_to_DL_sw_only':
  2959. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:1963:1: warning: label 'out' defined but not used [-Wunused-label]
  2960. out:
  2961. ^
  2962. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:1911:24: warning: unused variable 'data_config_dl' [-Wunused-variable]
  2963. disp_ddp_path_config *data_config_dl = NULL;
  2964. ^
  2965. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: At top level:
  2966. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:1997:12: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2967. static int config_display_m4u_port()
  2968. ^
  2969. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'allocat_decouple_buffer':
  2970. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2054:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2971. struct ion_client *client = NULL;
  2972. ^
  2973. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2088:28: warning: passing argument 3 of 'ion_phys' from incompatible pointer type
  2974. ion_phys(client, handle, &buffer_mva, &mva_size);
  2975. ^
  2976. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/ion_drv.h:6:0,
  2977. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:14:
  2978. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/staging/android/ion/ion.h:148:5: note: expected 'long unsigned int *' but argument is of type 'unsigned int *'
  2979. int ion_phys(struct ion_client *client, struct ion_handle *handle,
  2980. ^
  2981. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2088:41: warning: passing argument 4 of 'ion_phys' from incompatible pointer type
  2982. ion_phys(client, handle, &buffer_mva, &mva_size);
  2983. ^
  2984. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/ion_drv.h:6:0,
  2985. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:14:
  2986. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/staging/android/ion/ion.h:148:5: note: expected 'size_t *' but argument is of type 'unsigned int *'
  2987. int ion_phys(struct ion_client *client, struct ion_handle *handle,
  2988. ^
  2989. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2046:9: warning: unused variable 'i' [-Wunused-variable]
  2990. int i = 0;
  2991. ^
  2992. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: At top level:
  2993. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2109:12: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  2994. static int init_decouple_buffers()
  2995. ^
  2996. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_build_path_direct_link':
  2997. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2154:19: warning: unused variable 'dst_module' [-Wunused-variable]
  2998. DISP_MODULE_ENUM dst_module = 0;
  2999. ^
  3000. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_trigger_ovl_to_memory':
  3001. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2446:43: warning: passing argument 2 of 'cmdqRecFlushAsyncCallback' from incompatible pointer type
  3002. cmdqRecFlushAsyncCallback(cmdq_handle,callback,data);
  3003. ^
  3004. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_reg.h:7:0,
  3005. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:29:
  3006. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/cmdq/mt6795/cmdq_record.h:332:10: note: expected 'CmdqAsyncFlushCB' but argument is of type 'fence_release_callback'
  3007. int32_t cmdqRecFlushAsyncCallback(cmdqRecHandle handle, CmdqAsyncFlushCB callback,
  3008. ^
  3009. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_trigger_ovl_to_memory_mirror':
  3010. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2478:43: warning: passing argument 2 of 'cmdqRecFlushAsyncCallback' from incompatible pointer type
  3011. cmdqRecFlushAsyncCallback(cmdq_handle,callback,data);
  3012. ^
  3013. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_reg.h:7:0,
  3014. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:29:
  3015. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/cmdq/mt6795/cmdq_record.h:332:10: note: expected 'CmdqAsyncFlushCB' but argument is of type 'fence_release_callback'
  3016. int32_t cmdqRecFlushAsyncCallback(cmdqRecHandle handle, CmdqAsyncFlushCB callback,
  3017. ^
  3018. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_esd_check_config_handle_cmd':
  3019. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2597:1: warning: label 'done' defined but not used [-Wunused-label]
  3020. done:
  3021. ^
  3022. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_esd_check_config_handle_vdo':
  3023. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2630:1: warning: label 'done' defined but not used [-Wunused-label]
  3024. done:
  3025. ^
  3026. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_esd_check_worker_kthread':
  3027. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2834:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3028. long int ttt = 0;
  3029. ^
  3030. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2834:11: warning: unused variable 'ttt' [-Wunused-variable]
  3031. long int ttt = 0;
  3032. ^
  3033. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_esd_recovery':
  3034. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2931:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3035. LCM_PARAMS *lcm_param = NULL;
  3036. ^
  3037. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_disp_primary_path_check_trigger':
  3038. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3062:33: warning: passing argument 1 of 'primary_display_idlemgr_kick' discards 'const' qualifier from pointer target type
  3039. primary_display_idlemgr_kick(__func__, 1);
  3040. ^
  3041. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:421:6: note: expected 'char *' but argument is of type 'const char *'
  3042. void primary_display_idlemgr_kick(char *source, int need_lock)
  3043. ^
  3044. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_wdma_fence_release_callback':
  3045. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3217:20: warning: unused variable 'subtractor' [-Wunused-variable]
  3046. int fence_idx, subtractor, layer;
  3047. ^
  3048. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: At top level:
  3049. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3306:12: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3050. static int _decouple_mirror_update_rdma_config()
  3051. ^
  3052. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_decouple_mirror_update_rdma_config':
  3053. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3323:56: warning: passing argument 3 of 'cmdqBackupReadSlot' from incompatible pointer type
  3054. cmdqBackupReadSlot(pgc->rdma_buff_info, 0, &(tmpConfig.address));
  3055. ^
  3056. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_reg.h:7:0,
  3057. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:29:
  3058. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/cmdq/mt6795/cmdq_record.h:248:10: note: expected 'uint32_t *' but argument is of type 'long unsigned int *'
  3059. int32_t cmdqBackupReadSlot(cmdqBackupSlotHandle hBackupSlot, uint32_t slotIndex,
  3060. ^
  3061. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3334:52: warning: passing argument 2 of 'cmdqRecFlushAsyncCallback' from incompatible pointer type
  3062. cmdqRecFlushAsyncCallback(cmdq_handle, _Interface_fence_release_callback,
  3063. ^
  3064. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_reg.h:7:0,
  3065. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:29:
  3066. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/cmdq/mt6795/cmdq_record.h:332:10: note: expected 'CmdqAsyncFlushCB' but argument is of type 'void (*)(uint32_t)'
  3067. int32_t cmdqRecFlushAsyncCallback(cmdqRecHandle handle, CmdqAsyncFlushCB callback,
  3068. ^
  3069. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_frame_update_kthread':
  3070. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3502:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3071. int layid = 0;
  3072. ^
  3073. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3506:19: warning: unused variable 'frm_seq' [-Wunused-variable]
  3074. unsigned long frm_seq = 0;
  3075. ^
  3076. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3505:19: warning: unused variable 'frame_update_addr' [-Wunused-variable]
  3077. unsigned long frame_update_addr = 0;
  3078. ^
  3079. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3504:18: warning: unused variable 'session_id' [-Wunused-variable]
  3080. unsigned int session_id = 0;
  3081. ^
  3082. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3502:9: warning: unused variable 'layid' [-Wunused-variable]
  3083. int layid = 0;
  3084. ^
  3085. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_fence_release_worker_thread':
  3086. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3528:6: warning: unused variable 'ret' [-Wunused-variable]
  3087. int ret = 0;
  3088. ^
  3089. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_present_fence_release_worker_thread':
  3090. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3615:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3091. disp_sync_info *layer_info = _get_sync_info(primary_session_id, timeline_id);
  3092. ^
  3093. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3598:8: warning: unused variable 'ret' [-Wunused-variable]
  3094. int ret = 0;
  3095. ^
  3096. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'get_dim_layer_mva_addr':
  3097. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3678:16: warning: passing argument 1 of 'memset' makes pointer from integer without a cast
  3098. memset(dim_layer_va, 0, frame_buffer_size);
  3099. ^
  3100. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/string.h:17:0,
  3101. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/processor.h:30,
  3102. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/spinlock.h:20,
  3103. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/spinlock.h:87,
  3104. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/seqlock.h:29,
  3105. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/time.h:5,
  3106. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/uapi/linux/timex.h:56,
  3107. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/timex.h:56,
  3108. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/sched.h:17,
  3109. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2:
  3110. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/string.h:35:14: note: expected 'void *' but argument is of type 'long unsigned int'
  3111. extern void *memset(void *, int, __kernel_size_t);
  3112. ^
  3113. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: At top level:
  3114. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3698:12: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3115. static int update_primary_intferface_module()
  3116. ^
  3117. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_init':
  3118. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3723:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3119. DISP_STATUS ret = DISP_STATUS_OK;
  3120. ^
  3121. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3780:44: warning: passing argument 2 of 'cmdqCoreRegisterCB' from incompatible pointer type
  3122. ret = cmdqCoreRegisterCB(CMDQ_GROUP_DISP, cmdqDdpClockOn,cmdqDdpDumpInfo,cmdqDdpResetEng,cmdqDdpClockOff);
  3123. ^
  3124. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/cmdq/mt6795/cmdq_record.h:6:0,
  3125. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_reg.h:7,
  3126. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:29:
  3127. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/cmdq/mt6795/cmdq_core.h:454:10: note: expected 'CmdqClockOnCB' but argument is of type 'unsigned int (*)(uint64_t)'
  3128. int32_t cmdqCoreRegisterCB(CMDQ_GROUP_ENUM engGroup,
  3129. ^
  3130. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3780:59: warning: passing argument 3 of 'cmdqCoreRegisterCB' from incompatible pointer type
  3131. ret = cmdqCoreRegisterCB(CMDQ_GROUP_DISP, cmdqDdpClockOn,cmdqDdpDumpInfo,cmdqDdpResetEng,cmdqDdpClockOff);
  3132. ^
  3133. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/cmdq/mt6795/cmdq_record.h:6:0,
  3134. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_reg.h:7,
  3135. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:29:
  3136. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/cmdq/mt6795/cmdq_core.h:454:10: note: expected 'CmdqDumpInfoCB' but argument is of type 'unsigned int (*)(uint64_t, char *, unsigned int)'
  3137. int32_t cmdqCoreRegisterCB(CMDQ_GROUP_ENUM engGroup,
  3138. ^
  3139. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3780:75: warning: passing argument 4 of 'cmdqCoreRegisterCB' from incompatible pointer type
  3140. ret = cmdqCoreRegisterCB(CMDQ_GROUP_DISP, cmdqDdpClockOn,cmdqDdpDumpInfo,cmdqDdpResetEng,cmdqDdpClockOff);
  3141. ^
  3142. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/cmdq/mt6795/cmdq_record.h:6:0,
  3143. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_reg.h:7,
  3144. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:29:
  3145. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/cmdq/mt6795/cmdq_core.h:454:10: note: expected 'CmdqResetEngCB' but argument is of type 'unsigned int (*)(uint64_t)'
  3146. int32_t cmdqCoreRegisterCB(CMDQ_GROUP_ENUM engGroup,
  3147. ^
  3148. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3780:91: warning: passing argument 5 of 'cmdqCoreRegisterCB' from incompatible pointer type
  3149. ret = cmdqCoreRegisterCB(CMDQ_GROUP_DISP, cmdqDdpClockOn,cmdqDdpDumpInfo,cmdqDdpResetEng,cmdqDdpClockOff);
  3150. ^
  3151. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/cmdq/mt6795/cmdq_record.h:6:0,
  3152. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_reg.h:7,
  3153. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:29:
  3154. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/cmdq/mt6795/cmdq_core.h:454:10: note: expected 'CmdqClockOffCB' but argument is of type 'unsigned int (*)(uint64_t)'
  3155. int32_t cmdqCoreRegisterCB(CMDQ_GROUP_ENUM engGroup,
  3156. ^
  3157. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3890:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3158. disp_ddp_path_config *data_config = NULL;
  3159. ^
  3160. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3730:19: warning: unused variable 'lcm_id' [-Wunused-variable]
  3161. LCM_INTERFACE_ID lcm_id = LCM_INTERFACE_NOTDEFINED;
  3162. ^
  3163. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3727:15: warning: unused variable 'lcm_fake_height' [-Wunused-variable]
  3164. unsigned int lcm_fake_height = 0;
  3165. ^
  3166. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3726:15: warning: unused variable 'lcm_fake_width' [-Wunused-variable]
  3167. unsigned int lcm_fake_width = 0;
  3168. ^
  3169. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_wait_for_idle':
  3170. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:4121:1: warning: label 'done' defined but not used [-Wunused-label]
  3171. done:
  3172. ^
  3173. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_release_fence_fake':
  3174. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:4304:62: warning: passing argument 4 of 'disp_sync_get_cached_layer_info' from incompatible pointer type
  3175. disp_sync_get_cached_layer_info(session_id, i, &layer_en, &addr, &fence_idx);
  3176. ^
  3177. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:43:0:
  3178. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.h:159:5: note: expected 'long unsigned int *' but argument is of type 'unsigned int *'
  3179. int disp_sync_get_cached_layer_info(unsigned int session_id, unsigned int timeline_idx, unsigned int *layer_en, unsigned long *addr, unsigned int *fence_idx);
  3180. ^
  3181. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_wait_for_vsync':
  3182. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:4340:31: warning: passing argument 1 of 'primary_display_idlemgr_kick' discards 'const' qualifier from pointer target type
  3183. primary_display_idlemgr_kick(__func__, 1);
  3184. ^
  3185. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:421:6: note: expected 'char *' but argument is of type 'const char *'
  3186. void primary_display_idlemgr_kick(char *source, int need_lock)
  3187. ^
  3188. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_suspend':
  3189. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:4450:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3190. int event_ret = dpmgr_wait_event_timeout(pgc->dpmgr_handle, DISP_PATH_EVENT_FRAME_DONE, HZ*1);
  3191. ^
  3192. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_resume':
  3193. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:4591:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3194. LCM_PARAMS *lcm_param = disp_lcm_get_params(pgc->plcm);
  3195. ^
  3196. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: At top level:
  3197. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:4803:12: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3198. static int trigger_decouple_mirror()
  3199. ^
  3200. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'trigger_decouple_mirror':
  3201. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:4814:15: warning: passing argument 3 of '_trigger_ovl_to_memory_mirror' from incompatible pointer type
  3202. _olv_wdma_fence_release_callback, DISP_SESSION_DECOUPLE_MIRROR_MODE);
  3203. ^
  3204. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2452:5: note: expected 'fence_release_callback' but argument is of type 'int (*)(uint32_t)'
  3205. int _trigger_ovl_to_memory_mirror(disp_path_handle disp_handle,
  3206. ^
  3207. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_trigger':
  3208. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:4827:31: warning: passing argument 1 of 'primary_display_idlemgr_kick' discards 'const' qualifier from pointer target type
  3209. primary_display_idlemgr_kick(__func__, 1);
  3210. ^
  3211. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:421:6: note: expected 'char *' but argument is of type 'const char *'
  3212. void primary_display_idlemgr_kick(char *source, int need_lock)
  3213. ^
  3214. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_ovl2mem_callback':
  3215. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:4924:9: warning: unused variable 'i' [-Wunused-variable]
  3216. int i = 0;
  3217. ^
  3218. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_mem_out_trigger':
  3219. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:5003:68: warning: passing argument 2 of 'cmdqRecFlushAsyncCallback' from incompatible pointer type
  3220. cmdqRecFlushAsyncCallback(pgc->cmdq_handle_ovl1to2_config, primary_display_ovl2mem_callback, userdata);
  3221. ^
  3222. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_reg.h:7:0,
  3223. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:29:
  3224. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/cmdq/mt6795/cmdq_record.h:332:10: note: expected 'CmdqAsyncFlushCB' but argument is of type 'int (*)(unsigned int)'
  3225. int32_t cmdqRecFlushAsyncCallback(cmdqRecHandle handle, CmdqAsyncFlushCB callback,
  3226. ^
  3227. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_config_output':
  3228. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:5051:24: warning: unused variable 'pconfig' [-Wunused-variable]
  3229. disp_ddp_path_config *pconfig =NULL;
  3230. ^
  3231. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:5050:6: warning: unused variable 'layer' [-Wunused-variable]
  3232. int layer =0;
  3233. ^
  3234. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:5049:6: warning: unused variable 'i' [-Wunused-variable]
  3235. int i=0;
  3236. ^
  3237. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'setup_disp_sec':
  3238. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:5102:8: warning: unused variable 'ret' [-Wunused-variable]
  3239. int i,ret, has_sec_layer=0;
  3240. ^
  3241. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_config_input_multiple':
  3242. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:5158:31: warning: passing argument 1 of 'primary_display_idlemgr_kick' discards 'const' qualifier from pointer target type
  3243. primary_display_idlemgr_kick(__func__, 0);
  3244. ^
  3245. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:421:6: note: expected 'char *' but argument is of type 'const char *'
  3246. void primary_display_idlemgr_kick(char *source, int need_lock)
  3247. ^
  3248. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_config_input':
  3249. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:5269:31: warning: passing argument 1 of 'primary_display_idlemgr_kick' discards 'const' qualifier from pointer target type
  3250. primary_display_idlemgr_kick(__func__, 1);
  3251. ^
  3252. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:421:6: note: expected 'char *' but argument is of type 'const char *'
  3253. void primary_display_idlemgr_kick(char *source, int need_lock)
  3254. ^
  3255. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:5265:6: warning: unused variable 'layer' [-Wunused-variable]
  3256. int layer =0;
  3257. ^
  3258. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:5264:6: warning: unused variable 'i' [-Wunused-variable]
  3259. int i=0;
  3260. ^
  3261. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_user_cmd':
  3262. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:5405:80: warning: passing argument 3 of 'MMProfileLogEx' makes integer from pointer without a cast
  3263. MMProfileLogEx(ddp_mmp_get_events()->primary_display_cmd, MMProfileFlagStart, handle, 0);
  3264. ^
  3265. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.h:11:0,
  3266. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:17:
  3267. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mmprofile.h:81:6: note: expected 'long unsigned int' but argument is of type 'cmdqRecHandle'
  3268. void MMProfileLogEx(MMP_Event event, MMP_LogType type, unsigned long data1, unsigned long data2);
  3269. ^
  3270. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:5468:78: warning: passing argument 3 of 'MMProfileLogEx' makes integer from pointer without a cast
  3271. MMProfileLogEx(ddp_mmp_get_events()->primary_display_cmd, MMProfileFlagEnd, handle, cmdqsize);
  3272. ^
  3273. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.h:11:0,
  3274. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:17:
  3275. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/mmprofile.h:81:6: note: expected 'long unsigned int' but argument is of type 'cmdqRecHandle'
  3276. void MMProfileLogEx(MMP_Event event, MMP_LogType type, unsigned long data1, unsigned long data2);
  3277. ^
  3278. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '__primary_display_switch_mode':
  3279. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:5475:6: warning: unused variable 'ret' [-Wunused-variable]
  3280. int ret = 0, sw_only = 0;
  3281. ^
  3282. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_switch_mode':
  3283. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:5559:31: warning: passing argument 1 of 'primary_display_idlemgr_kick' discards 'const' qualifier from pointer target type
  3284. primary_display_idlemgr_kick(__func__, 0);
  3285. ^
  3286. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:421:6: note: expected 'char *' but argument is of type 'const char *'
  3287. void primary_display_idlemgr_kick(char *source, int need_lock)
  3288. ^
  3289. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_set_backlight_by_cmdq':
  3290. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:5992:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3291. int ret=0;
  3292. ^
  3293. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_setbacklight':
  3294. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:6099:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3295. int ret = 0;
  3296. ^
  3297. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_capture_framebuffer_ovl':
  3298. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:6255:16: warning: passing argument 1 of 'memset' makes pointer from integer without a cast
  3299. memset(pbuf, 0,buffer_size);
  3300. ^
  3301. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/string.h:17:0,
  3302. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/processor.h:30,
  3303. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/spinlock.h:20,
  3304. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/spinlock.h:87,
  3305. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/seqlock.h:29,
  3306. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/time.h:5,
  3307. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/uapi/linux/timex.h:56,
  3308. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/timex.h:56,
  3309. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/sched.h:17,
  3310. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2:
  3311. /home/Arch/javier/dati/download/part-tree/kernel-3.10/arch/arm64/include/asm/string.h:35:14: note: expected 'void *' but argument is of type 'long unsigned int'
  3312. extern void *memset(void *, int, __kernel_size_t);
  3313. ^
  3314. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:6231:15: warning: unused variable 'i' [-Wunused-variable]
  3315. unsigned int i =0;
  3316. ^
  3317. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_capture_framebuffer':
  3318. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:6391:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3319. unsigned int i;
  3320. ^
  3321. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:6379:15: warning: unused variable 'mem_off_y' [-Wunused-variable]
  3322. unsigned int mem_off_y = 0;
  3323. ^
  3324. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:6378:15: warning: unused variable 'mem_off_x' [-Wunused-variable]
  3325. unsigned int mem_off_x = 0;
  3326. ^
  3327. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'DISP_GetVRamSizeBoot':
  3328. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:6463:9: warning: type defaults to 'int' in declaration of 'vramsize' [-Wimplicit-int]
  3329. extern vramsize;
  3330. ^
  3331. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'disp_hal_allocate_framebuffer':
  3332. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:6497:139: warning: passing argument 8 of 'm4u_alloc_mva' from incompatible pointer type
  3333. ret = m4u_alloc_mva(client, M4U_PORT_DISP_OVL0, 0, sg_table, (pa_end - pa_start + 1), M4U_PROT_READ |M4U_PROT_WRITE, M4U_FLAGS_FIX_MVA, mva);
  3334. ^
  3335. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:34:0:
  3336. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/mach/mt6795/include/mach/m4u.h:82:5: note: expected 'unsigned int *' but argument is of type 'long unsigned int *'
  3337. int m4u_alloc_mva(m4u_client_t *client, M4U_PORT_ID port,
  3338. ^
  3339. LD drivers/misc/mediatek/wdt/mt6795/built-in.o
  3340. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'fbconfig_get_esd_check_test':
  3341. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:6741:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3342. extern int fbconfig_get_esd_check(DSI_INDEX dsi_id,UINT32 cmd,UINT8*buffer,UINT32 num);
  3343. ^
  3344. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'Panel_Master_dsi_config_entry':
  3345. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:6764:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3346. LCM_PARAMS *lcm_param = NULL;
  3347. ^
  3348. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_switch_esd_mode':
  3349. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:6948:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3350. int ret=0;
  3351. ^
  3352. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:6953:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
  3353. return;
  3354. ^
  3355. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: At top level:
  3356. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:85:12: warning: 'od_need_start' defined but not used [-Wunused-variable]
  3357. static int od_need_start=0;
  3358. ^
  3359. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:245:28: warning: 'primary_display_switch_dst_mode_task' defined but not used [-Wunused-variable]
  3360. static struct task_struct *primary_display_switch_dst_mode_task = NULL;
  3361. ^
  3362. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:872:16: warning: 'cmd_mode_update_timer_period' defined but not used [-Wunused-variable]
  3363. static ktime_t cmd_mode_update_timer_period;
  3364. ^
  3365. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:1078:13: warning: '_cmdq_build_monitor_loop' defined but not used [-Wunused-function]
  3366. static void _cmdq_build_monitor_loop(void)
  3367. ^
  3368. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:1317:12: warning: '_config_wdma_output' defined but not used [-Wunused-function]
  3369. static int _config_wdma_output(WDMA_CONFIG_STRUCT *wdma_config,
  3370. ^
  3371. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3138:13: warning: '_RDMA0_INTERNAL_IRQ_Handler' defined but not used [-Wunused-function]
  3372. static void _RDMA0_INTERNAL_IRQ_Handler(DISP_MODULE_ENUM module, unsigned int param)
  3373. ^
  3374. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3211:28: warning: 'fence_release_worker_task' defined but not used [-Wunused-variable]
  3375. static struct task_struct *fence_release_worker_task = NULL;
  3376. ^
  3377. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:3526:12: warning: '_fence_release_worker_thread' defined but not used [-Wunused-function]
  3378. static int _fence_release_worker_thread(void *data)
  3379. ^
  3380. LD drivers/misc/mediatek/wdt/built-in.o
  3381. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_trigger_ovl_to_memory':
  3382. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2450:1: warning: control reaches end of non-void function [-Wreturn-type]
  3383. }
  3384. ^
  3385. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_trigger_ovl_to_memory_mirror':
  3386. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2482:1: warning: control reaches end of non-void function [-Wreturn-type]
  3387. }
  3388. ^
  3389. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function '_trigger_overlay_engine':
  3390. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:2488:1: warning: control reaches end of non-void function [-Wreturn-type]
  3391. }
  3392. ^
  3393. CC drivers/misc/mediatek/xhci/xhci-mtk-power.o
  3394. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_wait_for_dump':
  3395. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:4284:1: warning: control reaches end of non-void function [-Wreturn-type]
  3396. }
  3397. ^
  3398. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_release_fence_fake':
  3399. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:4330:1: warning: control reaches end of non-void function [-Wreturn-type]
  3400. }
  3401. ^
  3402. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_get_info':
  3403. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:5782:1: warning: control reaches end of non-void function [-Wreturn-type]
  3404. }
  3405. ^
  3406. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_manual_lock':
  3407. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:5845:1: warning: control reaches end of non-void function [-Wreturn-type]
  3408. }
  3409. ^
  3410. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_manual_unlock':
  3411. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:5850:1: warning: control reaches end of non-void function [-Wreturn-type]
  3412. }
  3413. ^
  3414. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'DISP_GetVRamSize':
  3415. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:6458:1: warning: control reaches end of non-void function [-Wreturn-type]
  3416. }
  3417. ^
  3418. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_remap_irq_event_map':
  3419. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:6515:1: warning: control reaches end of non-void function [-Wreturn-type]
  3420. }
  3421. ^
  3422. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_get_option':
  3423. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:6526:1: warning: control reaches end of non-void function [-Wreturn-type]
  3424. }
  3425. ^
  3426. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c: In function 'primary_display_get_debug_info':
  3427. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.c:6540:1: warning: control reaches end of non-void function [-Wreturn-type]
  3428. }
  3429. ^
  3430. CC drivers/misc/mediatek/thermal/mt6795/mtk_ts_battery.o
  3431. CC drivers/misc/mediatek/xlog/xlog_filter.o
  3432. CC drivers/misc/mediatek/xlog/xlog_printk.o
  3433. CC drivers/misc/mediatek/xhci/xhci-mtk-scheduler.o
  3434. CC drivers/misc/mediatek/thermal/mt6795/mtk_ts_pmic.o
  3435. target C: libcrypto_static <= external/openssl/crypto/ec/eck_prn.c
  3436. CC drivers/misc/mediatek/xhci/xhci-mtk.o
  3437. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/thermal/mt6795/mtk_ts_pmic.c: In function 'mtktspmic_read_6331_efuse':
  3438. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/thermal/mt6795/mtk_ts_pmic.c:96:13: warning: unused variable 'j' [-Wunused-variable]
  3439. int i=0,j=0;
  3440. ^
  3441. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/thermal/mt6795/mtk_ts_pmic.c:96:9: warning: unused variable 'i' [-Wunused-variable]
  3442. int i=0,j=0;
  3443. ^
  3444. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/thermal/mt6795/mtk_ts_pmic.c:95:9: warning: unused variable 'reg_val' [-Wunused-variable]
  3445. U32 reg_val=0;
  3446. ^
  3447. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/thermal/mt6795/mtk_ts_pmic.c:94:9: warning: unused variable 'ret' [-Wunused-variable]
  3448. U32 ret=0;
  3449. ^
  3450. LD drivers/misc/mediatek/xlog/xlog.o
  3451. external/openssl/crypto/ec/eck_prn.c: In function 'ECPKParameters_print_fp':
  3452. external/openssl/crypto/ec/eck_prn.c:78:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  3453. ECerr(EC_F_ECPKPARAMETERS_PRINT_FP,ERR_R_BUF_LIB);
  3454. ^
  3455. LD drivers/misc/mediatek/xlog/built-in.o
  3456. target C: libcrypto_static <= external/openssl/crypto/ec/ecp_mont.c
  3457. external/openssl/crypto/ec/ecp_mont.c: In function 'ec_GFp_mont_group_set_curve':
  3458. external/openssl/crypto/ec/ecp_mont.c:234:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  3459. ECerr(EC_F_EC_GFP_MONT_GROUP_SET_CURVE, ERR_R_BN_LIB);
  3460. ^
  3461. CC drivers/misc/mediatek/thermal/mt6795/mtk_ts_bts.o
  3462. CC drivers/misc/mediatek/thermal/mt6795/mtk_ts_buck.o
  3463. CC drivers/misc/mediatek/thermal/mt6795/mtk_ts_btsmdpa.o
  3464. CC drivers/misc/mediatek/xhci/xhci-mtk-attrs.o
  3465. target C: libcrypto_static <= external/openssl/crypto/ec/ecp_nist.c
  3466. external/openssl/crypto/ec/ecp_nist.c: In function 'ec_GFp_nist_group_set_curve':
  3467. external/openssl/crypto/ec/ecp_nist.c:155:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  3468. ECerr(EC_F_EC_GFP_NIST_GROUP_SET_CURVE, EC_R_NOT_A_NIST_PRIME);
  3469. ^
  3470. target C: libcrypto_static <= external/openssl/crypto/ec/ecp_oct.c
  3471. CC drivers/misc/mediatek/thermal/mt6795/tm_nth.o
  3472. external/openssl/crypto/ec/ecp_oct.c: In function 'ec_GFp_simple_set_compressed_coordinates':
  3473. external/openssl/crypto/ec/ecp_oct.c:156:4: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  3474. ECerr(EC_F_EC_GFP_SIMPLE_SET_COMPRESSED_COORDINATES, EC_R_INVALID_COMPRESSED_POINT);
  3475. ^
  3476. CC drivers/misc/mediatek/videox/mt6795/disp_utils.o
  3477. LD drivers/misc/mediatek/xhci/built-in.o
  3478. target C: libcrypto_static <= external/openssl/crypto/ec/ecp_smpl.c
  3479. external/openssl/crypto/ec/ecp_smpl.c: In function 'ec_GFp_simple_group_set_curve':
  3480. external/openssl/crypto/ec/ecp_smpl.c:186:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  3481. ECerr(EC_F_EC_GFP_SIMPLE_GROUP_SET_CURVE, EC_R_INVALID_FIELD);
  3482. ^
  3483. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  3484. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_utils.c:9:
  3485. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3486. void dprec_logger_dump_reset();
  3487. ^
  3488. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3489. char *dprec_logger_get_dump_addr();
  3490. ^
  3491. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3492. unsigned int dprec_logger_get_dump_len();
  3493. ^
  3494. CC drivers/misc/mediatek/videox/mt6795/mtkfb_fence.o
  3495. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  3496. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:2:
  3497. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3498. void dprec_logger_dump_reset();
  3499. ^
  3500. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3501. char *dprec_logger_get_dump_addr();
  3502. ^
  3503. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3504. unsigned int dprec_logger_get_dump_len();
  3505. ^
  3506. target C: libcrypto_static <= external/openssl/crypto/ecdh/ech_err.c
  3507. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:10:0:
  3508. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.h:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3509. bool get_ovl1_to_mem_on();
  3510. ^
  3511. LD drivers/misc/mediatek/thermal/mt6795/built-in.o
  3512. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_info.h:10:0,
  3513. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_path.h:4,
  3514. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_platform.h:17,
  3515. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.h:7,
  3516. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:12:
  3517. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3518. void enable_screen_idle_switch_decouple();
  3519. ^
  3520. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3521. void disable_screen_idle_switch_decouple();
  3522. ^
  3523. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:12:0:
  3524. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.h:155:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3525. int mtkfb_fence_timeline_index();
  3526. ^
  3527. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:61:0: warning: "HW_OVERLAY_COUNT" redefined
  3528. #define HW_OVERLAY_COUNT (5)
  3529. ^
  3530. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.h:7:0,
  3531. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:12:
  3532. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_platform.h:39:0: note: this is the location of the previous definition
  3533. #define HW_OVERLAY_COUNT (4)
  3534. ^
  3535. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c: In function '_get_session_sync_info':
  3536. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:112:120: warning: passing argument 4 of 'dprec_logger_event_init' makes pointer from integer without a cast
  3537. dprec_logger_event_init(&session_info->event_prepare, name, DPREC_LOGGER_LEVEL_DEFAULT|DPREC_LOGGER_LEVEL_SYSTRACE, ddp_mmp_get_events()->session_Parent);
  3538. ^
  3539. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  3540. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:2:
  3541. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:165:6: note: expected 'MMP_Event *' but argument is of type 'MMP_Event'
  3542. void dprec_logger_event_init(dprec_logger_event *p, char *name, uint32_t level, MMP_Event *mmp_root);
  3543. ^
  3544. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:115:121: warning: passing argument 4 of 'dprec_logger_event_init' makes pointer from integer without a cast
  3545. dprec_logger_event_init(&session_info->event_setinput, name, DPREC_LOGGER_LEVEL_DEFAULT|DPREC_LOGGER_LEVEL_SYSTRACE, ddp_mmp_get_events()->session_Parent);
  3546. ^
  3547. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  3548. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:2:
  3549. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:165:6: note: expected 'MMP_Event *' but argument is of type 'MMP_Event'
  3550. void dprec_logger_event_init(dprec_logger_event *p, char *name, uint32_t level, MMP_Event *mmp_root);
  3551. ^
  3552. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:118:122: warning: passing argument 4 of 'dprec_logger_event_init' makes pointer from integer without a cast
  3553. dprec_logger_event_init(&session_info->event_setoutput, name, DPREC_LOGGER_LEVEL_DEFAULT|DPREC_LOGGER_LEVEL_SYSTRACE, ddp_mmp_get_events()->session_Parent);
  3554. ^
  3555. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  3556. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:2:
  3557. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:165:6: note: expected 'MMP_Event *' but argument is of type 'MMP_Event'
  3558. void dprec_logger_event_init(dprec_logger_event *p, char *name, uint32_t level, MMP_Event *mmp_root);
  3559. ^
  3560. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:121:120: warning: passing argument 4 of 'dprec_logger_event_init' makes pointer from integer without a cast
  3561. dprec_logger_event_init(&session_info->event_trigger, name, DPREC_LOGGER_LEVEL_DEFAULT|DPREC_LOGGER_LEVEL_SYSTRACE, ddp_mmp_get_events()->session_Parent);
  3562. ^
  3563. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  3564. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:2:
  3565. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:165:6: note: expected 'MMP_Event *' but argument is of type 'MMP_Event'
  3566. void dprec_logger_event_init(dprec_logger_event *p, char *name, uint32_t level, MMP_Event *mmp_root);
  3567. ^
  3568. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:124:92: warning: passing argument 4 of 'dprec_logger_event_init' makes pointer from integer without a cast
  3569. dprec_logger_event_init(&session_info->event_findidx, name, DPREC_LOGGER_LEVEL_DEFAULT, ddp_mmp_get_events()->session_Parent);
  3570. ^
  3571. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  3572. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:2:
  3573. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:165:6: note: expected 'MMP_Event *' but argument is of type 'MMP_Event'
  3574. void dprec_logger_event_init(dprec_logger_event *p, char *name, uint32_t level, MMP_Event *mmp_root);
  3575. ^
  3576. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:127:120: warning: passing argument 4 of 'dprec_logger_event_init' makes pointer from integer without a cast
  3577. dprec_logger_event_init(&session_info->event_release, name, DPREC_LOGGER_LEVEL_DEFAULT|DPREC_LOGGER_LEVEL_SYSTRACE, ddp_mmp_get_events()->session_Parent);
  3578. ^
  3579. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  3580. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:2:
  3581. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:165:6: note: expected 'MMP_Event *' but argument is of type 'MMP_Event'
  3582. void dprec_logger_event_init(dprec_logger_event *p, char *name, uint32_t level, MMP_Event *mmp_root);
  3583. ^
  3584. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:130:122: warning: passing argument 4 of 'dprec_logger_event_init' makes pointer from integer without a cast
  3585. dprec_logger_event_init(&session_info->event_waitvsync, name, DPREC_LOGGER_LEVEL_DEFAULT|DPREC_LOGGER_LEVEL_SYSTRACE, ddp_mmp_get_events()->session_Parent);
  3586. ^
  3587. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  3588. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:2:
  3589. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:165:6: note: expected 'MMP_Event *' but argument is of type 'MMP_Event'
  3590. void dprec_logger_event_init(dprec_logger_event *p, char *name, uint32_t level, MMP_Event *mmp_root);
  3591. ^
  3592. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c: At top level:
  3593. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:234:13: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3594. static void mtkfb_ion_init()
  3595. ^
  3596. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:250:13: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3597. static void mtkfb_ion_deinit()
  3598. ^
  3599. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c: In function 'mtkfb_ion_import_handle':
  3600. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:305:54: warning: passing argument 3 of 'ion_kernel_ioctl' makes integer from pointer without a cast
  3601. if(ion_kernel_ioctl(ion_client, ION_CMD_MULTIMEDIA, &mm_data))
  3602. ^
  3603. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:3:0:
  3604. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/ion_drv.h:170:6: note: expected 'long unsigned int' but argument is of type 'struct ion_mm_data *'
  3605. long ion_kernel_ioctl(struct ion_client *client, unsigned int cmd, unsigned long arg);
  3606. ^
  3607. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c: In function 'mtkfb_ion_cache_flush':
  3608. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:355:47: warning: passing argument 3 of 'ion_kernel_ioctl' makes integer from pointer without a cast
  3609. if (ion_kernel_ioctl(client, ION_CMD_SYSTEM, &sys_data))
  3610. ^
  3611. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:3:0:
  3612. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/ion_drv.h:170:6: note: expected 'long unsigned int' but argument is of type 'struct ion_sys_data *'
  3613. long ion_kernel_ioctl(struct ion_client *client, unsigned int cmd, unsigned long arg);
  3614. ^
  3615. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c: In function 'mtkfb_query_buf_mva':
  3616. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:373:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
  3617. return;
  3618. ^
  3619. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:395:56: warning: passing argument 2 of 'dprec_logger_start' makes integer from pointer without a cast
  3620. dprec_logger_start(DPREC_LOGGER_DISPMGR_CACHE_SYNC, buf->hnd, buf->mva);
  3621. ^
  3622. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  3623. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:2:
  3624. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:147:6: note: expected 'unsigned int' but argument is of type 'struct ion_handle *'
  3625. void dprec_logger_start(DPREC_LOGGER_ENUM source, unsigned int val1, unsigned int val2);
  3626. ^
  3627. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:397:55: warning: passing argument 2 of 'dprec_logger_done' makes integer from pointer without a cast
  3628. dprec_logger_done(DPREC_LOGGER_DISPMGR_CACHE_SYNC, buf->hnd, buf->mva);
  3629. ^
  3630. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  3631. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:2:
  3632. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:148:6: note: expected 'unsigned int' but argument is of type 'struct ion_handle *'
  3633. void dprec_logger_done(DPREC_LOGGER_ENUM source, unsigned int val1, unsigned int val2);
  3634. ^
  3635. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c: In function 'mtkfb_query_buf_va':
  3636. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:418:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3637. disp_session_sync_info *session_info = _get_session_sync_info(session_id);
  3638. ^
  3639. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c: In function 'mtkfb_update_buf_ticket':
  3640. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:511:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3641. disp_session_sync_info *session_info = _get_session_sync_info(session_id);
  3642. ^
  3643. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c: In function 'mtkfb_query_idx_by_ticket':
  3644. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:539:31: warning: unused variable 'pre_buf' [-Wunused-variable]
  3645. struct mtkfb_fence_buf_info *pre_buf = NULL;
  3646. ^
  3647. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c: In function 'mtkfb_update_buf_info':
  3648. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:648:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
  3649. return;
  3650. ^
  3651. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c: In function 'mtkfb_query_frm_seq_by_addr':
  3652. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:679:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3653. disp_session_sync_info *session_info = _get_session_sync_info(session_id);
  3654. ^
  3655. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c: In function 'disp_sync_init':
  3656. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:733:7: warning: unused variable 'name' [-Wunused-variable]
  3657. char name[32];
  3658. ^
  3659. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:732:18: warning: unused variable 'layer_info' [-Wunused-variable]
  3660. disp_sync_info *layer_info = NULL;
  3661. ^
  3662. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:730:6: warning: unused variable 'j' [-Wunused-variable]
  3663. int j = 0;
  3664. ^
  3665. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c: In function 'mtkfb_release_fence':
  3666. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:809:15: warning: unused variable 'current_ticket' [-Wunused-variable]
  3667. unsigned int current_ticket = dprec_get_vsync_count();
  3668. ^
  3669. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c: In function 'mtkfb_release_layer_fence':
  3670. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:899:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3671. int fence = 0;
  3672. ^
  3673. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c: In function 'disp_sync_prepare_buf':
  3674. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:1075:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3675. disp_sync_info *layer_info = NULL;
  3676. ^
  3677. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c: In function 'disp_sync_query_buf_info':
  3678. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:1213:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
  3679. return;
  3680. ^
  3681. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:1236:56: warning: passing argument 2 of 'dprec_logger_start' makes integer from pointer without a cast
  3682. dprec_logger_start(DPREC_LOGGER_DISPMGR_CACHE_SYNC, buf->hnd, buf->mva);
  3683. ^
  3684. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  3685. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:2:
  3686. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:147:6: note: expected 'unsigned int' but argument is of type 'struct ion_handle *'
  3687. void dprec_logger_start(DPREC_LOGGER_ENUM source, unsigned int val1, unsigned int val2);
  3688. ^
  3689. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:1238:55: warning: passing argument 2 of 'dprec_logger_done' makes integer from pointer without a cast
  3690. dprec_logger_done(DPREC_LOGGER_DISPMGR_CACHE_SYNC, buf->hnd, buf->mva);
  3691. ^
  3692. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  3693. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:2:
  3694. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:148:6: note: expected 'unsigned int' but argument is of type 'struct ion_handle *'
  3695. void dprec_logger_done(DPREC_LOGGER_ENUM source, unsigned int val1, unsigned int val2);
  3696. ^
  3697. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c: At top level:
  3698. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:250:13: warning: 'mtkfb_ion_deinit' defined but not used [-Wunused-function]
  3699. static void mtkfb_ion_deinit()
  3700. ^
  3701. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.c:712:12: warning: '_sync_inited' defined but not used [-Wunused-function]
  3702. static int _sync_inited(disp_session_sync_info *info, unsigned int layer_id)
  3703. ^
  3704. CC drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.o
  3705. LD drivers/misc/mediatek/thermal/built-in.o
  3706. CC drivers/misc/mediatek/videox/mt6795/fbconfig_kdebug_rome.o
  3707. target C: libcrypto_static <= external/openssl/crypto/ecdh/ech_key.c
  3708. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:39:0:
  3709. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.h:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3710. bool get_ovl1_to_mem_on();
  3711. ^
  3712. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  3713. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:40:
  3714. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3715. void dprec_logger_dump_reset();
  3716. ^
  3717. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3718. char *dprec_logger_get_dump_addr();
  3719. ^
  3720. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3721. unsigned int dprec_logger_get_dump_len();
  3722. ^
  3723. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_info.h:10:0,
  3724. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_dump.h:4,
  3725. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:45:
  3726. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3727. void enable_screen_idle_switch_decouple();
  3728. ^
  3729. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3730. void disable_screen_idle_switch_decouple();
  3731. ^
  3732. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:49:0:
  3733. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_od.h:764:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3734. int disp_od_check_status();
  3735. ^
  3736. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_od.h:765:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3737. void disp_od_irq_handler();
  3738. ^
  3739. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:66:0:
  3740. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.h:65:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3741. int get_ovl2mem_ticket();
  3742. ^
  3743. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.h:70:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3744. void ovl2mem_wait_done();
  3745. ^
  3746. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.h:71:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3747. int ovl2mem_deinit();
  3748. ^
  3749. CC drivers/misc/mediatek/videox/mt6795/mtk_mira.o
  3750. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:76:0:
  3751. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.h:155:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3752. int mtkfb_fence_timeline_index();
  3753. ^
  3754. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:147:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3755. int disp_get_session_number()
  3756. ^
  3757. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/kernel.h:7:0,
  3758. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1:
  3759. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c: In function 'disp_destroy_session':
  3760. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/stddef.h:8:14: warning: passing argument 3 of 'release_session_buffer' makes integer from pointer without a cast
  3761. #define NULL ((void *)0)
  3762. ^
  3763. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:282:70: note: in expansion of macro 'NULL'
  3764. release_session_buffer(DISP_SESSION_TYPE(config->session_id), 0xFF, NULL);
  3765. ^
  3766. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:259:6: note: expected 'unsigned int' but argument is of type 'void *'
  3767. bool release_session_buffer (DISP_SESSION_TYPE type, unsigned int layerid, unsigned int layer_phy_addr);
  3768. ^
  3769. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:264:9: warning: unused variable 'idx' [-Wunused-variable]
  3770. int i, idx;
  3771. ^
  3772. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c: In function 'release_session_buffer':
  3773. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:360:1: warning: label 'releae_exit' defined but not used [-Wunused-label]
  3774. releae_exit:
  3775. ^
  3776. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c: In function '_ioctl_trigger_session':
  3777. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:452:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3778. disp_session_sync_info *session_info = disp_get_session_sync_info_for_debug(session_id);
  3779. ^
  3780. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:439:6: warning: unused variable 'present_fence_idx' [-Wunused-variable]
  3781. int present_fence_idx = -1;
  3782. ^
  3783. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:435:6: warning: unused variable 'i' [-Wunused-variable]
  3784. int i = 0;
  3785. ^
  3786. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c: In function 'set_memory_buffer':
  3787. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1047:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3788. disp_session_sync_info *session_info = disp_get_session_sync_info_for_debug(session_id);
  3789. ^
  3790. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1065:37: warning: assignment makes pointer from integer without a cast
  3791. input->config[i].src_phy_addr = get_dim_layer_mva_addr();
  3792. ^
  3793. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1072:13: warning: assignment makes integer from pointer without a cast
  3794. dst_mva = input->config[i].src_phy_addr;
  3795. ^
  3796. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1076:98: warning: passing argument 4 of 'disp_sync_query_buf_info' from incompatible pointer type
  3797. disp_sync_query_buf_info(session_id, layer_id, (unsigned int)input->config[i].next_buff_idx, &dst_mva, &dst_size);
  3798. ^
  3799. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:76:0:
  3800. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.h:164:14: note: expected 'long unsigned int *' but argument is of type 'unsigned int *'
  3801. unsigned int disp_sync_query_buf_info(unsigned int session_id, unsigned int timeline_id, unsigned int idx, unsigned long *mva, unsigned int *size);
  3802. ^
  3803. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1107:79: warning: passing argument 3 of '_sync_convert_fb_layer_to_disp_input' from incompatible pointer type
  3804. _sync_convert_fb_layer_to_disp_input(input->session_id, &(input->config[i]),&input_params[layer_id], dst_mva);
  3805. ^
  3806. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:878:12: note: expected 'struct primary_disp_input_config *' but argument is of type 'struct ovl2mem_in_config *'
  3807. static int _sync_convert_fb_layer_to_disp_input(unsigned int session_id, disp_input_config* src, primary_disp_input_config *dst, unsigned int dst_mva)
  3808. ^
  3809. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1122:23: warning: passing argument 1 of 'ovl2mem_input_config' from incompatible pointer type
  3810. ovl2mem_input_config(&input_params) ;
  3811. ^
  3812. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:66:0:
  3813. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.h:67:5: note: expected 'struct ovl2mem_in_config *' but argument is of type 'struct ovl2mem_in_config (*)[4]'
  3814. int ovl2mem_input_config(ovl2mem_in_config* input);
  3815. ^
  3816. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1041:9: warning: unused variable 'ret' [-Wunused-variable]
  3817. int ret = 0;
  3818. ^
  3819. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c: In function 'set_external_buffer':
  3820. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1136:15: warning: unused variable 'mva_offset' [-Wunused-variable]
  3821. unsigned int mva_offset = 0;
  3822. ^
  3823. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1135:15: warning: unused variable 'session_id' [-Wunused-variable]
  3824. unsigned int session_id = 0;
  3825. ^
  3826. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1134:15: warning: unused variable 'dst_mva' [-Wunused-variable]
  3827. unsigned int dst_mva = 0;
  3828. ^
  3829. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1133:15: warning: unused variable 'dst_size' [-Wunused-variable]
  3830. unsigned int dst_size = 0;
  3831. ^
  3832. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1132:6: warning: unused variable 'layer_id' [-Wunused-variable]
  3833. int layer_id = 0;
  3834. ^
  3835. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1131:6: warning: unused variable 'ret' [-Wunused-variable]
  3836. int ret = 0;
  3837. ^
  3838. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1130:6: warning: unused variable 'i' [-Wunused-variable]
  3839. int i = 0;
  3840. ^
  3841. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c: In function 'set_primary_buffer':
  3842. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1241:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3843. disp_session_sync_info *session_info = disp_get_session_sync_info_for_debug(session_id);
  3844. ^
  3845. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1266:35: warning: assignment makes pointer from integer without a cast
  3846. input->config[i].src_phy_addr = get_dim_layer_mva_addr();
  3847. ^
  3848. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1273:13: warning: assignment makes integer from pointer without a cast
  3849. dst_mva = input->config[i].src_phy_addr;
  3850. ^
  3851. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1277:98: warning: passing argument 4 of 'disp_sync_query_buf_info' from incompatible pointer type
  3852. disp_sync_query_buf_info(session_id, layer_id, (unsigned int)input->config[i].next_buff_idx, &dst_mva, &dst_size);
  3853. ^
  3854. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:76:0:
  3855. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.h:164:14: note: expected 'long unsigned int *' but argument is of type 'unsigned int *'
  3856. unsigned int disp_sync_query_buf_info(unsigned int session_id, unsigned int timeline_id, unsigned int idx, unsigned long *mva, unsigned int *size);
  3857. ^
  3858. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1323:40: warning: passing argument 1 of 'primary_display_config_input_multiple' from incompatible pointer type
  3859. primary_display_config_input_multiple(&primary_input);
  3860. ^
  3861. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:53:0:
  3862. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:272:5: note: expected 'struct primary_disp_input_config *' but argument is of type 'struct primary_disp_input_config (*)[4]'
  3863. int primary_display_config_input_multiple(primary_disp_input_config* input);
  3864. ^
  3865. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1234:6: warning: unused variable 'ret' [-Wunused-variable]
  3866. int ret = 0;
  3867. ^
  3868. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c: In function '_ioctl_set_input_buffer':
  3869. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1345:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3870. disp_session_sync_info *session_info = disp_get_session_sync_info_for_debug(session_id);
  3871. ^
  3872. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1332:15: warning: unused variable 'dst_mva' [-Wunused-variable]
  3873. unsigned int dst_mva = 0;
  3874. ^
  3875. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c: In function '_sync_convert_fb_layer_to_disp_output':
  3876. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1384:13: warning: assignment makes integer from pointer without a cast
  3877. dst->vaddr = src->va;
  3878. ^
  3879. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1394:13: warning: assignment makes integer from pointer without a cast
  3880. dst->addr = src->pa;
  3881. ^
  3882. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1411:1: warning: no return statement in function returning non-void [-Wreturn-type]
  3883. }
  3884. ^
  3885. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c: In function '_ioctl_set_output_buffer':
  3886. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1431:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3887. disp_session_sync_info *session_info = disp_get_session_sync_info_for_debug(session_id);
  3888. ^
  3889. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1444:12: warning: assignment makes integer from pointer without a cast
  3890. dst_mva = session_output.config.pa;
  3891. ^
  3892. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1509:12: warning: assignment makes integer from pointer without a cast
  3893. dst_mva = session_output.config.pa;
  3894. ^
  3895. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1421:15: warning: unused variable 'dst_va' [-Wunused-variable]
  3896. unsigned int dst_va = 0;
  3897. ^
  3898. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c: In function '_ioctl_get_info':
  3899. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1570:6: warning: unused variable 'dev' [-Wunused-variable]
  3900. int dev = 0;
  3901. ^
  3902. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c: In function '_ioctl_wait_vsync':
  3903. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1686:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3904. disp_session_sync_info *session_info = disp_get_session_sync_info_for_debug(vsync_config.session_id);
  3905. ^
  3906. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1678:6: warning: unused variable 'dev' [-Wunused-variable]
  3907. int dev = 0;
  3908. ^
  3909. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c: In function '_ioctl_set_vsync':
  3910. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:1707:6: warning: unused variable 'dev' [-Wunused-variable]
  3911. int dev = 0;
  3912. ^
  3913. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:53:0:
  3914. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c: At top level:
  3915. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:299:12: warning: '__primary_display_switch_mode' declared 'static' but never defined [-Wunused-function]
  3916. static int __primary_display_switch_mode(int sess_mode, unsigned int session, int need_lock);
  3917. ^
  3918. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_disp_mgr.c:427:21: warning: 'get_current_ticket' defined but not used [-Wunused-function]
  3919. static unsigned int get_current_ticket(void)
  3920. ^
  3921. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/fbconfig_kdebug_rome.c:4:0:
  3922. /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/fb.h:26:0: warning: "CONFIG_DMA_SHARED_BUFFER" redefined
  3923. #define CONFIG_DMA_SHARED_BUFFER
  3924. ^
  3925. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/include/linux/kconfig.h:4:0,
  3926. from <command-line>:0:
  3927. include/generated/autoconf.h:959:0: note: this is the location of the previous definition
  3928. #define CONFIG_DMA_SHARED_BUFFER 1
  3929. ^
  3930. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/fbconfig_kdebug_rome.c:12:0:
  3931. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.h:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3932. bool get_ovl1_to_mem_on();
  3933. ^
  3934. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  3935. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_mira.c:3:
  3936. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3937. void dprec_logger_dump_reset();
  3938. ^
  3939. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3940. char *dprec_logger_get_dump_addr();
  3941. ^
  3942. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3943. unsigned int dprec_logger_get_dump_len();
  3944. ^
  3945. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_info.h:10:0,
  3946. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_path.h:4,
  3947. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/fbconfig_kdebug_rome.c:14:
  3948. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3949. void enable_screen_idle_switch_decouple();
  3950. ^
  3951. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3952. void disable_screen_idle_switch_decouple();
  3953. ^
  3954. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/fbconfig_kdebug_rome.c: In function 'fbconfig_ioctl':
  3955. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/fbconfig_kdebug_rome.c:291:7: warning: unused variable 'i' [-Wunused-variable]
  3956. int i ;
  3957. ^
  3958. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/fbconfig_kdebug_rome.c:485:62: warning: passing argument 3 of 'm4u_mva_map_kernel' from incompatible pointer type
  3959. ret=m4u_mva_map_kernel( real_mva, real_size, &kva, &mapped_size);
  3960. ^
  3961. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/fbconfig_kdebug_rome.c:123:12: note: expected 'unsigned int *' but argument is of type 'long unsigned int *'
  3962. extern int m4u_mva_map_kernel(unsigned int mva, unsigned int size,
  3963. ^
  3964. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/fbconfig_kdebug_rome.c: At top level:
  3965. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/fbconfig_kdebug_rome.c:563:5: warning: initialization from incompatible pointer type
  3966. .open = fbconfig_open,
  3967. ^
  3968. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/fbconfig_kdebug_rome.c:563:5: warning: (near initialization for 'fbconfig_fops.open')
  3969. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/fbconfig_kdebug_rome.c:16:0:
  3970. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:299:12: warning: '__primary_display_switch_mode' declared 'static' but never defined [-Wunused-function]
  3971. static int __primary_display_switch_mode(int sess_mode, unsigned int session, int need_lock);
  3972. ^
  3973. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/fbconfig_kdebug_rome.c:172:13: warning: 'print_from_head_to_tail' defined but not used [-Wunused-function]
  3974. static void print_from_head_to_tail(void)
  3975. ^
  3976. target C: libcrypto_static <= external/openssl/crypto/ecdh/ech_lib.c
  3977. CC drivers/misc/mediatek/videox/mt6795/mtk_ovl.o
  3978. target C: libcrypto_static <= external/openssl/crypto/ecdh/ech_ossl.c
  3979. external/openssl/crypto/ecdh/ech_lib.c: In function 'ECDH_DATA_new_method':
  3980. external/openssl/crypto/ecdh/ech_lib.c:145:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  3981. ECDHerr(ECDH_F_ECDH_DATA_NEW_METHOD, ERR_R_MALLOC_FAILURE);
  3982. ^
  3983. external/openssl/crypto/ecdh/ech_ossl.c: In function 'ecdh_compute_key':
  3984. external/openssl/crypto/ecdh/ech_ossl.c:123:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  3985. ECDHerr(ECDH_F_ECDH_COMPUTE_KEY,ERR_R_MALLOC_FAILURE); /* sort of, anyway */
  3986. ^
  3987. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:9:0:
  3988. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/debug.h:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3989. bool get_ovl1_to_mem_on();
  3990. ^
  3991. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  3992. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:11:
  3993. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3994. void dprec_logger_dump_reset();
  3995. ^
  3996. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  3997. char *dprec_logger_get_dump_addr();
  3998. ^
  3999. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  4000. unsigned int dprec_logger_get_dump_len();
  4001. ^
  4002. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_info.h:10:0,
  4003. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_dump.h:4,
  4004. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:14:
  4005. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  4006. void enable_screen_idle_switch_decouple();
  4007. ^
  4008. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  4009. void disable_screen_idle_switch_decouple();
  4010. ^
  4011. target C: libcrypto_static <= external/openssl/crypto/ecdsa/ecs_asn1.c
  4012. CC drivers/misc/mediatek/videox/mt6795/disp_helper.o
  4013. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:32:0:
  4014. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.h:65:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  4015. int get_ovl2mem_ticket();
  4016. ^
  4017. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.h:70:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  4018. void ovl2mem_wait_done();
  4019. ^
  4020. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.h:71:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  4021. int ovl2mem_deinit();
  4022. ^
  4023. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:34:0:
  4024. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtkfb_fence.h:155:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  4025. int mtkfb_fence_timeline_index();
  4026. ^
  4027. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c: In function '_ovl2mem_path_lock':
  4028. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:110:20: warning: assignment discards 'const' qualifier from pointer target type
  4029. pgc->mutex_locker = caller;
  4030. ^
  4031. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c: In function 'ovl2mem_callback':
  4032. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:234:1: warning: no return statement in function returning non-void [-Wreturn-type]
  4033. }
  4034. ^
  4035. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c: At top level:
  4036. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:236:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  4037. int get_ovl2mem_ticket()
  4038. ^
  4039. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c: In function 'ovl2mem_init':
  4040. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:290:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4041. M4U_PORT_STRUCT sPort;
  4042. ^
  4043. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c: In function 'ovl2mem_input_config':
  4044. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:345:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4045. disp_ddp_path_config *data_config;
  4046. ^
  4047. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:380:90: warning: passing argument 2 of '_convert_disp_input_to_ovl' from incompatible pointer type
  4048. ret = _convert_disp_input_to_ovl(&(data_config->ovl_config[input[i].layer]), &input[i]);
  4049. ^
  4050. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:163:12: note: expected 'struct primary_disp_input_config *' but argument is of type 'struct ovl2mem_in_config *'
  4051. static int _convert_disp_input_to_ovl(OVL_CONFIG_STRUCT *dst, primary_disp_input_config* src)
  4052. ^
  4053. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c: In function 'ovl2mem_output_config':
  4054. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:409:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4055. disp_ddp_path_config *data_config;
  4056. ^
  4057. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:403:9: warning: unused variable 'i' [-Wunused-variable]
  4058. int i = 0;
  4059. ^
  4060. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c: In function 'ovl2mem_trigger':
  4061. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:478:56: warning: passing argument 2 of 'cmdqRecFlushAsyncCallback' from incompatible pointer type
  4062. cmdqRecFlushAsyncCallback(pgc->cmdq_handle_config, ovl2mem_callback, atomic_read(&g_trigger_ticket));
  4063. ^
  4064. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/ddp_manager.h:9:0,
  4065. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:5,
  4066. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:19:
  4067. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/cmdq/mt6795/cmdq_record.h:332:10: note: expected 'CmdqAsyncFlushCB' but argument is of type 'int (*)(unsigned int)'
  4068. int32_t cmdqRecFlushAsyncCallback(cmdqRecHandle handle, CmdqAsyncFlushCB callback,
  4069. ^
  4070. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c: At top level:
  4071. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:492:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  4072. void ovl2mem_wait_done()
  4073. ^
  4074. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:517:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  4075. int ovl2mem_deinit()
  4076. ^
  4077. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:19:0:
  4078. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/primary_display.h:299:12: warning: '__primary_display_switch_mode' declared 'static' but never defined [-Wunused-function]
  4079. static int __primary_display_switch_mode(int sess_mode, unsigned int session, int need_lock);
  4080. ^
  4081. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:79:21: warning: 'cmdqDdpClockOn' defined but not used [-Wunused-function]
  4082. static unsigned int cmdqDdpClockOn(uint64_t engineFlag)
  4083. ^
  4084. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:84:21: warning: 'cmdqDdpResetEng' defined but not used [-Wunused-function]
  4085. static unsigned int cmdqDdpResetEng(uint64_t engineFlag)
  4086. ^
  4087. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:90:21: warning: 'cmdqDdpClockOff' defined but not used [-Wunused-function]
  4088. static unsigned int cmdqDdpClockOff(uint64_t engineFlag)
  4089. ^
  4090. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:95:21: warning: 'cmdqDdpDumpInfo' defined but not used [-Wunused-function]
  4091. static unsigned int cmdqDdpDumpInfo(uint64_t engineFlag,
  4092. ^
  4093. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c: In function 'ovl2mem_get_info':
  4094. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/mtk_ovl.c:160:1: warning: control reaches end of non-void function [-Wreturn-type]
  4095. }
  4096. ^
  4097. target C: libcrypto_static <= external/openssl/crypto/ecdsa/ecs_err.c
  4098. target C: libcrypto_static <= external/openssl/crypto/ecdsa/ecs_lib.c
  4099. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_drv_log.h:3:0,
  4100. from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c:13:
  4101. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  4102. void dprec_logger_dump_reset();
  4103. ^
  4104. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  4105. char *dprec_logger_get_dump_addr();
  4106. ^
  4107. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/dispsys/mt6795/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  4108. unsigned int dprec_logger_get_dump_len();
  4109. ^
  4110. In file included from /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c:16:0:
  4111. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  4112. void enable_screen_idle_switch_decouple();
  4113. ^
  4114. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.h:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  4115. void disable_screen_idle_switch_decouple();
  4116. ^
  4117. target C: libcrypto_static <= external/openssl/crypto/ecdsa/ecs_ossl.c
  4118. external/openssl/crypto/ecdsa/ecs_lib.c: In function 'ECDSA_DATA_new_method':
  4119. external/openssl/crypto/ecdsa/ecs_lib.c:124:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4120. ECDSAerr(ECDSA_F_ECDSA_DATA_NEW_METHOD, ERR_R_MALLOC_FAILURE);
  4121. ^
  4122. external/openssl/crypto/ecdsa/ecs_ossl.c: In function 'ecdsa_sign_setup':
  4123. external/openssl/crypto/ecdsa/ecs_ossl.c:103:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4124. ECDSAerr(ECDSA_F_ECDSA_SIGN_SETUP, ERR_R_PASSED_NULL_PARAMETER);
  4125. ^
  4126. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c:31:8: warning: return type defaults to 'int' [-Wreturn-type]
  4127. static _is_E1(void)
  4128. ^
  4129. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c:40:8: warning: return type defaults to 'int' [-Wreturn-type]
  4130. static _is_E2(void)
  4131. ^
  4132. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c:49:8: warning: return type defaults to 'int' [-Wreturn-type]
  4133. static _is_E3(void)
  4134. ^
  4135. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c:54:8: warning: return type defaults to 'int' [-Wreturn-type]
  4136. static _is_early_porting_stage(void)
  4137. ^
  4138. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c:59:8: warning: return type defaults to 'int' [-Wreturn-type]
  4139. static _is_bringup_stage(void)
  4140. ^
  4141. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c:64:8: warning: return type defaults to 'int' [-Wreturn-type]
  4142. static _is_normal_stage(void)
  4143. ^
  4144. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c:70:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  4145. void enable_screen_idle_switch_decouple()
  4146. ^
  4147. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c:74:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  4148. void disable_screen_idle_switch_decouple()
  4149. ^
  4150. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c: In function 'disp_helper_get_option':
  4151. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c:212:2: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
  4152. return ;
  4153. ^
  4154. target C: libcrypto_static <= external/openssl/crypto/ecdsa/ecs_sign.c
  4155. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c: At top level:
  4156. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c:49:8: warning: '_is_E3' defined but not used [-Wunused-function]
  4157. static _is_E3(void)
  4158. ^
  4159. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c: In function 'disp_helper_set_option':
  4160. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c:121:1: warning: control reaches end of non-void function [-Wreturn-type]
  4161. }
  4162. ^
  4163. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c: In function 'disp_helper_stage_spy':
  4164. /home/Arch/javier/dati/download/part-tree/kernel-3.10/drivers/misc/mediatek/videox/mt6795/disp_helper.c:228:1: warning: control reaches end of non-void function [-Wreturn-type]
  4165. }
  4166. ^
  4167. target C: libcrypto_static <= external/openssl/crypto/ecdsa/ecs_vrf.c
  4168. external/openssl/crypto/ecdsa/ecs_sign.c: In function 'ECDSA_sign_setup':
  4169. external/openssl/crypto/ecdsa/ecs_sign.c:110:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4170. ECDSAerr(ECDSA_F_ECDSA_SIGN_SETUP, ECDSA_R_NONCE_CANNOT_BE_PRECOMPUTED);
  4171. ^
  4172. target C: libcrypto_static <= external/openssl/crypto/engine/eng_all.c
  4173. LD drivers/misc/mediatek/videox/mt6795/built-in.o
  4174. LD drivers/misc/mediatek/videox/built-in.o
  4175. target C: libcrypto_static <= external/openssl/crypto/engine/eng_cnf.c
  4176. LD drivers/misc/mediatek/built-in.o
  4177. target C: libcrypto_static <= external/openssl/crypto/engine/eng_ctrl.c
  4178. external/openssl/crypto/engine/eng_cnf.c: In function 'int_engine_configure':
  4179. external/openssl/crypto/engine/eng_cnf.c:112:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4180. ENGINEerr(ENGINE_F_INT_ENGINE_CONFIGURE, ENGINE_R_ENGINE_SECTION_ERROR);
  4181. ^
  4182. target C: libcrypto_static <= external/openssl/crypto/engine/eng_dyn.c
  4183. external/openssl/crypto/engine/eng_ctrl.c: In function 'int_ctrl_helper':
  4184. external/openssl/crypto/engine/eng_ctrl.c:122:4: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4185. ENGINEerr(ENGINE_F_INT_CTRL_HELPER,
  4186. ^
  4187. external/openssl/crypto/engine/eng_dyn.c: In function 'dynamic_set_data_ctx':
  4188. external/openssl/crypto/engine/eng_dyn.c:192:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4189. ENGINEerr(ENGINE_F_DYNAMIC_SET_DATA_CTX,ERR_R_MALLOC_FAILURE);
  4190. ^
  4191. target C: libcrypto_static <= external/openssl/crypto/engine/eng_err.c
  4192. target C: libcrypto_static <= external/openssl/crypto/engine/eng_fat.c
  4193. target C: libcrypto_static <= external/openssl/crypto/engine/eng_init.c
  4194. target C: libcrypto_static <= external/openssl/crypto/engine/eng_lib.c
  4195. target C: libcrypto_static <= external/openssl/crypto/engine/eng_list.c
  4196. external/openssl/crypto/engine/eng_fat.c: In function 'ENGINE_set_default_string':
  4197. external/openssl/crypto/engine/eng_fat.c:142:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4198. ENGINEerr(ENGINE_F_ENGINE_SET_DEFAULT_STRING,
  4199. ^
  4200. external/openssl/crypto/engine/eng_lib.c: In function 'ENGINE_new':
  4201. external/openssl/crypto/engine/eng_lib.c:71:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4202. ENGINEerr(ENGINE_F_ENGINE_NEW, ERR_R_MALLOC_FAILURE);
  4203. ^
  4204. external/openssl/crypto/engine/eng_init.c: In function 'engine_unlocked_finish':
  4205. external/openssl/crypto/engine/eng_init.c:114:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4206. ENGINEerr(ENGINE_F_ENGINE_UNLOCKED_FINISH,ENGINE_R_FINISH_FAILED);
  4207. ^
  4208. external/openssl/crypto/engine/eng_list.c: In function 'engine_list_add':
  4209. external/openssl/crypto/engine/eng_list.c:103:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4210. ENGINEerr(ENGINE_F_ENGINE_LIST_ADD,
  4211. ^
  4212. target C: libcrypto_static <= external/openssl/crypto/engine/eng_pkey.c
  4213. WARNING: drivers/misc/mediatek/built-in.o(.text+0x677e0): Section mismatch in reference from the function init_boot_common.part.1() to the function .init.text:dt_get_boot_common()
  4214. The function init_boot_common.part.1() references
  4215. the function __init dt_get_boot_common().
  4216. This is often because init_boot_common.part.1 lacks a __init
  4217. annotation or the annotation of dt_get_boot_common is wrong.
  4218.  
  4219. target C: libcrypto_static <= external/openssl/crypto/engine/eng_table.c
  4220. WARNING: drivers/misc/mediatek/built-in.o(.text+0x677e8): Section mismatch in reference from the function init_boot_common.part.1() to the function .init.text:dt_get_boot_common()
  4221. The function init_boot_common.part.1() references
  4222. the function __init dt_get_boot_common().
  4223. This is often because init_boot_common.part.1 lacks a __init
  4224. annotation or the annotation of dt_get_boot_common is wrong.
  4225.  
  4226. WARNING: drivers/misc/mediatek/built-in.o(.text+0x67c04): Section mismatch in reference from the function init_boot_reason.part.1() to the function .init.text:dt_get_boot_reason()
  4227. The function init_boot_reason.part.1() references
  4228. the function __init dt_get_boot_reason().
  4229. This is often because init_boot_reason.part.1 lacks a __init
  4230. annotation or the annotation of dt_get_boot_reason is wrong.
  4231.  
  4232. WARNING: drivers/misc/mediatek/built-in.o(.text+0x67c0c): Section mismatch in reference from the function init_boot_reason.part.1() to the function .init.text:dt_get_boot_reason()
  4233. The function init_boot_reason.part.1() references
  4234. the function __init dt_get_boot_reason().
  4235. This is often because init_boot_reason.part.1 lacks a __init
  4236. annotation or the annotation of dt_get_boot_reason is wrong.
  4237.  
  4238. WARNING: drivers/misc/mediatek/built-in.o(.text+0x73178): Section mismatch in reference from the function get_max_DRAM_size() to the variable .init.text:$x
  4239. The function get_max_DRAM_size() references
  4240. the variable __init $x.
  4241. This is often because get_max_DRAM_size lacks a __init
  4242. annotation or the annotation of $x is wrong.
  4243.  
  4244. WARNING: drivers/misc/mediatek/built-in.o(.text+0x731bc): Section mismatch in reference from the function get_memory_size() to the variable .init.text:$x
  4245. The function get_memory_size() references
  4246. the variable __init $x.
  4247. This is often because get_memory_size lacks a __init
  4248. annotation or the annotation of $x is wrong.
  4249.  
  4250. target C: libcrypto_static <= external/openssl/crypto/engine/tb_asnmth.c
  4251. external/openssl/crypto/engine/eng_table.c: In function 'engine_table_register':
  4252. external/openssl/crypto/engine/eng_table.c:173:5: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4253. ENGINEerr(ENGINE_F_ENGINE_TABLE_REGISTER,
  4254. ^
  4255. WARNING: drivers/misc/mediatek/built-in.o(.text+0x1ab708): Section mismatch in reference from the function ccci_util_fo_init() to the variable .init.text:$x
  4256. The function ccci_util_fo_init() references
  4257. the variable __init $x.
  4258. This is often because ccci_util_fo_init lacks a __init
  4259. annotation or the annotation of $x is wrong.
  4260.  
  4261. WARNING: drivers/misc/mediatek/built-in.o(.text+0x1ab710): Section mismatch in reference from the function ccci_util_fo_init() to the variable .init.text:$x
  4262. The function ccci_util_fo_init() references
  4263. the variable __init $x.
  4264. This is often because ccci_util_fo_init lacks a __init
  4265. annotation or the annotation of $x is wrong.
  4266.  
  4267. external/openssl/crypto/engine/eng_pkey.c: In function 'ENGINE_load_private_key':
  4268. external/openssl/crypto/engine/eng_pkey.c:103:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4269. ENGINEerr(ENGINE_F_ENGINE_LOAD_PRIVATE_KEY,
  4270. ^
  4271. target C: libcrypto_static <= external/openssl/crypto/engine/tb_cipher.c
  4272. WARNING: drivers/misc/mediatek/built-in.o(.text+0x276ca0): Section mismatch in reference from the function wdt_arch_reset() to the function .init.text:mt_pwrap_hal_init()
  4273. The function wdt_arch_reset() references
  4274. the function __init mt_pwrap_hal_init().
  4275. This is often because wdt_arch_reset lacks a __init
  4276. annotation or the annotation of mt_pwrap_hal_init is wrong.
  4277.  
  4278. WARNING: drivers/misc/mediatek/built-in.o(.text+0x276d34): Section mismatch in reference from the function wdt_arch_reset() to the function .init.text:mt_pwrap_hal_init()
  4279. The function wdt_arch_reset() references
  4280. the function __init mt_pwrap_hal_init().
  4281. This is often because wdt_arch_reset lacks a __init
  4282. annotation or the annotation of mt_pwrap_hal_init is wrong.
  4283.  
  4284. WARNING: drivers/misc/mediatek/built-in.o(.data+0x2dc88): Section mismatch in reference from the variable mt65xx_leds_driver to the variable .init.text:$x
  4285. The variable mt65xx_leds_driver references
  4286. the variable __init $x
  4287. If the reference is valid then annotate the
  4288. variable with __init* or __refdata (see linux/init.h) or name the variable:
  4289. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  4290.  
  4291. WARNING: drivers/misc/mediatek/built-in.o(.data+0x33090): Section mismatch in reference from the variable mt_spi_driver to the variable .init.text:$x
  4292. The variable mt_spi_driver references
  4293. the variable __init $x
  4294. If the reference is valid then annotate the
  4295. variable with __init* or __refdata (see linux/init.h) or name the variable:
  4296. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  4297.  
  4298. WARNING: drivers/misc/mediatek/built-in.o(.data+0x331f0): Section mismatch in reference from the variable spi_test_driver to the variable .init.text:$x
  4299. The variable spi_test_driver references
  4300. the variable __init $x
  4301. If the reference is valid then annotate the
  4302. variable with __init* or __refdata (see linux/init.h) or name the variable:
  4303. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  4304.  
  4305. WARNING: drivers/misc/mediatek/built-in.o(.data+0x35b50): Section mismatch in reference from the variable musb_driver to the function .init.text:musb_probe()
  4306. The variable musb_driver references
  4307. the function __init musb_probe()
  4308. If the reference is valid then annotate the
  4309. variable with __init* or __refdata (see linux/init.h) or name the variable:
  4310. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  4311.  
  4312. WARNING: drivers/misc/mediatek/built-in.o(.data+0x35ea8): Section mismatch in reference from the variable mtu3d_config to the variable .init.data:mtu3d_cfg
  4313. The variable mtu3d_config references
  4314. the variable __initdata mtu3d_cfg
  4315. If the reference is valid then annotate the
  4316. variable with __init* or __refdata (see linux/init.h) or name the variable:
  4317. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  4318.  
  4319. external/openssl/crypto/engine/tb_asnmth.c: In function 'ENGINE_get_pkey_asn1_meth':
  4320. external/openssl/crypto/engine/tb_asnmth.c:128:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4321. ENGINEerr(ENGINE_F_ENGINE_GET_PKEY_ASN1_METH,
  4322. ^
  4323. target C: libcrypto_static <= external/openssl/crypto/engine/tb_dh.c
  4324. LD drivers/misc/built-in.o
  4325. external/openssl/crypto/engine/tb_cipher.c: In function 'ENGINE_get_cipher':
  4326. external/openssl/crypto/engine/tb_cipher.c:125:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4327. ENGINEerr(ENGINE_F_ENGINE_GET_CIPHER,
  4328. ^
  4329. target C: libcrypto_static <= external/openssl/crypto/engine/tb_digest.c
  4330. target C: libcrypto_static <= external/openssl/crypto/engine/tb_dsa.c
  4331. target C: libcrypto_static <= external/openssl/crypto/engine/tb_ecdh.c
  4332. external/openssl/crypto/engine/tb_digest.c: In function 'ENGINE_get_digest':
  4333. external/openssl/crypto/engine/tb_digest.c:125:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4334. ENGINEerr(ENGINE_F_ENGINE_GET_DIGEST,
  4335. ^
  4336. target C: libcrypto_static <= external/openssl/crypto/engine/tb_ecdsa.c
  4337. target C: libcrypto_static <= external/openssl/crypto/engine/tb_pkmeth.c
  4338. external/openssl/crypto/engine/tb_pkmeth.c: In function 'ENGINE_get_pkey_meth':
  4339. external/openssl/crypto/engine/tb_pkmeth.c:126:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4340. ENGINEerr(ENGINE_F_ENGINE_GET_PKEY_METH,
  4341. ^
  4342. target C: libcrypto_static <= external/openssl/crypto/engine/tb_rand.c
  4343. target C: libcrypto_static <= external/openssl/crypto/engine/tb_rsa.c
  4344. target C: libcrypto_static <= external/openssl/crypto/engine/tb_store.c
  4345. target C: libcrypto_static <= external/openssl/crypto/err/err.c
  4346. target C: libcrypto_static <= external/openssl/crypto/err/err_all.c
  4347. WARNING: drivers/misc/built-in.o(.text+0x67a40): Section mismatch in reference from the function init_boot_common.part.1() to the function .init.text:dt_get_boot_common()
  4348. The function init_boot_common.part.1() references
  4349. the function __init dt_get_boot_common().
  4350. This is often because init_boot_common.part.1 lacks a __init
  4351. annotation or the annotation of dt_get_boot_common is wrong.
  4352.  
  4353. WARNING: drivers/misc/built-in.o(.text+0x67a48): Section mismatch in reference from the function init_boot_common.part.1() to the function .init.text:dt_get_boot_common()
  4354. The function init_boot_common.part.1() references
  4355. the function __init dt_get_boot_common().
  4356. This is often because init_boot_common.part.1 lacks a __init
  4357. annotation or the annotation of dt_get_boot_common is wrong.
  4358.  
  4359. WARNING: drivers/misc/built-in.o(.text+0x67e64): Section mismatch in reference from the function init_boot_reason.part.1() to the function .init.text:dt_get_boot_reason()
  4360. The function init_boot_reason.part.1() references
  4361. the function __init dt_get_boot_reason().
  4362. This is often because init_boot_reason.part.1 lacks a __init
  4363. annotation or the annotation of dt_get_boot_reason is wrong.
  4364.  
  4365. WARNING: drivers/misc/built-in.o(.text+0x67e6c): Section mismatch in reference from the function init_boot_reason.part.1() to the function .init.text:dt_get_boot_reason()
  4366. The function init_boot_reason.part.1() references
  4367. the function __init dt_get_boot_reason().
  4368. This is often because init_boot_reason.part.1 lacks a __init
  4369. annotation or the annotation of dt_get_boot_reason is wrong.
  4370.  
  4371. WARNING: drivers/misc/built-in.o(.text+0x733d8): Section mismatch in reference from the function get_max_DRAM_size() to the variable .init.text:$x
  4372. The function get_max_DRAM_size() references
  4373. the variable __init $x.
  4374. This is often because get_max_DRAM_size lacks a __init
  4375. annotation or the annotation of $x is wrong.
  4376.  
  4377. WARNING: drivers/misc/built-in.o(.text+0x7341c): Section mismatch in reference from the function get_memory_size() to the variable .init.text:$x
  4378. The function get_memory_size() references
  4379. the variable __init $x.
  4380. This is often because get_memory_size lacks a __init
  4381. annotation or the annotation of $x is wrong.
  4382.  
  4383. target C: libcrypto_static <= external/openssl/crypto/err/err_prn.c
  4384. target C: libcrypto_static <= external/openssl/crypto/evp/bio_b64.c
  4385. WARNING: drivers/misc/built-in.o(.text+0x1ab968): Section mismatch in reference from the function ccci_util_fo_init() to the variable .init.text:$x
  4386. The function ccci_util_fo_init() references
  4387. the variable __init $x.
  4388. This is often because ccci_util_fo_init lacks a __init
  4389. annotation or the annotation of $x is wrong.
  4390.  
  4391. WARNING: drivers/misc/built-in.o(.text+0x1ab970): Section mismatch in reference from the function ccci_util_fo_init() to the variable .init.text:$x
  4392. The function ccci_util_fo_init() references
  4393. the variable __init $x.
  4394. This is often because ccci_util_fo_init lacks a __init
  4395. annotation or the annotation of $x is wrong.
  4396.  
  4397. WARNING: drivers/misc/built-in.o(.text+0x276f00): Section mismatch in reference from the function wdt_arch_reset() to the function .init.text:mt_pwrap_hal_init()
  4398. The function wdt_arch_reset() references
  4399. the function __init mt_pwrap_hal_init().
  4400. This is often because wdt_arch_reset lacks a __init
  4401. annotation or the annotation of mt_pwrap_hal_init is wrong.
  4402.  
  4403. WARNING: drivers/misc/built-in.o(.text+0x276f94): Section mismatch in reference from the function wdt_arch_reset() to the function .init.text:mt_pwrap_hal_init()
  4404. The function wdt_arch_reset() references
  4405. the function __init mt_pwrap_hal_init().
  4406. This is often because wdt_arch_reset lacks a __init
  4407. annotation or the annotation of mt_pwrap_hal_init is wrong.
  4408.  
  4409. WARNING: drivers/misc/built-in.o(.data+0x2dd08): Section mismatch in reference from the variable mt65xx_leds_driver to the variable .init.text:$x
  4410. The variable mt65xx_leds_driver references
  4411. the variable __init $x
  4412. If the reference is valid then annotate the
  4413. variable with __init* or __refdata (see linux/init.h) or name the variable:
  4414. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  4415.  
  4416. WARNING: drivers/misc/built-in.o(.data+0x33110): Section mismatch in reference from the variable mt_spi_driver to the variable .init.text:$x
  4417. The variable mt_spi_driver references
  4418. the variable __init $x
  4419. If the reference is valid then annotate the
  4420. variable with __init* or __refdata (see linux/init.h) or name the variable:
  4421. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  4422.  
  4423. WARNING: drivers/misc/built-in.o(.data+0x33270): Section mismatch in reference from the variable spi_test_driver to the variable .init.text:$x
  4424. The variable spi_test_driver references
  4425. the variable __init $x
  4426. If the reference is valid then annotate the
  4427. variable with __init* or __refdata (see linux/init.h) or name the variable:
  4428. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  4429.  
  4430. WARNING: drivers/misc/built-in.o(.data+0x35bd0): Section mismatch in reference from the variable musb_driver to the function .init.text:musb_probe()
  4431. The variable musb_driver references
  4432. the function __init musb_probe()
  4433. If the reference is valid then annotate the
  4434. variable with __init* or __refdata (see linux/init.h) or name the variable:
  4435. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  4436.  
  4437. WARNING: drivers/misc/built-in.o(.data+0x35f28): Section mismatch in reference from the variable mtu3d_config to the variable .init.data:mtu3d_cfg
  4438. The variable mtu3d_config references
  4439. the variable __initdata mtu3d_cfg
  4440. If the reference is valid then annotate the
  4441. variable with __init* or __refdata (see linux/init.h) or name the variable:
  4442. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  4443.  
  4444. LD drivers/built-in.o
  4445. target C: libcrypto_static <= external/openssl/crypto/evp/bio_enc.c
  4446. target C: libcrypto_static <= external/openssl/crypto/evp/bio_md.c
  4447. target C: libcrypto_static <= external/openssl/crypto/evp/bio_ok.c
  4448. target C: libcrypto_static <= external/openssl/crypto/evp/c_all.c
  4449. target C: libcrypto_static <= external/openssl/crypto/evp/c_allc.c
  4450. target C: libcrypto_static <= external/openssl/crypto/evp/c_alld.c
  4451. target C: libcrypto_static <= external/openssl/crypto/evp/digest.c
  4452. target C: libcrypto_static <= external/openssl/crypto/evp/e_aes.c
  4453. target C: libcrypto_static <= external/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
  4454. target C: libcrypto_static <= external/openssl/crypto/evp/e_bf.c
  4455. external/openssl/crypto/evp/digest.c: In function 'EVP_DigestInit_ex':
  4456. external/openssl/crypto/evp/digest.c:167:5: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4457. EVPerr(EVP_F_EVP_DIGESTINIT_EX,EVP_R_INITIALIZATION_ERROR);
  4458. ^
  4459. external/openssl/crypto/evp/e_aes.c: In function 'aes_init_key':
  4460. external/openssl/crypto/evp/e_aes.c:632:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4461. EVPerr(EVP_F_AES_INIT_KEY,EVP_R_AES_KEY_SETUP_FAILED);
  4462. ^
  4463. target C: libcrypto_static <= external/openssl/crypto/evp/e_des.c
  4464. target C: libcrypto_static <= external/openssl/crypto/evp/e_des3.c
  4465. target C: libcrypto_static <= external/openssl/crypto/evp/e_null.c
  4466. target C: libcrypto_static <= external/openssl/crypto/evp/e_old.c
  4467. target C: libcrypto_static <= external/openssl/crypto/evp/e_rc2.c
  4468. WARNING: drivers/built-in.o(.text+0xd6970): Section mismatch in reference from the function init_boot_common.part.1() to the function .init.text:dt_get_boot_common()
  4469. The function init_boot_common.part.1() references
  4470. the function __init dt_get_boot_common().
  4471. This is often because init_boot_common.part.1 lacks a __init
  4472. annotation or the annotation of dt_get_boot_common is wrong.
  4473.  
  4474. WARNING: drivers/built-in.o(.text+0xd6978): Section mismatch in reference from the function init_boot_common.part.1() to the function .init.text:dt_get_boot_common()
  4475. The function init_boot_common.part.1() references
  4476. the function __init dt_get_boot_common().
  4477. This is often because init_boot_common.part.1 lacks a __init
  4478. annotation or the annotation of dt_get_boot_common is wrong.
  4479.  
  4480. WARNING: drivers/built-in.o(.text+0xd697c): Section mismatch in reference from the function init_boot_common.part.1() to the function .init.text:of_scan_flat_dt()
  4481. The function init_boot_common.part.1() references
  4482. the function __init of_scan_flat_dt().
  4483. This is often because init_boot_common.part.1 lacks a __init
  4484. annotation or the annotation of of_scan_flat_dt is wrong.
  4485.  
  4486. WARNING: drivers/built-in.o(.text+0xd6d94): Section mismatch in reference from the function init_boot_reason.part.1() to the function .init.text:dt_get_boot_reason()
  4487. The function init_boot_reason.part.1() references
  4488. the function __init dt_get_boot_reason().
  4489. This is often because init_boot_reason.part.1 lacks a __init
  4490. annotation or the annotation of dt_get_boot_reason is wrong.
  4491.  
  4492. WARNING: drivers/built-in.o(.text+0xd6d9c): Section mismatch in reference from the function init_boot_reason.part.1() to the function .init.text:dt_get_boot_reason()
  4493. The function init_boot_reason.part.1() references
  4494. the function __init dt_get_boot_reason().
  4495. This is often because init_boot_reason.part.1 lacks a __init
  4496. annotation or the annotation of dt_get_boot_reason is wrong.
  4497.  
  4498. WARNING: drivers/built-in.o(.text+0xd6da0): Section mismatch in reference from the function init_boot_reason.part.1() to the function .init.text:of_scan_flat_dt()
  4499. The function init_boot_reason.part.1() references
  4500. the function __init of_scan_flat_dt().
  4501. This is often because init_boot_reason.part.1 lacks a __init
  4502. annotation or the annotation of of_scan_flat_dt is wrong.
  4503.  
  4504. WARNING: drivers/built-in.o(.text+0xe18e0): Section mismatch in reference from the function dt_scan_memory.part.4() to the function .init.text:of_get_flat_dt_prop()
  4505. The function dt_scan_memory.part.4() references
  4506. the function __init of_get_flat_dt_prop().
  4507. This is often because dt_scan_memory.part.4 lacks a __init
  4508. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4509.  
  4510. WARNING: drivers/built-in.o(.text+0xe1914): Section mismatch in reference from the function dt_scan_memory.part.4() to the variable .init.data:dt_root_addr_cells
  4511. The function dt_scan_memory.part.4() references
  4512. the variable __initdata dt_root_addr_cells.
  4513. This is often because dt_scan_memory.part.4 lacks a __initdata
  4514. annotation or the annotation of dt_root_addr_cells is wrong.
  4515.  
  4516. WARNING: drivers/built-in.o(.text+0xe1918): Section mismatch in reference from the function dt_scan_memory.part.4() to the variable .init.data:dt_root_size_cells
  4517. The function dt_scan_memory.part.4() references
  4518. the variable __initdata dt_root_size_cells.
  4519. This is often because dt_scan_memory.part.4 lacks a __initdata
  4520. annotation or the annotation of dt_root_size_cells is wrong.
  4521.  
  4522. WARNING: drivers/built-in.o(.text+0xe192c): Section mismatch in reference from the function dt_scan_memory.part.4() to the variable .init.data:dt_root_addr_cells
  4523. The function dt_scan_memory.part.4() references
  4524. the variable __initdata dt_root_addr_cells.
  4525. This is often because dt_scan_memory.part.4 lacks a __initdata
  4526. annotation or the annotation of dt_root_addr_cells is wrong.
  4527.  
  4528. WARNING: drivers/built-in.o(.text+0xe1930): Section mismatch in reference from the function dt_scan_memory.part.4() to the variable .init.data:dt_root_size_cells
  4529. The function dt_scan_memory.part.4() references
  4530. the variable __initdata dt_root_size_cells.
  4531. This is often because dt_scan_memory.part.4 lacks a __initdata
  4532. annotation or the annotation of dt_root_size_cells is wrong.
  4533.  
  4534. WARNING: drivers/built-in.o(.text+0xe193c): Section mismatch in reference from the function dt_scan_memory.part.4() to the function .init.text:dt_mem_next_cell()
  4535. The function dt_scan_memory.part.4() references
  4536. the function __init dt_mem_next_cell().
  4537. This is often because dt_scan_memory.part.4 lacks a __init
  4538. annotation or the annotation of dt_mem_next_cell is wrong.
  4539.  
  4540. WARNING: drivers/built-in.o(.text+0xe194c): Section mismatch in reference from the function dt_scan_memory.part.4() to the function .init.text:dt_mem_next_cell()
  4541. The function dt_scan_memory.part.4() references
  4542. the function __init dt_mem_next_cell().
  4543. This is often because dt_scan_memory.part.4 lacks a __init
  4544. annotation or the annotation of dt_mem_next_cell is wrong.
  4545.  
  4546. WARNING: drivers/built-in.o(.text+0xe1990): Section mismatch in reference from the function dt_scan_memory.part.4() to the function .init.text:of_get_flat_dt_prop()
  4547. The function dt_scan_memory.part.4() references
  4548. the function __init of_get_flat_dt_prop().
  4549. This is often because dt_scan_memory.part.4 lacks a __init
  4550. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4551.  
  4552. WARNING: drivers/built-in.o(.text+0xe1a14): Section mismatch in reference from the function dt_scan_memory.part.4() to the function .init.text:of_get_flat_dt_prop()
  4553. The function dt_scan_memory.part.4() references
  4554. the function __init of_get_flat_dt_prop().
  4555. This is often because dt_scan_memory.part.4 lacks a __init
  4556. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4557.  
  4558. WARNING: drivers/built-in.o(.text+0xe1aac): Section mismatch in reference from the function dt_scan_memory.part.4() to the function .init.text:of_get_flat_dt_prop()
  4559. The function dt_scan_memory.part.4() references
  4560. the function __init of_get_flat_dt_prop().
  4561. This is often because dt_scan_memory.part.4 lacks a __init
  4562. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4563.  
  4564. WARNING: drivers/built-in.o(.text+0xe1ad0): Section mismatch in reference from the function dt_scan_memory.part.4() to the function .init.text:of_get_flat_dt_prop()
  4565. The function dt_scan_memory.part.4() references
  4566. the function __init of_get_flat_dt_prop().
  4567. This is often because dt_scan_memory.part.4 lacks a __init
  4568. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4569.  
  4570. WARNING: drivers/built-in.o(.text+0xe1c48): Section mismatch in reference from the function dt_scan_memory() to the function .init.text:of_get_flat_dt_prop()
  4571. The function dt_scan_memory() references
  4572. the function __init of_get_flat_dt_prop().
  4573. This is often because dt_scan_memory lacks a __init
  4574. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4575.  
  4576. WARNING: drivers/built-in.o(.text+0xe2188): Section mismatch in reference from the variable $x to the function .init.text:of_get_flat_dt_prop()
  4577. The function $x() references
  4578. the function __init of_get_flat_dt_prop().
  4579. This is often because $x lacks a __init
  4580. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4581.  
  4582. WARNING: drivers/built-in.o(.text+0xe21b4): Section mismatch in reference from the variable $x to the function .init.text:of_get_flat_dt_prop()
  4583. The function $x() references
  4584. the function __init of_get_flat_dt_prop().
  4585. This is often because $x lacks a __init
  4586. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4587.  
  4588. WARNING: drivers/built-in.o(.text+0xe21c4): Section mismatch in reference from the variable $x to the variable .init.data:dt_root_addr_cells
  4589. The function $x() references
  4590. the variable __initdata dt_root_addr_cells.
  4591. This is often because $x lacks a __initdata
  4592. annotation or the annotation of dt_root_addr_cells is wrong.
  4593.  
  4594. WARNING: drivers/built-in.o(.text+0xe21c8): Section mismatch in reference from the variable $x to the variable .init.data:dt_root_size_cells
  4595. The function $x() references
  4596. the variable __initdata dt_root_size_cells.
  4597. This is often because $x lacks a __initdata
  4598. annotation or the annotation of dt_root_size_cells is wrong.
  4599.  
  4600. WARNING: drivers/built-in.o(.text+0xe21d4): Section mismatch in reference from the variable $x to the variable .init.data:dt_root_addr_cells
  4601. The function $x() references
  4602. the variable __initdata dt_root_addr_cells.
  4603. This is often because $x lacks a __initdata
  4604. annotation or the annotation of dt_root_addr_cells is wrong.
  4605.  
  4606. WARNING: drivers/built-in.o(.text+0xe21dc): Section mismatch in reference from the variable $x to the variable .init.data:dt_root_size_cells
  4607. The function $x() references
  4608. the variable __initdata dt_root_size_cells.
  4609. This is often because $x lacks a __initdata
  4610. annotation or the annotation of dt_root_size_cells is wrong.
  4611.  
  4612. WARNING: drivers/built-in.o(.text+0xe2208): Section mismatch in reference from the variable $x to the function .init.text:dt_mem_next_cell()
  4613. The function $x() references
  4614. the function __init dt_mem_next_cell().
  4615. This is often because $x lacks a __init
  4616. annotation or the annotation of dt_mem_next_cell is wrong.
  4617.  
  4618. WARNING: drivers/built-in.o(.text+0xe2214): Section mismatch in reference from the variable $x to the function .init.text:dt_mem_next_cell()
  4619. The function $x() references
  4620. the function __init dt_mem_next_cell().
  4621. This is often because $x lacks a __init
  4622. annotation or the annotation of dt_mem_next_cell is wrong.
  4623.  
  4624. WARNING: drivers/built-in.o(.text+0xe2260): Section mismatch in reference from the variable $x to the function .init.text:of_get_flat_dt_prop()
  4625. The function $x() references
  4626. the function __init of_get_flat_dt_prop().
  4627. This is often because $x lacks a __init
  4628. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4629.  
  4630. WARNING: drivers/built-in.o(.text+0xe2308): Section mismatch in reference from the function get_max_DRAM_size() to the variable .init.text:$x
  4631. The function get_max_DRAM_size() references
  4632. the variable __init $x.
  4633. This is often because get_max_DRAM_size lacks a __init
  4634. annotation or the annotation of $x is wrong.
  4635.  
  4636. WARNING: drivers/built-in.o(.text+0xe234c): Section mismatch in reference from the function get_memory_size() to the variable .init.text:$x
  4637. The function get_memory_size() references
  4638. the variable __init $x.
  4639. This is often because get_memory_size lacks a __init
  4640. annotation or the annotation of $x is wrong.
  4641.  
  4642. WARNING: drivers/built-in.o(.text+0xe3f74): Section mismatch in reference from the function dt_scan_memory() to the function .init.text:of_get_flat_dt_prop()
  4643. The function dt_scan_memory() references
  4644. the function __init of_get_flat_dt_prop().
  4645. This is often because dt_scan_memory lacks a __init
  4646. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4647.  
  4648. WARNING: drivers/built-in.o(.text+0xe3fa0): Section mismatch in reference from the function dt_scan_memory() to the function .init.text:of_get_flat_dt_prop()
  4649. The function dt_scan_memory() references
  4650. the function __init of_get_flat_dt_prop().
  4651. This is often because dt_scan_memory lacks a __init
  4652. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4653.  
  4654. WARNING: drivers/built-in.o(.text+0xe3fb0): Section mismatch in reference from the function dt_scan_memory() to the variable .init.data:dt_root_addr_cells
  4655. The function dt_scan_memory() references
  4656. the variable __initdata dt_root_addr_cells.
  4657. This is often because dt_scan_memory lacks a __initdata
  4658. annotation or the annotation of dt_root_addr_cells is wrong.
  4659.  
  4660. WARNING: drivers/built-in.o(.text+0xe3fb4): Section mismatch in reference from the function dt_scan_memory() to the variable .init.data:dt_root_size_cells
  4661. The function dt_scan_memory() references
  4662. the variable __initdata dt_root_size_cells.
  4663. This is often because dt_scan_memory lacks a __initdata
  4664. annotation or the annotation of dt_root_size_cells is wrong.
  4665.  
  4666. WARNING: drivers/built-in.o(.text+0xe3fb8): Section mismatch in reference from the function dt_scan_memory() to the variable .init.data:dt_root_size_cells
  4667. The function dt_scan_memory() references
  4668. the variable __initdata dt_root_size_cells.
  4669. This is often because dt_scan_memory lacks a __initdata
  4670. annotation or the annotation of dt_root_size_cells is wrong.
  4671.  
  4672. WARNING: drivers/built-in.o(.text+0xe3fbc): Section mismatch in reference from the function dt_scan_memory() to the variable .init.data:dt_root_addr_cells
  4673. The function dt_scan_memory() references
  4674. the variable __initdata dt_root_addr_cells.
  4675. This is often because dt_scan_memory lacks a __initdata
  4676. annotation or the annotation of dt_root_addr_cells is wrong.
  4677.  
  4678. WARNING: drivers/built-in.o(.text+0xe3fc4): Section mismatch in reference from the function dt_scan_memory() to the variable .init.data:dt_root_addr_cells
  4679. The function dt_scan_memory() references
  4680. the variable __initdata dt_root_addr_cells.
  4681. This is often because dt_scan_memory lacks a __initdata
  4682. annotation or the annotation of dt_root_addr_cells is wrong.
  4683.  
  4684. WARNING: drivers/built-in.o(.text+0xe3fc8): Section mismatch in reference from the function dt_scan_memory() to the variable .init.data:dt_root_size_cells
  4685. The function dt_scan_memory() references
  4686. the variable __initdata dt_root_size_cells.
  4687. This is often because dt_scan_memory lacks a __initdata
  4688. annotation or the annotation of dt_root_size_cells is wrong.
  4689.  
  4690. WARNING: drivers/built-in.o(.text+0xe3fe8): Section mismatch in reference from the function dt_scan_memory() to the function .init.text:dt_mem_next_cell()
  4691. The function dt_scan_memory() references
  4692. the function __init dt_mem_next_cell().
  4693. This is often because dt_scan_memory lacks a __init
  4694. annotation or the annotation of dt_mem_next_cell is wrong.
  4695.  
  4696. WARNING: drivers/built-in.o(.text+0xe3ff4): Section mismatch in reference from the function dt_scan_memory() to the function .init.text:dt_mem_next_cell()
  4697. The function dt_scan_memory() references
  4698. the function __init dt_mem_next_cell().
  4699. This is often because dt_scan_memory lacks a __init
  4700. annotation or the annotation of dt_mem_next_cell is wrong.
  4701.  
  4702. WARNING: drivers/built-in.o(.text+0xe428c): Section mismatch in reference from the function atf_get_from_dt() to the function .init.text:of_scan_flat_dt()
  4703. The function atf_get_from_dt() references
  4704. the function __init of_scan_flat_dt().
  4705. This is often because atf_get_from_dt lacks a __init
  4706. annotation or the annotation of of_scan_flat_dt is wrong.
  4707.  
  4708. WARNING: drivers/built-in.o(.text+0xe42c8): Section mismatch in reference from the function atf_get_from_dt() to the function .init.text:of_get_flat_dt_prop()
  4709. The function atf_get_from_dt() references
  4710. the function __init of_get_flat_dt_prop().
  4711. This is often because atf_get_from_dt lacks a __init
  4712. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4713.  
  4714. target C: libcrypto_static <= external/openssl/crypto/evp/e_rc4.c
  4715. external/openssl/crypto/evp/e_rc2.c: In function 'rc2_magic_to_meth':
  4716. external/openssl/crypto/evp/e_rc2.c:163:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4717. EVPerr(EVP_F_RC2_MAGIC_TO_METH,EVP_R_UNSUPPORTED_KEY_SIZE);
  4718. ^
  4719. target C: libcrypto_static <= external/openssl/crypto/evp/e_rc4_hmac_md5.c
  4720. WARNING: drivers/built-in.o(.text+0x21a898): Section mismatch in reference from the function ccci_util_fo_init() to the variable .init.text:$x
  4721. The function ccci_util_fo_init() references
  4722. the variable __init $x.
  4723. This is often because ccci_util_fo_init lacks a __init
  4724. annotation or the annotation of $x is wrong.
  4725.  
  4726. WARNING: drivers/built-in.o(.text+0x21a8a0): Section mismatch in reference from the function ccci_util_fo_init() to the variable .init.text:$x
  4727. The function ccci_util_fo_init() references
  4728. the variable __init $x.
  4729. This is often because ccci_util_fo_init lacks a __init
  4730. annotation or the annotation of $x is wrong.
  4731.  
  4732. WARNING: drivers/built-in.o(.text+0x21a8a4): Section mismatch in reference from the function ccci_util_fo_init() to the function .init.text:of_scan_flat_dt()
  4733. The function ccci_util_fo_init() references
  4734. the function __init of_scan_flat_dt().
  4735. This is often because ccci_util_fo_init lacks a __init
  4736. annotation or the annotation of of_scan_flat_dt is wrong.
  4737.  
  4738. WARNING: drivers/built-in.o(.text+0x21a8c0): Section mismatch in reference from the function ccci_util_fo_init() to the function .init.text:of_get_flat_dt_prop()
  4739. The function ccci_util_fo_init() references
  4740. the function __init of_get_flat_dt_prop().
  4741. This is often because ccci_util_fo_init lacks a __init
  4742. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4743.  
  4744. target C: libcrypto_static <= external/openssl/crypto/evp/e_rc5.c
  4745. WARNING: drivers/built-in.o(.text+0x2c7ad4): Section mismatch in reference from the function __parse_tag_videolfb_extra() to the function .init.text:of_get_flat_dt_prop()
  4746. The function __parse_tag_videolfb_extra() references
  4747. the function __init of_get_flat_dt_prop().
  4748. This is often because __parse_tag_videolfb_extra lacks a __init
  4749. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4750.  
  4751. WARNING: drivers/built-in.o(.text+0x2c7af4): Section mismatch in reference from the function __parse_tag_videolfb_extra() to the function .init.text:of_get_flat_dt_prop()
  4752. The function __parse_tag_videolfb_extra() references
  4753. the function __init of_get_flat_dt_prop().
  4754. This is often because __parse_tag_videolfb_extra lacks a __init
  4755. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4756.  
  4757. WARNING: drivers/built-in.o(.text+0x2c7b24): Section mismatch in reference from the function __parse_tag_videolfb_extra() to the function .init.text:of_get_flat_dt_prop()
  4758. The function __parse_tag_videolfb_extra() references
  4759. the function __init of_get_flat_dt_prop().
  4760. This is often because __parse_tag_videolfb_extra lacks a __init
  4761. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4762.  
  4763. WARNING: drivers/built-in.o(.text+0x2c7b48): Section mismatch in reference from the function __parse_tag_videolfb_extra() to the function .init.text:of_get_flat_dt_prop()
  4764. The function __parse_tag_videolfb_extra() references
  4765. the function __init of_get_flat_dt_prop().
  4766. This is often because __parse_tag_videolfb_extra lacks a __init
  4767. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4768.  
  4769. WARNING: drivers/built-in.o(.text+0x2c7b74): Section mismatch in reference from the function __parse_tag_videolfb_extra() to the function .init.text:of_get_flat_dt_prop()
  4770. The function __parse_tag_videolfb_extra() references
  4771. the function __init of_get_flat_dt_prop().
  4772. This is often because __parse_tag_videolfb_extra lacks a __init
  4773. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4774.  
  4775. WARNING: drivers/built-in.o(.text+0x2c7b98): Section mismatch in reference from the function __parse_tag_videolfb_extra() to the function .init.text:of_get_flat_dt_prop()
  4776. The function __parse_tag_videolfb_extra() references
  4777. the function __init of_get_flat_dt_prop().
  4778. This is often because __parse_tag_videolfb_extra lacks a __init
  4779. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4780.  
  4781. WARNING: drivers/built-in.o(.text+0x2c7bb0): Section mismatch in reference from the function __parse_tag_videolfb_extra() to the function .init.text:of_get_flat_dt_prop()
  4782. The function __parse_tag_videolfb_extra() references
  4783. the function __init of_get_flat_dt_prop().
  4784. This is often because __parse_tag_videolfb_extra lacks a __init
  4785. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4786.  
  4787. WARNING: drivers/built-in.o(.text+0x2c7c5c): Section mismatch in reference from the function __parse_tag_videolfb() to the function .init.text:of_get_flat_dt_prop()
  4788. The function __parse_tag_videolfb() references
  4789. the function __init of_get_flat_dt_prop().
  4790. This is often because __parse_tag_videolfb lacks a __init
  4791. annotation or the annotation of of_get_flat_dt_prop is wrong.
  4792.  
  4793. WARNING: drivers/built-in.o(.text+0x2c7d4c): Section mismatch in reference from the function _parse_tag_videolfb() to the function .init.text:of_scan_flat_dt()
  4794. The function _parse_tag_videolfb() references
  4795. the function __init of_scan_flat_dt().
  4796. This is often because _parse_tag_videolfb lacks a __init
  4797. annotation or the annotation of of_scan_flat_dt is wrong.
  4798.  
  4799. WARNING: drivers/built-in.o(.text+0x2e5e30): Section mismatch in reference from the function wdt_arch_reset() to the function .init.text:mt_pwrap_hal_init()
  4800. The function wdt_arch_reset() references
  4801. the function __init mt_pwrap_hal_init().
  4802. This is often because wdt_arch_reset lacks a __init
  4803. annotation or the annotation of mt_pwrap_hal_init is wrong.
  4804.  
  4805. WARNING: drivers/built-in.o(.text+0x2e5ec4): Section mismatch in reference from the function wdt_arch_reset() to the function .init.text:mt_pwrap_hal_init()
  4806. The function wdt_arch_reset() references
  4807. the function __init mt_pwrap_hal_init().
  4808. This is often because wdt_arch_reset lacks a __init
  4809. annotation or the annotation of mt_pwrap_hal_init is wrong.
  4810.  
  4811. target C: libcrypto_static <= external/openssl/crypto/evp/e_xcbc_d.c
  4812. target C: libcrypto_static <= external/openssl/crypto/evp/encode.c
  4813. target C: libcrypto_static <= external/openssl/crypto/evp/evp_acnf.c
  4814. WARNING: drivers/built-in.o(.data+0x4f788): Section mismatch in reference from the variable mt65xx_leds_driver to the variable .init.text:$x
  4815. The variable mt65xx_leds_driver references
  4816. the variable __init $x
  4817. If the reference is valid then annotate the
  4818. variable with __init* or __refdata (see linux/init.h) or name the variable:
  4819. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  4820.  
  4821. WARNING: drivers/built-in.o(.data+0x54b90): Section mismatch in reference from the variable mt_spi_driver to the variable .init.text:$x
  4822. The variable mt_spi_driver references
  4823. the variable __init $x
  4824. If the reference is valid then annotate the
  4825. variable with __init* or __refdata (see linux/init.h) or name the variable:
  4826. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  4827.  
  4828. WARNING: drivers/built-in.o(.data+0x54cf0): Section mismatch in reference from the variable spi_test_driver to the variable .init.text:$x
  4829. The variable spi_test_driver references
  4830. the variable __init $x
  4831. If the reference is valid then annotate the
  4832. variable with __init* or __refdata (see linux/init.h) or name the variable:
  4833. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  4834.  
  4835. WARNING: drivers/built-in.o(.data+0x57650): Section mismatch in reference from the variable musb_driver to the function .init.text:musb_probe()
  4836. The variable musb_driver references
  4837. the function __init musb_probe()
  4838. If the reference is valid then annotate the
  4839. variable with __init* or __refdata (see linux/init.h) or name the variable:
  4840. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  4841.  
  4842. WARNING: drivers/built-in.o(.data+0x579a8): Section mismatch in reference from the variable mtu3d_config to the variable .init.data:mtu3d_cfg
  4843. The variable mtu3d_config references
  4844. the variable __initdata mtu3d_cfg
  4845. If the reference is valid then annotate the
  4846. variable with __init* or __refdata (see linux/init.h) or name the variable:
  4847. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  4848.  
  4849. target C: libcrypto_static <= external/openssl/crypto/evp/evp_cnf.c
  4850. LINK vmlinux
  4851. LD vmlinux.o
  4852. target C: libcrypto_static <= external/openssl/crypto/evp/evp_enc.c
  4853. target C: libcrypto_static <= external/openssl/crypto/evp/evp_err.c
  4854. external/openssl/crypto/evp/evp_cnf.c: In function 'alg_module_init':
  4855. external/openssl/crypto/evp/evp_cnf.c:83:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4856. EVPerr(EVP_F_ALG_MODULE_INIT, EVP_R_ERROR_LOADING_SECTION);
  4857. ^
  4858. target C: libcrypto_static <= external/openssl/crypto/evp/evp_key.c
  4859. external/openssl/crypto/evp/evp_enc.c: In function 'EVP_CipherInit_ex':
  4860. external/openssl/crypto/evp/evp_enc.c:142:5: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4861. EVPerr(EVP_F_EVP_CIPHERINIT_EX, EVP_R_INITIALIZATION_ERROR);
  4862. ^
  4863. target C: libcrypto_static <= external/openssl/crypto/evp/evp_lib.c
  4864. target C: libcrypto_static <= external/openssl/crypto/evp/evp_pbe.c
  4865. external/openssl/crypto/evp/evp_lib.c: In function 'EVP_MD_size':
  4866. external/openssl/crypto/evp/evp_lib.c:270:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4867. EVPerr(EVP_F_EVP_MD_SIZE, EVP_R_MESSAGE_DIGEST_IS_NULL);
  4868. ^
  4869. target C: libcrypto_static <= external/openssl/crypto/evp/evp_pkey.c
  4870. external/openssl/crypto/evp/evp_pbe.c: In function 'EVP_PBE_CipherInit':
  4871. external/openssl/crypto/evp/evp_pbe.c:167:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4872. EVPerr(EVP_F_EVP_PBE_CIPHERINIT,EVP_R_UNKNOWN_PBE_ALGORITHM);
  4873. ^
  4874. target C: libcrypto_static <= external/openssl/crypto/evp/m_dss.c
  4875. target C: libcrypto_static <= external/openssl/crypto/evp/m_dss1.c
  4876. external/openssl/crypto/evp/evp_pkey.c: In function 'EVP_PKCS82PKEY':
  4877. external/openssl/crypto/evp/evp_pkey.c:78:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4878. EVPerr(EVP_F_EVP_PKCS82PKEY,ERR_R_MALLOC_FAILURE);
  4879. ^
  4880. target C: libcrypto_static <= external/openssl/crypto/evp/m_ecdsa.c
  4881. target C: libcrypto_static <= external/openssl/crypto/evp/m_md4.c
  4882. target C: libcrypto_static <= external/openssl/crypto/evp/m_md5.c
  4883. target C: libcrypto_static <= external/openssl/crypto/evp/m_mdc2.c
  4884. target C: libcrypto_static <= external/openssl/crypto/evp/m_null.c
  4885. target C: libcrypto_static <= external/openssl/crypto/evp/m_sha1.c
  4886. target C: libcrypto_static <= external/openssl/crypto/evp/m_sigver.c
  4887. target C: libcrypto_static <= external/openssl/crypto/evp/m_wp.c
  4888. external/openssl/crypto/evp/m_sigver.c: In function 'do_sigver_init':
  4889. external/openssl/crypto/evp/m_sigver.c:84:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4890. EVPerr(EVP_F_DO_SIGVER_INIT, EVP_R_NO_DEFAULT_DIGEST);
  4891. ^
  4892. target C: libcrypto_static <= external/openssl/crypto/evp/names.c
  4893. target C: libcrypto_static <= external/openssl/crypto/evp/p5_crpt.c
  4894. target C: libcrypto_static <= external/openssl/crypto/evp/p5_crpt2.c
  4895. target C: libcrypto_static <= external/openssl/crypto/evp/p_dec.c
  4896. external/openssl/crypto/evp/p5_crpt.c: In function 'PKCS5_PBE_keyivgen':
  4897. external/openssl/crypto/evp/p5_crpt.c:91:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4898. EVPerr(EVP_F_PKCS5_PBE_KEYIVGEN,EVP_R_DECODE_ERROR);
  4899. ^
  4900. target C: libcrypto_static <= external/openssl/crypto/evp/p_enc.c
  4901. external/openssl/crypto/evp/p5_crpt2.c: In function 'PKCS5_v2_PBE_keyivgen':
  4902. external/openssl/crypto/evp/p5_crpt2.c:207:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4903. EVPerr(EVP_F_PKCS5_V2_PBE_KEYIVGEN,EVP_R_DECODE_ERROR);
  4904. ^
  4905. external/openssl/crypto/evp/p_dec.c: In function 'EVP_PKEY_decrypt_old':
  4906. external/openssl/crypto/evp/p_dec.c:78:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4907. EVPerr(EVP_F_EVP_PKEY_DECRYPT_OLD,EVP_R_PUBLIC_KEY_NOT_RSA);
  4908. ^
  4909. target C: libcrypto_static <= external/openssl/crypto/evp/p_lib.c
  4910. external/openssl/crypto/evp/p_enc.c: In function 'EVP_PKEY_encrypt_old':
  4911. external/openssl/crypto/evp/p_enc.c:78:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4912. EVPerr(EVP_F_EVP_PKEY_ENCRYPT_OLD,EVP_R_PUBLIC_KEY_NOT_RSA);
  4913. ^
  4914. target C: libcrypto_static <= external/openssl/crypto/evp/p_open.c
  4915. external/openssl/crypto/evp/p_lib.c: In function 'EVP_PKEY_copy_parameters':
  4916. external/openssl/crypto/evp/p_lib.c:128:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4917. EVPerr(EVP_F_EVP_PKEY_COPY_PARAMETERS,EVP_R_DIFFERENT_KEY_TYPES);
  4918. ^
  4919. target C: libcrypto_static <= external/openssl/crypto/evp/p_seal.c
  4920. target C: libcrypto_static <= external/openssl/crypto/evp/p_sign.c
  4921. external/openssl/crypto/evp/p_open.c: In function 'EVP_OpenInit':
  4922. external/openssl/crypto/evp/p_open.c:85:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4923. EVPerr(EVP_F_EVP_OPENINIT,EVP_R_PUBLIC_KEY_NOT_RSA);
  4924. ^
  4925. external/openssl/crypto/evp/p_sign.c: In function 'EVP_SignFinal':
  4926. external/openssl/crypto/evp/p_sign.c:127:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4927. EVPerr(EVP_F_EVP_SIGNFINAL,EVP_R_WRONG_PUBLIC_KEY_TYPE);
  4928. ^
  4929. target C: libcrypto_static <= external/openssl/crypto/evp/p_verify.c
  4930. target C: libcrypto_static <= external/openssl/crypto/evp/pmeth_fn.c
  4931. target C: libcrypto_static <= external/openssl/crypto/evp/pmeth_gn.c
  4932. external/openssl/crypto/evp/p_verify.c: In function 'EVP_VerifyFinal':
  4933. external/openssl/crypto/evp/p_verify.c:109:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4934. EVPerr(EVP_F_EVP_VERIFYFINAL,EVP_R_WRONG_PUBLIC_KEY_TYPE);
  4935. ^
  4936. target C: libcrypto_static <= external/openssl/crypto/evp/pmeth_lib.c
  4937. external/openssl/crypto/evp/pmeth_fn.c: In function 'EVP_PKEY_sign_init':
  4938. external/openssl/crypto/evp/pmeth_fn.c:87:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4939. EVPerr(EVP_F_EVP_PKEY_SIGN_INIT,
  4940. ^
  4941. external/openssl/crypto/evp/pmeth_gn.c: In function 'EVP_PKEY_paramgen_init':
  4942. external/openssl/crypto/evp/pmeth_gn.c:72:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4943. EVPerr(EVP_F_EVP_PKEY_PARAMGEN_INIT,
  4944. ^
  4945. target C: libcrypto_static <= external/openssl/crypto/ex_data.c
  4946. external/openssl/crypto/evp/pmeth_lib.c: In function 'int_ctx_new':
  4947. external/openssl/crypto/evp/pmeth_lib.c:145:4: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4948. EVPerr(EVP_F_INT_CTX_NEW,ERR_R_ENGINE_LIB);
  4949. ^
  4950. external/openssl/crypto/ex_data.c: In function 'def_get_class':
  4951. external/openssl/crypto/ex_data.c:327:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  4952. CRYPTOerr(CRYPTO_F_DEF_GET_CLASS,ERR_R_MALLOC_FAILURE);
  4953. ^
  4954. target C: libcrypto_static <= external/openssl/crypto/hmac/hm_ameth.c
  4955. target C: libcrypto_static <= external/openssl/crypto/hmac/hm_pmeth.c
  4956. target C: libcrypto_static <= external/openssl/crypto/hmac/hmac.c
  4957. target C: libcrypto_static <= external/openssl/crypto/krb5/krb5_asn.c
  4958. target C: libcrypto_static <= external/openssl/crypto/lhash/lh_stats.c
  4959. target C: libcrypto_static <= external/openssl/crypto/lhash/lhash.c
  4960. target C: libcrypto_static <= external/openssl/crypto/md4/md4_dgst.c
  4961. target C: libcrypto_static <= external/openssl/crypto/md4/md4_one.c
  4962. target C: libcrypto_static <= external/openssl/crypto/md5/md5_dgst.c
  4963. target C: libcrypto_static <= external/openssl/crypto/md5/md5_one.c
  4964. target C: libcrypto_static <= external/openssl/crypto/mem.c
  4965. target C: libcrypto_static <= external/openssl/crypto/mem_clr.c
  4966. target C: libcrypto_static <= external/openssl/crypto/mem_dbg.c
  4967. target C: libcrypto_static <= external/openssl/crypto/modes/cbc128.c
  4968. target C: libcrypto_static <= external/openssl/crypto/modes/ccm128.c
  4969. target C: libcrypto_static <= external/openssl/crypto/modes/cfb128.c
  4970. MODPOST vmlinux.o
  4971. target C: libcrypto_static <= external/openssl/crypto/modes/ctr128.c
  4972. WARNING: vmlinux.o(.text+0x33103c): Section mismatch in reference from the variable $x to the function .init.text:hook_fault_code()
  4973. The function $x() references
  4974. the function __init hook_fault_code().
  4975. This is often because $x lacks a __init
  4976. annotation or the annotation of hook_fault_code is wrong.
  4977.  
  4978. WARNING: vmlinux.o(.text+0x37f9ec): Section mismatch in reference from the function hps_algo_hmp() to the function .cpuinit.text:cpu_up()
  4979. The function hps_algo_hmp() references
  4980. the function __cpuinit cpu_up().
  4981. This is often because hps_algo_hmp lacks a __cpuinit
  4982. annotation or the annotation of cpu_up is wrong.
  4983.  
  4984. WARNING: vmlinux.o(.text+0x37fbe4): Section mismatch in reference from the function hps_algo_hmp() to the function .cpuinit.text:cpu_up()
  4985. The function hps_algo_hmp() references
  4986. the function __cpuinit cpu_up().
  4987. This is often because hps_algo_hmp lacks a __cpuinit
  4988. annotation or the annotation of cpu_up is wrong.
  4989.  
  4990. WARNING: vmlinux.o(.text+0x380150): Section mismatch in reference from the function hps_algo_hmp() to the function .cpuinit.text:cpu_up()
  4991. The function hps_algo_hmp() references
  4992. the function __cpuinit cpu_up().
  4993. This is often because hps_algo_hmp lacks a __cpuinit
  4994. annotation or the annotation of cpu_up is wrong.
  4995.  
  4996. WARNING: vmlinux.o(.text+0x380364): Section mismatch in reference from the function hps_algo_hmp() to the function .cpuinit.text:cpu_up()
  4997. The function hps_algo_hmp() references
  4998. the function __cpuinit cpu_up().
  4999. This is often because hps_algo_hmp lacks a __cpuinit
  5000. annotation or the annotation of cpu_up is wrong.
  5001.  
  5002. WARNING: vmlinux.o(.text+0x3803a0): Section mismatch in reference from the function hps_algo_hmp() to the function .cpuinit.text:cpu_up()
  5003. The function hps_algo_hmp() references
  5004. the function __cpuinit cpu_up().
  5005. This is often because hps_algo_hmp lacks a __cpuinit
  5006. annotation or the annotation of cpu_up is wrong.
  5007.  
  5008. WARNING: vmlinux.o(.text+0x3803dc): Section mismatch in reference from the function hps_algo_hmp() to the function .cpuinit.text:cpu_up()
  5009. The function hps_algo_hmp() references
  5010. the function __cpuinit cpu_up().
  5011. This is often because hps_algo_hmp lacks a __cpuinit
  5012. annotation or the annotation of cpu_up is wrong.
  5013.  
  5014. WARNING: vmlinux.o(.text+0x380418): Section mismatch in reference from the function hps_algo_hmp() to the function .cpuinit.text:cpu_up()
  5015. The function hps_algo_hmp() references
  5016. the function __cpuinit cpu_up().
  5017. This is often because hps_algo_hmp lacks a __cpuinit
  5018. annotation or the annotation of cpu_up is wrong.
  5019.  
  5020. WARNING: vmlinux.o(.text+0x380870): Section mismatch in reference from the function hps_algo_smp() to the function .cpuinit.text:cpu_up()
  5021. The function hps_algo_smp() references
  5022. the function __cpuinit cpu_up().
  5023. This is often because hps_algo_smp lacks a __cpuinit
  5024. annotation or the annotation of cpu_up is wrong.
  5025.  
  5026. WARNING: vmlinux.o(.text+0x380a28): Section mismatch in reference from the function hps_algo_smp() to the function .cpuinit.text:cpu_up()
  5027. The function hps_algo_smp() references
  5028. the function __cpuinit cpu_up().
  5029. This is often because hps_algo_smp lacks a __cpuinit
  5030. annotation or the annotation of cpu_up is wrong.
  5031.  
  5032. WARNING: vmlinux.o(.text+0x380e90): Section mismatch in reference from the function hps_algo_smp() to the function .cpuinit.text:cpu_up()
  5033. The function hps_algo_smp() references
  5034. the function __cpuinit cpu_up().
  5035. This is often because hps_algo_smp lacks a __cpuinit
  5036. annotation or the annotation of cpu_up is wrong.
  5037.  
  5038. WARNING: vmlinux.o(.text+0x397c70): Section mismatch in reference from the function init_boot_common.part.1() to the function .init.text:dt_get_boot_common()
  5039. The function init_boot_common.part.1() references
  5040. the function __init dt_get_boot_common().
  5041. This is often because init_boot_common.part.1 lacks a __init
  5042. annotation or the annotation of dt_get_boot_common is wrong.
  5043.  
  5044. WARNING: vmlinux.o(.text+0x397c78): Section mismatch in reference from the function init_boot_common.part.1() to the function .init.text:dt_get_boot_common()
  5045. The function init_boot_common.part.1() references
  5046. the function __init dt_get_boot_common().
  5047. This is often because init_boot_common.part.1 lacks a __init
  5048. annotation or the annotation of dt_get_boot_common is wrong.
  5049.  
  5050. WARNING: vmlinux.o(.text+0x397c7c): Section mismatch in reference from the function init_boot_common.part.1() to the function .init.text:of_scan_flat_dt()
  5051. The function init_boot_common.part.1() references
  5052. the function __init of_scan_flat_dt().
  5053. This is often because init_boot_common.part.1 lacks a __init
  5054. annotation or the annotation of of_scan_flat_dt is wrong.
  5055.  
  5056. WARNING: vmlinux.o(.text+0x398094): Section mismatch in reference from the function init_boot_reason.part.1() to the function .init.text:dt_get_boot_reason()
  5057. The function init_boot_reason.part.1() references
  5058. the function __init dt_get_boot_reason().
  5059. This is often because init_boot_reason.part.1 lacks a __init
  5060. annotation or the annotation of dt_get_boot_reason is wrong.
  5061.  
  5062. WARNING: vmlinux.o(.text+0x39809c): Section mismatch in reference from the function init_boot_reason.part.1() to the function .init.text:dt_get_boot_reason()
  5063. The function init_boot_reason.part.1() references
  5064. the function __init dt_get_boot_reason().
  5065. This is often because init_boot_reason.part.1 lacks a __init
  5066. annotation or the annotation of dt_get_boot_reason is wrong.
  5067.  
  5068. WARNING: vmlinux.o(.text+0x3980a0): Section mismatch in reference from the function init_boot_reason.part.1() to the function .init.text:of_scan_flat_dt()
  5069. The function init_boot_reason.part.1() references
  5070. the function __init of_scan_flat_dt().
  5071. This is often because init_boot_reason.part.1 lacks a __init
  5072. annotation or the annotation of of_scan_flat_dt is wrong.
  5073.  
  5074. WARNING: vmlinux.o(.text+0x3a2be0): Section mismatch in reference from the function dt_scan_memory.part.4() to the function .init.text:of_get_flat_dt_prop()
  5075. The function dt_scan_memory.part.4() references
  5076. the function __init of_get_flat_dt_prop().
  5077. This is often because dt_scan_memory.part.4 lacks a __init
  5078. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5079.  
  5080. WARNING: vmlinux.o(.text+0x3a2c14): Section mismatch in reference from the function dt_scan_memory.part.4() to the variable .init.data:dt_root_addr_cells
  5081. The function dt_scan_memory.part.4() references
  5082. the variable __initdata dt_root_addr_cells.
  5083. This is often because dt_scan_memory.part.4 lacks a __initdata
  5084. annotation or the annotation of dt_root_addr_cells is wrong.
  5085.  
  5086. WARNING: vmlinux.o(.text+0x3a2c18): Section mismatch in reference from the function dt_scan_memory.part.4() to the variable .init.data:dt_root_size_cells
  5087. The function dt_scan_memory.part.4() references
  5088. the variable __initdata dt_root_size_cells.
  5089. This is often because dt_scan_memory.part.4 lacks a __initdata
  5090. annotation or the annotation of dt_root_size_cells is wrong.
  5091.  
  5092. WARNING: vmlinux.o(.text+0x3a2c2c): Section mismatch in reference from the function dt_scan_memory.part.4() to the variable .init.data:dt_root_addr_cells
  5093. The function dt_scan_memory.part.4() references
  5094. the variable __initdata dt_root_addr_cells.
  5095. This is often because dt_scan_memory.part.4 lacks a __initdata
  5096. annotation or the annotation of dt_root_addr_cells is wrong.
  5097.  
  5098. WARNING: vmlinux.o(.text+0x3a2c30): Section mismatch in reference from the function dt_scan_memory.part.4() to the variable .init.data:dt_root_size_cells
  5099. The function dt_scan_memory.part.4() references
  5100. the variable __initdata dt_root_size_cells.
  5101. This is often because dt_scan_memory.part.4 lacks a __initdata
  5102. annotation or the annotation of dt_root_size_cells is wrong.
  5103.  
  5104. WARNING: vmlinux.o(.text+0x3a2c3c): Section mismatch in reference from the function dt_scan_memory.part.4() to the function .init.text:dt_mem_next_cell()
  5105. The function dt_scan_memory.part.4() references
  5106. the function __init dt_mem_next_cell().
  5107. This is often because dt_scan_memory.part.4 lacks a __init
  5108. annotation or the annotation of dt_mem_next_cell is wrong.
  5109.  
  5110. WARNING: vmlinux.o(.text+0x3a2c4c): Section mismatch in reference from the function dt_scan_memory.part.4() to the function .init.text:dt_mem_next_cell()
  5111. The function dt_scan_memory.part.4() references
  5112. the function __init dt_mem_next_cell().
  5113. This is often because dt_scan_memory.part.4 lacks a __init
  5114. annotation or the annotation of dt_mem_next_cell is wrong.
  5115.  
  5116. WARNING: vmlinux.o(.text+0x3a2c90): Section mismatch in reference from the function dt_scan_memory.part.4() to the function .init.text:of_get_flat_dt_prop()
  5117. The function dt_scan_memory.part.4() references
  5118. the function __init of_get_flat_dt_prop().
  5119. This is often because dt_scan_memory.part.4 lacks a __init
  5120. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5121.  
  5122. WARNING: vmlinux.o(.text+0x3a2d14): Section mismatch in reference from the function dt_scan_memory.part.4() to the function .init.text:of_get_flat_dt_prop()
  5123. The function dt_scan_memory.part.4() references
  5124. the function __init of_get_flat_dt_prop().
  5125. This is often because dt_scan_memory.part.4 lacks a __init
  5126. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5127.  
  5128. WARNING: vmlinux.o(.text+0x3a2dac): Section mismatch in reference from the function dt_scan_memory.part.4() to the function .init.text:of_get_flat_dt_prop()
  5129. The function dt_scan_memory.part.4() references
  5130. the function __init of_get_flat_dt_prop().
  5131. This is often because dt_scan_memory.part.4 lacks a __init
  5132. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5133.  
  5134. WARNING: vmlinux.o(.text+0x3a2dd0): Section mismatch in reference from the function dt_scan_memory.part.4() to the function .init.text:of_get_flat_dt_prop()
  5135. The function dt_scan_memory.part.4() references
  5136. the function __init of_get_flat_dt_prop().
  5137. This is often because dt_scan_memory.part.4 lacks a __init
  5138. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5139.  
  5140. WARNING: vmlinux.o(.text+0x3a2f48): Section mismatch in reference from the function dt_scan_memory() to the function .init.text:of_get_flat_dt_prop()
  5141. The function dt_scan_memory() references
  5142. the function __init of_get_flat_dt_prop().
  5143. This is often because dt_scan_memory lacks a __init
  5144. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5145.  
  5146. WARNING: vmlinux.o(.text+0x3a3488): Section mismatch in reference from the variable $x to the function .init.text:of_get_flat_dt_prop()
  5147. The function $x() references
  5148. the function __init of_get_flat_dt_prop().
  5149. This is often because $x lacks a __init
  5150. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5151.  
  5152. target C: libcrypto_static <= external/openssl/crypto/modes/gcm128.c
  5153. WARNING: vmlinux.o(.text+0x3a34b4): Section mismatch in reference from the variable $x to the function .init.text:of_get_flat_dt_prop()
  5154. The function $x() references
  5155. the function __init of_get_flat_dt_prop().
  5156. This is often because $x lacks a __init
  5157. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5158.  
  5159. WARNING: vmlinux.o(.text+0x3a34c4): Section mismatch in reference from the variable $x to the variable .init.data:dt_root_addr_cells
  5160. The function $x() references
  5161. the variable __initdata dt_root_addr_cells.
  5162. This is often because $x lacks a __initdata
  5163. annotation or the annotation of dt_root_addr_cells is wrong.
  5164.  
  5165. WARNING: vmlinux.o(.text+0x3a34c8): Section mismatch in reference from the variable $x to the variable .init.data:dt_root_size_cells
  5166. The function $x() references
  5167. the variable __initdata dt_root_size_cells.
  5168. This is often because $x lacks a __initdata
  5169. annotation or the annotation of dt_root_size_cells is wrong.
  5170.  
  5171. WARNING: vmlinux.o(.text+0x3a34d4): Section mismatch in reference from the variable $x to the variable .init.data:dt_root_addr_cells
  5172. The function $x() references
  5173. the variable __initdata dt_root_addr_cells.
  5174. This is often because $x lacks a __initdata
  5175. annotation or the annotation of dt_root_addr_cells is wrong.
  5176.  
  5177. WARNING: vmlinux.o(.text+0x3a34dc): Section mismatch in reference from the variable $x to the variable .init.data:dt_root_size_cells
  5178. The function $x() references
  5179. the variable __initdata dt_root_size_cells.
  5180. This is often because $x lacks a __initdata
  5181. annotation or the annotation of dt_root_size_cells is wrong.
  5182.  
  5183. WARNING: vmlinux.o(.text+0x3a3508): Section mismatch in reference from the variable $x to the function .init.text:dt_mem_next_cell()
  5184. The function $x() references
  5185. the function __init dt_mem_next_cell().
  5186. This is often because $x lacks a __init
  5187. annotation or the annotation of dt_mem_next_cell is wrong.
  5188.  
  5189. WARNING: vmlinux.o(.text+0x3a3514): Section mismatch in reference from the variable $x to the function .init.text:dt_mem_next_cell()
  5190. The function $x() references
  5191. the function __init dt_mem_next_cell().
  5192. This is often because $x lacks a __init
  5193. annotation or the annotation of dt_mem_next_cell is wrong.
  5194.  
  5195. WARNING: vmlinux.o(.text+0x3a3560): Section mismatch in reference from the variable $x to the function .init.text:of_get_flat_dt_prop()
  5196. The function $x() references
  5197. the function __init of_get_flat_dt_prop().
  5198. This is often because $x lacks a __init
  5199. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5200.  
  5201. WARNING: vmlinux.o(.text+0x3a3608): Section mismatch in reference from the function get_max_DRAM_size() to the variable .init.text:$x
  5202. The function get_max_DRAM_size() references
  5203. the variable __init $x.
  5204. This is often because get_max_DRAM_size lacks a __init
  5205. annotation or the annotation of $x is wrong.
  5206.  
  5207. WARNING: vmlinux.o(.text+0x3a364c): Section mismatch in reference from the function get_memory_size() to the variable .init.text:$x
  5208. The function get_memory_size() references
  5209. the variable __init $x.
  5210. This is often because get_memory_size lacks a __init
  5211. annotation or the annotation of $x is wrong.
  5212.  
  5213. WARNING: vmlinux.o(.text+0x3a5274): Section mismatch in reference from the function dt_scan_memory() to the function .init.text:of_get_flat_dt_prop()
  5214. The function dt_scan_memory() references
  5215. the function __init of_get_flat_dt_prop().
  5216. This is often because dt_scan_memory lacks a __init
  5217. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5218.  
  5219. WARNING: vmlinux.o(.text+0x3a52a0): Section mismatch in reference from the function dt_scan_memory() to the function .init.text:of_get_flat_dt_prop()
  5220. The function dt_scan_memory() references
  5221. the function __init of_get_flat_dt_prop().
  5222. This is often because dt_scan_memory lacks a __init
  5223. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5224.  
  5225. WARNING: vmlinux.o(.text+0x3a52b0): Section mismatch in reference from the function dt_scan_memory() to the variable .init.data:dt_root_addr_cells
  5226. The function dt_scan_memory() references
  5227. the variable __initdata dt_root_addr_cells.
  5228. This is often because dt_scan_memory lacks a __initdata
  5229. annotation or the annotation of dt_root_addr_cells is wrong.
  5230.  
  5231. WARNING: vmlinux.o(.text+0x3a52b4): Section mismatch in reference from the function dt_scan_memory() to the variable .init.data:dt_root_size_cells
  5232. The function dt_scan_memory() references
  5233. the variable __initdata dt_root_size_cells.
  5234. This is often because dt_scan_memory lacks a __initdata
  5235. annotation or the annotation of dt_root_size_cells is wrong.
  5236.  
  5237. WARNING: vmlinux.o(.text+0x3a52b8): Section mismatch in reference from the function dt_scan_memory() to the variable .init.data:dt_root_size_cells
  5238. The function dt_scan_memory() references
  5239. the variable __initdata dt_root_size_cells.
  5240. This is often because dt_scan_memory lacks a __initdata
  5241. annotation or the annotation of dt_root_size_cells is wrong.
  5242.  
  5243. WARNING: vmlinux.o(.text+0x3a52bc): Section mismatch in reference from the function dt_scan_memory() to the variable .init.data:dt_root_addr_cells
  5244. The function dt_scan_memory() references
  5245. the variable __initdata dt_root_addr_cells.
  5246. This is often because dt_scan_memory lacks a __initdata
  5247. annotation or the annotation of dt_root_addr_cells is wrong.
  5248.  
  5249. WARNING: vmlinux.o(.text+0x3a52c4): Section mismatch in reference from the function dt_scan_memory() to the variable .init.data:dt_root_addr_cells
  5250. The function dt_scan_memory() references
  5251. the variable __initdata dt_root_addr_cells.
  5252. This is often because dt_scan_memory lacks a __initdata
  5253. annotation or the annotation of dt_root_addr_cells is wrong.
  5254.  
  5255. WARNING: vmlinux.o(.text+0x3a52c8): Section mismatch in reference from the function dt_scan_memory() to the variable .init.data:dt_root_size_cells
  5256. The function dt_scan_memory() references
  5257. the variable __initdata dt_root_size_cells.
  5258. This is often because dt_scan_memory lacks a __initdata
  5259. annotation or the annotation of dt_root_size_cells is wrong.
  5260.  
  5261. WARNING: vmlinux.o(.text+0x3a52e8): Section mismatch in reference from the function dt_scan_memory() to the function .init.text:dt_mem_next_cell()
  5262. The function dt_scan_memory() references
  5263. the function __init dt_mem_next_cell().
  5264. This is often because dt_scan_memory lacks a __init
  5265. annotation or the annotation of dt_mem_next_cell is wrong.
  5266.  
  5267. WARNING: vmlinux.o(.text+0x3a52f4): Section mismatch in reference from the function dt_scan_memory() to the function .init.text:dt_mem_next_cell()
  5268. The function dt_scan_memory() references
  5269. the function __init dt_mem_next_cell().
  5270. This is often because dt_scan_memory lacks a __init
  5271. annotation or the annotation of dt_mem_next_cell is wrong.
  5272.  
  5273. WARNING: vmlinux.o(.text+0x3a558c): Section mismatch in reference from the function atf_get_from_dt() to the function .init.text:of_scan_flat_dt()
  5274. The function atf_get_from_dt() references
  5275. the function __init of_scan_flat_dt().
  5276. This is often because atf_get_from_dt lacks a __init
  5277. annotation or the annotation of of_scan_flat_dt is wrong.
  5278.  
  5279. WARNING: vmlinux.o(.text+0x3a55c8): Section mismatch in reference from the function atf_get_from_dt() to the function .init.text:of_get_flat_dt_prop()
  5280. The function atf_get_from_dt() references
  5281. the function __init of_get_flat_dt_prop().
  5282. This is often because atf_get_from_dt lacks a __init
  5283. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5284.  
  5285. WARNING: vmlinux.o(.text+0x3f6194): Section mismatch in reference from the function wp_test3() to the function .cpuinit.text:cpu_up()
  5286. The function wp_test3() references
  5287. the function __cpuinit cpu_up().
  5288. This is often because wp_test3 lacks a __cpuinit
  5289. annotation or the annotation of cpu_up is wrong.
  5290.  
  5291. target C: libcrypto_static <= external/openssl/crypto/modes/ofb128.c
  5292. WARNING: vmlinux.o(.text+0x3f6c74): Section mismatch in reference from the function wp_test2() to the function .cpuinit.text:cpu_up()
  5293. The function wp_test2() references
  5294. the function __cpuinit cpu_up().
  5295. This is often because wp_test2 lacks a __cpuinit
  5296. annotation or the annotation of cpu_up is wrong.
  5297.  
  5298. target C: libcrypto_static <= external/openssl/crypto/modes/xts128.c
  5299. WARNING: vmlinux.o(.text+0x4dbb98): Section mismatch in reference from the function ccci_util_fo_init() to the variable .init.text:$x
  5300. The function ccci_util_fo_init() references
  5301. the variable __init $x.
  5302. This is often because ccci_util_fo_init lacks a __init
  5303. annotation or the annotation of $x is wrong.
  5304.  
  5305. WARNING: vmlinux.o(.text+0x4dbba0): Section mismatch in reference from the function ccci_util_fo_init() to the variable .init.text:$x
  5306. The function ccci_util_fo_init() references
  5307. the variable __init $x.
  5308. This is often because ccci_util_fo_init lacks a __init
  5309. annotation or the annotation of $x is wrong.
  5310.  
  5311. WARNING: vmlinux.o(.text+0x4dbba4): Section mismatch in reference from the function ccci_util_fo_init() to the function .init.text:of_scan_flat_dt()
  5312. The function ccci_util_fo_init() references
  5313. the function __init of_scan_flat_dt().
  5314. This is often because ccci_util_fo_init lacks a __init
  5315. annotation or the annotation of of_scan_flat_dt is wrong.
  5316.  
  5317. WARNING: vmlinux.o(.text+0x4dbbc0): Section mismatch in reference from the function ccci_util_fo_init() to the function .init.text:of_get_flat_dt_prop()
  5318. The function ccci_util_fo_init() references
  5319. the function __init of_get_flat_dt_prop().
  5320. This is often because ccci_util_fo_init lacks a __init
  5321. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5322.  
  5323. WARNING: vmlinux.o(.text+0x588dd4): Section mismatch in reference from the function __parse_tag_videolfb_extra() to the function .init.text:of_get_flat_dt_prop()
  5324. The function __parse_tag_videolfb_extra() references
  5325. the function __init of_get_flat_dt_prop().
  5326. This is often because __parse_tag_videolfb_extra lacks a __init
  5327. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5328.  
  5329. WARNING: vmlinux.o(.text+0x588df4): Section mismatch in reference from the function __parse_tag_videolfb_extra() to the function .init.text:of_get_flat_dt_prop()
  5330. The function __parse_tag_videolfb_extra() references
  5331. the function __init of_get_flat_dt_prop().
  5332. This is often because __parse_tag_videolfb_extra lacks a __init
  5333. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5334.  
  5335. WARNING: vmlinux.o(.text+0x588e24): Section mismatch in reference from the function __parse_tag_videolfb_extra() to the function .init.text:of_get_flat_dt_prop()
  5336. The function __parse_tag_videolfb_extra() references
  5337. the function __init of_get_flat_dt_prop().
  5338. This is often because __parse_tag_videolfb_extra lacks a __init
  5339. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5340.  
  5341. WARNING: vmlinux.o(.text+0x588e48): Section mismatch in reference from the function __parse_tag_videolfb_extra() to the function .init.text:of_get_flat_dt_prop()
  5342. The function __parse_tag_videolfb_extra() references
  5343. the function __init of_get_flat_dt_prop().
  5344. This is often because __parse_tag_videolfb_extra lacks a __init
  5345. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5346.  
  5347. WARNING: vmlinux.o(.text+0x588e74): Section mismatch in reference from the function __parse_tag_videolfb_extra() to the function .init.text:of_get_flat_dt_prop()
  5348. The function __parse_tag_videolfb_extra() references
  5349. the function __init of_get_flat_dt_prop().
  5350. This is often because __parse_tag_videolfb_extra lacks a __init
  5351. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5352.  
  5353. WARNING: vmlinux.o(.text+0x588e98): Section mismatch in reference from the function __parse_tag_videolfb_extra() to the function .init.text:of_get_flat_dt_prop()
  5354. The function __parse_tag_videolfb_extra() references
  5355. the function __init of_get_flat_dt_prop().
  5356. This is often because __parse_tag_videolfb_extra lacks a __init
  5357. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5358.  
  5359. WARNING: vmlinux.o(.text+0x588eb0): Section mismatch in reference from the function __parse_tag_videolfb_extra() to the function .init.text:of_get_flat_dt_prop()
  5360. The function __parse_tag_videolfb_extra() references
  5361. the function __init of_get_flat_dt_prop().
  5362. This is often because __parse_tag_videolfb_extra lacks a __init
  5363. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5364.  
  5365. WARNING: vmlinux.o(.text+0x588f5c): Section mismatch in reference from the function __parse_tag_videolfb() to the function .init.text:of_get_flat_dt_prop()
  5366. The function __parse_tag_videolfb() references
  5367. the function __init of_get_flat_dt_prop().
  5368. This is often because __parse_tag_videolfb lacks a __init
  5369. annotation or the annotation of of_get_flat_dt_prop is wrong.
  5370.  
  5371. WARNING: vmlinux.o(.text+0x58904c): Section mismatch in reference from the function _parse_tag_videolfb() to the function .init.text:of_scan_flat_dt()
  5372. The function _parse_tag_videolfb() references
  5373. the function __init of_scan_flat_dt().
  5374. This is often because _parse_tag_videolfb lacks a __init
  5375. annotation or the annotation of of_scan_flat_dt is wrong.
  5376.  
  5377. WARNING: vmlinux.o(.text+0x5a7130): Section mismatch in reference from the function wdt_arch_reset() to the function .init.text:mt_pwrap_hal_init()
  5378. The function wdt_arch_reset() references
  5379. the function __init mt_pwrap_hal_init().
  5380. This is often because wdt_arch_reset lacks a __init
  5381. annotation or the annotation of mt_pwrap_hal_init is wrong.
  5382.  
  5383. WARNING: vmlinux.o(.text+0x5a71c4): Section mismatch in reference from the function wdt_arch_reset() to the function .init.text:mt_pwrap_hal_init()
  5384. The function wdt_arch_reset() references
  5385. the function __init mt_pwrap_hal_init().
  5386. This is often because wdt_arch_reset lacks a __init
  5387. annotation or the annotation of mt_pwrap_hal_init is wrong.
  5388.  
  5389. target C: libcrypto_static <= external/openssl/crypto/o_dir.c
  5390. target C: libcrypto_static <= external/openssl/crypto/o_init.c
  5391. target C: libcrypto_static <= external/openssl/crypto/o_str.c
  5392. WARNING: vmlinux.o(.meminit.text+0x6fc): Section mismatch in reference from the function free_area_init_node() to the function .init.text:init_mtkpasr_range()
  5393. The function __meminit free_area_init_node() references
  5394. a function __init init_mtkpasr_range().
  5395. If init_mtkpasr_range is only used by free_area_init_node then
  5396. annotate init_mtkpasr_range with a matching annotation.
  5397.  
  5398. WARNING: vmlinux.o(.data+0x80f48): Section mismatch in reference from the variable mt65xx_leds_driver to the variable .init.text:$x
  5399. The variable mt65xx_leds_driver references
  5400. the variable __init $x
  5401. If the reference is valid then annotate the
  5402. variable with __init* or __refdata (see linux/init.h) or name the variable:
  5403. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  5404.  
  5405. WARNING: vmlinux.o(.data+0x86350): Section mismatch in reference from the variable mt_spi_driver to the variable .init.text:$x
  5406. The variable mt_spi_driver references
  5407. the variable __init $x
  5408. If the reference is valid then annotate the
  5409. variable with __init* or __refdata (see linux/init.h) or name the variable:
  5410. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  5411.  
  5412. WARNING: vmlinux.o(.data+0x864b0): Section mismatch in reference from the variable spi_test_driver to the variable .init.text:$x
  5413. The variable spi_test_driver references
  5414. the variable __init $x
  5415. If the reference is valid then annotate the
  5416. variable with __init* or __refdata (see linux/init.h) or name the variable:
  5417. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  5418.  
  5419. WARNING: vmlinux.o(.data+0x88e10): Section mismatch in reference from the variable musb_driver to the function .init.text:musb_probe()
  5420. The variable musb_driver references
  5421. the function __init musb_probe()
  5422. If the reference is valid then annotate the
  5423. variable with __init* or __refdata (see linux/init.h) or name the variable:
  5424. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  5425.  
  5426. WARNING: vmlinux.o(.data+0x89168): Section mismatch in reference from the variable mtu3d_config to the variable .init.data:mtu3d_cfg
  5427. The variable mtu3d_config references
  5428. the variable __initdata mtu3d_cfg
  5429. If the reference is valid then annotate the
  5430. variable with __init* or __refdata (see linux/init.h) or name the variable:
  5431. *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
  5432.  
  5433. target C: libcrypto_static <= external/openssl/crypto/o_time.c
  5434. target C: libcrypto_static <= external/openssl/crypto/objects/o_names.c
  5435. target C: libcrypto_static <= external/openssl/crypto/objects/obj_dat.c
  5436. GEN .version
  5437. target C: libcrypto_static <= external/openssl/crypto/objects/obj_err.c
  5438. external/openssl/crypto/objects/o_names.c: In function 'OBJ_NAME_new_index':
  5439. external/openssl/crypto/objects/o_names.c:90:4: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5440. OBJerr(OBJ_F_OBJ_NAME_NEW_INDEX,ERR_R_MALLOC_FAILURE);
  5441. ^
  5442. target C: libcrypto_static <= external/openssl/crypto/objects/obj_lib.c
  5443. CHK include/generated/compile.h
  5444. external/openssl/crypto/objects/obj_dat.c: In function 'OBJ_add_object':
  5445. external/openssl/crypto/objects/obj_dat.c:281:2: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5446. OBJerr(OBJ_F_OBJ_ADD_OBJECT,ERR_R_MALLOC_FAILURE);
  5447. ^
  5448. target C: libcrypto_static <= external/openssl/crypto/objects/obj_xref.c
  5449. external/openssl/crypto/objects/obj_lib.c: In function 'OBJ_dup':
  5450. external/openssl/crypto/objects/obj_lib.c:80:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5451. OBJerr(OBJ_F_OBJ_DUP,ERR_R_ASN1_LIB);
  5452. ^
  5453. UPD include/generated/compile.h
  5454. target C: libcrypto_static <= external/openssl/crypto/ocsp/ocsp_asn.c
  5455. target C: libcrypto_static <= external/openssl/crypto/ocsp/ocsp_cl.c
  5456. target C: libcrypto_static <= external/openssl/crypto/ocsp/ocsp_err.c
  5457. external/openssl/crypto/ocsp/ocsp_cl.c: In function 'OCSP_request_sign':
  5458. external/openssl/crypto/ocsp/ocsp_cl.c:162:4: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5459. OCSPerr(OCSP_F_OCSP_REQUEST_SIGN, OCSP_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE);
  5460. ^
  5461. target C: libcrypto_static <= external/openssl/crypto/ocsp/ocsp_ext.c
  5462. target C: libcrypto_static <= external/openssl/crypto/ocsp/ocsp_ht.c
  5463. target C: libcrypto_static <= external/openssl/crypto/ocsp/ocsp_lib.c
  5464. CC init/version.o
  5465. target C: libcrypto_static <= external/openssl/crypto/ocsp/ocsp_prn.c
  5466. external/openssl/crypto/ocsp/ocsp_ht.c: In function 'parse_http_line1':
  5467. external/openssl/crypto/ocsp/ocsp_ht.c:204:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5468. OCSPerr(OCSP_F_PARSE_HTTP_LINE1,
  5469. ^
  5470. external/openssl/crypto/ocsp/ocsp_lib.c: In function 'OCSP_cert_id_new':
  5471. external/openssl/crypto/ocsp/ocsp_lib.c:116:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5472. OCSPerr(OCSP_F_OCSP_CERT_ID_NEW,OCSP_R_UNKNOWN_NID);
  5473. ^
  5474. LD init/built-in.o
  5475. target C: libcrypto_static <= external/openssl/crypto/ocsp/ocsp_srv.c
  5476. target C: libcrypto_static <= external/openssl/crypto/ocsp/ocsp_vfy.c
  5477. external/openssl/crypto/ocsp/ocsp_vfy.c: In function 'OCSP_basic_verify':
  5478. external/openssl/crypto/ocsp/ocsp_vfy.c:85:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5479. OCSPerr(OCSP_F_OCSP_BASIC_VERIFY, OCSP_R_SIGNER_CERTIFICATE_NOT_FOUND);
  5480. ^
  5481. external/openssl/crypto/ocsp/ocsp_srv.c: In function 'OCSP_basic_add1_status':
  5482. external/openssl/crypto/ocsp/ocsp_srv.c:160:11: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5483. OCSPerr(OCSP_F_OCSP_BASIC_ADD1_STATUS,OCSP_R_NO_REVOKED_TIME);
  5484. ^
  5485. target C: libcrypto_static <= external/openssl/crypto/pem/pem_all.c
  5486. target C: libcrypto_static <= external/openssl/crypto/pem/pem_err.c
  5487. target C: libcrypto_static <= external/openssl/crypto/pem/pem_info.c
  5488. target C: libcrypto_static <= external/openssl/crypto/pem/pem_lib.c
  5489. target C: libcrypto_static <= external/openssl/crypto/pem/pem_oth.c
  5490. external/openssl/crypto/pem/pem_info.c: In function 'PEM_X509_INFO_read':
  5491. external/openssl/crypto/pem/pem_info.c:81:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5492. PEMerr(PEM_F_PEM_X509_INFO_READ,ERR_R_BUF_LIB);
  5493. ^
  5494. external/openssl/crypto/pem/pem_lib.c: In function 'PEM_def_callback':
  5495. external/openssl/crypto/pem/pem_lib.c:111:4: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5496. PEMerr(PEM_F_PEM_DEF_CALLBACK,PEM_R_PROBLEMS_GETTING_PASSWORD);
  5497. ^
  5498. external/openssl/crypto/pem/pem_oth.c: In function 'PEM_ASN1_read_bio':
  5499. external/openssl/crypto/pem/pem_oth.c:83:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5500. PEMerr(PEM_F_PEM_ASN1_READ_BIO,ERR_R_ASN1_LIB);
  5501. ^
  5502. target C: libcrypto_static <= external/openssl/crypto/pem/pem_pk8.c
  5503. target C: libcrypto_static <= external/openssl/crypto/pem/pem_pkey.c
  5504. target C: libcrypto_static <= external/openssl/crypto/pem/pem_seal.c
  5505. external/openssl/crypto/pem/pem_pk8.c: In function 'do_pk8pkey':
  5506. external/openssl/crypto/pem/pem_seal.c: In function 'PEM_SealInit':
  5507. external/openssl/crypto/pem/pem_seal.c:83:4: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5508. PEMerr(PEM_F_PEM_SEALINIT,PEM_R_PUBLIC_KEY_NO_RSA);
  5509. ^
  5510. external/openssl/crypto/pem/pem_pk8.c:121:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5511. PEMerr(PEM_F_DO_PK8PKEY,
  5512. ^
  5513. external/openssl/crypto/pem/pem_pkey.c: In function 'PEM_read_bio_PrivateKey':
  5514. external/openssl/crypto/pem/pem_pkey.c:108:4: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5515. PEMerr(PEM_F_PEM_READ_BIO_PRIVATEKEY,
  5516. ^
  5517. target C: libcrypto_static <= external/openssl/crypto/pem/pem_sign.c
  5518. target C: libcrypto_static <= external/openssl/crypto/pem/pem_x509.c
  5519. external/openssl/crypto/pem/pem_sign.c: In function 'PEM_SignFinal':
  5520. external/openssl/crypto/pem/pem_sign.c:88:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5521. PEMerr(PEM_F_PEM_SIGNFINAL,ERR_R_MALLOC_FAILURE);
  5522. ^
  5523. target C: libcrypto_static <= external/openssl/crypto/pem/pem_xaux.c
  5524. target C: libcrypto_static <= external/openssl/crypto/pem/pvkfmt.c
  5525. target C: libcrypto_static <= external/openssl/crypto/pkcs12/p12_add.c
  5526. target C: libcrypto_static <= external/openssl/crypto/pkcs12/p12_asn.c
  5527. external/openssl/crypto/pem/pvkfmt.c: In function 'do_blob_header':
  5528. external/openssl/crypto/pem/pvkfmt.c:151:4: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5529. PEMerr(PEM_F_DO_BLOB_HEADER,
  5530. ^
  5531. external/openssl/crypto/pkcs12/p12_add.c: In function 'PKCS12_item_pack_safebag':
  5532. external/openssl/crypto/pkcs12/p12_add.c:71:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5533. PKCS12err(PKCS12_F_PKCS12_ITEM_PACK_SAFEBAG, ERR_R_MALLOC_FAILURE);
  5534. ^
  5535. target C: libcrypto_static <= external/openssl/crypto/pkcs12/p12_attr.c
  5536. target C: libcrypto_static <= external/openssl/crypto/pkcs12/p12_crpt.c
  5537. target C: libcrypto_static <= external/openssl/crypto/pkcs12/p12_crt.c
  5538. target C: libcrypto_static <= external/openssl/crypto/pkcs12/p12_decr.c
  5539. external/openssl/crypto/pkcs12/p12_crt.c: In function 'PKCS12_create':
  5540. external/openssl/crypto/pkcs12/p12_crt.c:114:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5541. PKCS12err(PKCS12_F_PKCS12_CREATE,PKCS12_R_INVALID_NULL_ARGUMENT);
  5542. ^
  5543. external/openssl/crypto/pkcs12/p12_crpt.c: In function 'PKCS12_PBE_keyivgen':
  5544. external/openssl/crypto/pkcs12/p12_crpt.c:81:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5545. PKCS12err(PKCS12_F_PKCS12_PBE_KEYIVGEN,PKCS12_R_DECODE_ERROR);
  5546. ^
  5547. external/openssl/crypto/pkcs12/p12_decr.c: In function 'PKCS12_pbe_crypt':
  5548. external/openssl/crypto/pkcs12/p12_decr.c:83:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5549. PKCS12err(PKCS12_F_PKCS12_PBE_CRYPT,PKCS12_R_PKCS12_ALGOR_CIPHERINIT_ERROR);
  5550. ^
  5551. target C: libcrypto_static <= external/openssl/crypto/pkcs12/p12_init.c
  5552. target C: libcrypto_static <= external/openssl/crypto/pkcs12/p12_key.c
  5553. target C: libcrypto_static <= external/openssl/crypto/pkcs12/p12_kiss.c
  5554. target C: libcrypto_static <= external/openssl/crypto/pkcs12/p12_mutl.c
  5555. external/openssl/crypto/pkcs12/p12_init.c: In function 'PKCS12_init':
  5556. external/openssl/crypto/pkcs12/p12_init.c:69:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5557. PKCS12err(PKCS12_F_PKCS12_INIT,ERR_R_MALLOC_FAILURE);
  5558. ^
  5559. external/openssl/crypto/pkcs12/p12_key.c: In function 'PKCS12_key_gen_asc':
  5560. external/openssl/crypto/pkcs12/p12_key.c:89:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5561. PKCS12err(PKCS12_F_PKCS12_KEY_GEN_ASC,ERR_R_MALLOC_FAILURE);
  5562. ^
  5563. target C: libcrypto_static <= external/openssl/crypto/pkcs12/p12_npas.c
  5564. external/openssl/crypto/pkcs12/p12_kiss.c: In function 'PKCS12_parse':
  5565. external/openssl/crypto/pkcs12/p12_kiss.c:89:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5566. PKCS12err(PKCS12_F_PKCS12_PARSE,PKCS12_R_INVALID_NULL_PKCS12_POINTER);
  5567. ^
  5568. external/openssl/crypto/pkcs12/p12_mutl.c: In function 'PKCS12_gen_mac':
  5569. external/openssl/crypto/pkcs12/p12_mutl.c:78:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5570. PKCS12err(PKCS12_F_PKCS12_GEN_MAC,PKCS12_R_CONTENT_TYPE_NOT_DATA);
  5571. ^
  5572. external/openssl/crypto/pkcs12/p12_npas.c: In function 'PKCS12_newpass':
  5573. external/openssl/crypto/pkcs12/p12_npas.c:83:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5574. PKCS12err(PKCS12_F_PKCS12_NEWPASS,PKCS12_R_INVALID_NULL_PKCS12_POINTER);
  5575. ^
  5576. target C: libcrypto_static <= external/openssl/crypto/pkcs12/p12_p8d.c
  5577. target C: libcrypto_static <= external/openssl/crypto/pkcs12/p12_p8e.c
  5578. target C: libcrypto_static <= external/openssl/crypto/pkcs12/p12_utl.c
  5579. target C: libcrypto_static <= external/openssl/crypto/pkcs12/pk12err.c
  5580. target C: libcrypto_static <= external/openssl/crypto/pkcs7/pk7_asn1.c
  5581. external/openssl/crypto/pkcs12/p12_p8e.c: In function 'PKCS8_encrypt':
  5582. external/openssl/crypto/pkcs12/p12_p8e.c:72:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5583. PKCS12err(PKCS12_F_PKCS8_ENCRYPT, ERR_R_MALLOC_FAILURE);
  5584. ^
  5585. drivers/built-in.o:(.data+0x36980): undefined reference to `IMX135_MIPI_RAW_SensorInit'
  5586. drivers/built-in.o:(.data+0x369b0): undefined reference to `OV5648MIPISensorInit'
  5587. target C: libcrypto_static <= external/openssl/crypto/pkcs7/pk7_attr.c
  5588. target C: libcrypto_static <= external/openssl/crypto/pkcs7/pk7_doit.c
  5589. target C: libcrypto_static <= external/openssl/crypto/pkcs7/pk7_lib.c
  5590. external/openssl/crypto/pkcs7/pk7_attr.c: In function 'PKCS7_add_attrib_smimecap':
  5591. external/openssl/crypto/pkcs7/pk7_attr.c:73:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5592. PKCS7err(PKCS7_F_PKCS7_ADD_ATTRIB_SMIMECAP,ERR_R_MALLOC_FAILURE);
  5593. ^
  5594. external/openssl/crypto/pkcs7/pk7_doit.c: In function 'PKCS7_bio_add_digest':
  5595. external/openssl/crypto/pkcs7/pk7_doit.c:111:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5596. PKCS7err(PKCS7_F_PKCS7_BIO_ADD_DIGEST,ERR_R_BIO_LIB);
  5597. ^
  5598. external/openssl/crypto/pkcs7/pk7_lib.c: In function 'PKCS7_ctrl':
  5599. external/openssl/crypto/pkcs7/pk7_lib.c:88:4: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5600. PKCS7err(PKCS7_F_PKCS7_CTRL,PKCS7_R_OPERATION_NOT_SUPPORTED_ON_THIS_TYPE);
  5601. ^
  5602. target C: libcrypto_static <= external/openssl/crypto/pkcs7/pk7_mime.c
  5603. target C: libcrypto_static <= external/openssl/crypto/pkcs7/pk7_smime.c
  5604. target C: libcrypto_static <= external/openssl/crypto/pkcs7/pkcs7err.c
  5605. target C: libcrypto_static <= external/openssl/crypto/pqueue/pqueue.c
  5606. external/openssl/crypto/pkcs7/pk7_smime.c: In function 'PKCS7_sign':
  5607. external/openssl/crypto/pkcs7/pk7_smime.c:76:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5608. PKCS7err(PKCS7_F_PKCS7_SIGN,ERR_R_MALLOC_FAILURE);
  5609. ^
  5610. target C: libcrypto_static <= external/openssl/crypto/rand/md_rand.c
  5611. target C: libcrypto_static <= external/openssl/crypto/rand/rand_egd.c
  5612. external/openssl/crypto/rand/md_rand.c: In function 'ssleay_rand_bytes':
  5613. external/openssl/crypto/rand/md_rand.c:532:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5614. RANDerr(RAND_F_SSLEAY_RAND_BYTES,RAND_R_PRNG_NOT_SEEDED);
  5615. ^
  5616. target C: libcrypto_static <= external/openssl/crypto/rand/rand_err.c
  5617. target C: libcrypto_static <= external/openssl/crypto/rand/rand_lib.c
  5618. target C: libcrypto_static <= external/openssl/crypto/rand/rand_unix.c
  5619. target C: libcrypto_static <= external/openssl/crypto/rand/rand_win.c
  5620. target C: libcrypto_static <= external/openssl/crypto/rand/randfile.c
  5621. target C: libcrypto_static <= external/openssl/crypto/rc2/rc2_cbc.c
  5622. target C: libcrypto_static <= external/openssl/crypto/rc2/rc2_ecb.c
  5623. target C: libcrypto_static <= external/openssl/crypto/rc2/rc2_skey.c
  5624. target C: libcrypto_static <= external/openssl/crypto/rc2/rc2cfb64.c
  5625. target C: libcrypto_static <= external/openssl/crypto/rc2/rc2ofb64.c
  5626. target C: libcrypto_static <= external/openssl/crypto/rc4/rc4_enc.c
  5627. target C: libcrypto_static <= external/openssl/crypto/rc4/rc4_skey.c
  5628. target C: libcrypto_static <= external/openssl/crypto/rc4/rc4_utl.c
  5629. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_ameth.c
  5630. external/openssl/crypto/rsa/rsa_ameth.c: In function 'rsa_pub_decode':
  5631. external/openssl/crypto/rsa/rsa_ameth.c:94:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5632. RSAerr(RSA_F_RSA_PUB_DECODE, ERR_R_RSA_LIB);
  5633. ^
  5634. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_asn1.c
  5635. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_chk.c
  5636. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_crpt.c
  5637. external/openssl/crypto/rsa/rsa_chk.c: In function 'RSA_check_key':
  5638. external/openssl/crypto/rsa/rsa_chk.c:65:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5639. RSAerr(RSA_F_RSA_CHECK_KEY, RSA_R_VALUE_MISSING);
  5640. ^
  5641. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_eay.c
  5642. external/openssl/crypto/rsa/rsa_crpt.c: In function 'RSA_setup_blinding':
  5643. external/openssl/crypto/rsa/rsa_crpt.c:208:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5644. RSAerr(RSA_F_RSA_SETUP_BLINDING, ERR_R_MALLOC_FAILURE);
  5645. ^
  5646. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_err.c
  5647. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_gen.c
  5648. external/openssl/crypto/rsa/rsa_eay.c: In function 'RSA_eay_public_encrypt':
  5649. external/openssl/crypto/rsa/rsa_eay.c:163:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5650. RSAerr(RSA_F_RSA_EAY_PUBLIC_ENCRYPT, RSA_R_MODULUS_TOO_LARGE);
  5651. ^
  5652. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_lib.c
  5653. external/openssl/crypto/rsa/rsa_gen.c: In function 'rsa_builtin_keygen':
  5654. external/openssl/crypto/rsa/rsa_gen.c:159:4: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5655. RSAerr(RSA_F_RSA_BUILTIN_KEYGEN,RSA_R_KEY_SIZE_TOO_SMALL);
  5656. ^
  5657. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_none.c
  5658. external/openssl/crypto/rsa/rsa_lib.c: In function 'RSA_new_method':
  5659. external/openssl/crypto/rsa/rsa_lib.c:142:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5660. RSAerr(RSA_F_RSA_NEW_METHOD,ERR_R_MALLOC_FAILURE);
  5661. ^
  5662. external/openssl/crypto/rsa/rsa_none.c: In function 'RSA_padding_add_none':
  5663. external/openssl/crypto/rsa/rsa_none.c:70:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5664. RSAerr(RSA_F_RSA_PADDING_ADD_NONE,RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE);
  5665. ^
  5666. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_null.c
  5667. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_oaep.c
  5668. external/openssl/crypto/rsa/rsa_null.c: In function 'RSA_null_public_encrypt':
  5669. external/openssl/crypto/rsa/rsa_null.c:110:2: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5670. RSAerr(RSA_F_RSA_NULL_PUBLIC_ENCRYPT, RSA_R_RSA_OPERATIONS_NOT_SUPPORTED);
  5671. ^
  5672. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_pk1.c
  5673. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_pmeth.c
  5674. external/openssl/crypto/rsa/rsa_pk1.c: In function 'RSA_padding_add_PKCS1_type_1':
  5675. external/openssl/crypto/rsa/rsa_pk1.c:75:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5676. RSAerr(RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_1,RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE);
  5677. ^
  5678. external/openssl/crypto/rsa/rsa_oaep.c: In function 'RSA_padding_add_PKCS1_OAEP':
  5679. external/openssl/crypto/rsa/rsa_oaep.c:45:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5680. RSAerr(RSA_F_RSA_PADDING_ADD_PKCS1_OAEP,
  5681. ^
  5682. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_prn.c
  5683. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_pss.c
  5684. external/openssl/crypto/rsa/rsa_pmeth.c: In function 'pkey_rsa_sign':
  5685. external/openssl/crypto/rsa/rsa_pmeth.c:205:4: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5686. RSAerr(RSA_F_PKEY_RSA_SIGN,
  5687. ^
  5688. external/openssl/crypto/rsa/rsa_prn.c: In function 'RSA_print_fp':
  5689. external/openssl/crypto/rsa/rsa_prn.c:72:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5690. RSAerr(RSA_F_RSA_PRINT_FP,ERR_R_BUF_LIB);
  5691. ^
  5692. external/openssl/crypto/rsa/rsa_pss.c: In function 'RSA_verify_PKCS1_PSS_mgf1':
  5693. external/openssl/crypto/rsa/rsa_pss.c:108:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5694. RSAerr(RSA_F_RSA_VERIFY_PKCS1_PSS_MGF1, RSA_R_SLEN_CHECK_FAILED);
  5695. ^
  5696. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_saos.c
  5697. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_sign.c
  5698. external/openssl/crypto/rsa/rsa_saos.c: In function 'RSA_sign_ASN1_OCTET_STRING':
  5699. external/openssl/crypto/rsa/rsa_saos.c:82:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5700. RSAerr(RSA_F_RSA_SIGN_ASN1_OCTET_STRING,RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY);
  5701. ^
  5702. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_ssl.c
  5703. external/openssl/crypto/rsa/rsa_sign.c: In function 'RSA_sign':
  5704. external/openssl/crypto/rsa/rsa_sign.c:96:4: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5705. RSAerr(RSA_F_RSA_SIGN,RSA_R_INVALID_MESSAGE_LENGTH);
  5706. ^
  5707. target C: libcrypto_static <= external/openssl/crypto/rsa/rsa_x931.c
  5708. external/openssl/crypto/rsa/rsa_ssl.c: In function 'RSA_padding_add_SSLv23':
  5709. external/openssl/crypto/rsa/rsa_ssl.c:73:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5710. RSAerr(RSA_F_RSA_PADDING_ADD_SSLV23,RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE);
  5711. ^
  5712. target C: libcrypto_static <= external/openssl/crypto/sha/sha1_one.c
  5713. external/openssl/crypto/rsa/rsa_x931.c: In function 'RSA_padding_add_X931':
  5714. external/openssl/crypto/rsa/rsa_x931.c:80:3: warning: implicit declaration of function '__android_log_print' [-Wimplicit-function-declaration]
  5715. RSAerr(RSA_F_RSA_PADDING_ADD_X931,RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE);
  5716. ^
  5717. target C: libcrypto_static <= external/openssl/crypto/sha/sha1dgst.c
  5718. target C: libcrypto_static <= external/openssl/crypto/sha/sha256.c
  5719. target C: libcrypto_static <= external/openssl/crypto/sha/sha512.c
  5720. target C: libcrypto_static <= external/openssl/crypto/sha/sha_dgst.c
  5721. target C: libcrypto_static <= external/openssl/crypto/srp/srp_lib.c
  5722. make[2]: *** [vmlinux] Error 1
  5723. make[1]: *** [sub-make] Error 2
  5724. make[1]: Leaving directory `/home/Arch/javier/dati/download/part-tree/kernel-3.10'
  5725. make: *** [/home/Arch/javier/dati/download/part-tree/out/target/product/y991/obj/KERNEL_OBJ/arch/arm64/boot/Image.gz-dtb] Error 2
  5726. make: *** Waiting for unfinished jobs....
  5727. target C: libcrypto_static <= external/openssl/crypto/srp/srp_vfy.c
  5728.  
  5729. #### make failed to build some targets (12:24 (mm:ss)) ####
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement