Advertisement
Guest User

HW_KSU_logs

a guest
Mar 12th, 2023
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 399.07 KB | None | 0 0
  1. ../include/linux/stddef.h:7:14: warning: passing argument 3 of ‘file_open’ makes integer from pointer without a cast
  2. #define NULL ((void *)0)
  3. ^
  4. ../drivers/hwzerohung/cgroup_info.c:296:39: note: in expansion of macro ‘NULL’
  5. file = file_open(fullname, O_RDONLY, NULL);
  6. ^
  7. ../drivers/hwzerohung/cgroup_info.c:115:21: note: expected ‘int’ but argument is of type ‘void *’
  8. static struct file *file_open(const char *path, int flags, int rights)
  9. ^
  10. ../drivers/hwzerohung/cgroup_info.c: In function ‘cgroup_info_node_init’:
  11. ../drivers/hwzerohung/cgroup_info.c:331:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  12. size_t name_buf_len = strlen(name_buf) + 1;
  13. ^
  14. In file included from ../include/uapi/linux/posix_types.h:4:0,
  15. from ../include/uapi/linux/types.h:13,
  16. from ../include/linux/compiler.h:228,
  17. from ../include/linux/linkage.h:4,
  18. from ../include/linux/fs.h:4,
  19. from ../drivers/hwzerohung/cgroup_info.c:1:
  20. ../drivers/hwzerohung/cgroup_info.c: In function ‘cgroup_info_get’:
  21. CC drivers/huawei_platform/audio/usb_analog_hs_module/usb_analog_hs_isl54405/usb_analog_hs_isl54405.o
  22. ../drivers/huawei_platform/iotrace/iotrace.c:1040:9: warning: unused variable ‘ret_e’ [-Wunused-variable]
  23. int ret_e = 0;
  24. ^
  25. ../drivers/huawei_platform/iotrace/iotrace.c: In function ‘io_trace_global_log’:
  26. ../include/linux/stddef.h:7:14: warning: passing argument 3 of ‘file_open’ makes integer from pointer without a cast
  27. #define NULL ((void *)0)
  28. ^
  29. ../drivers/hwzerohung/cgroup_info.c:390:40: note: in expansion of macro ‘NULL’
  30. file = file_open(path_buf, O_RDONLY, NULL);
  31. ^
  32. ../drivers/hwzerohung/cgroup_info.c:115:21: note: expected ‘int’ but argument is of type ‘void *’
  33. static struct file *file_open(const char *path, int flags, int rights)
  34. ^
  35. ../drivers/hwzerohung/cgroup_info.c:390:8: warning: assignment from incompatible pointer type
  36. file = file_open(path_buf, O_RDONLY, NULL);
  37. ^
  38. ../drivers/hwzerohung/cgroup_info.c:399:16: warning: passing argument 1 of ‘file_close’ from incompatible pointer type
  39. file_close(file);
  40. ^
  41. ../drivers/hwzerohung/cgroup_info.c:129:13: note: expected ‘struct file *’ but argument is of type ‘char *’
  42. static void file_close(struct file *file)
  43. ^
  44. In file included from ../include/uapi/linux/posix_types.h:4:0,
  45. from ../include/uapi/linux/types.h:13,
  46. from ../include/linux/compiler.h:228,
  47. from ../include/linux/linkage.h:4,
  48. from ../include/linux/fs.h:4,
  49. from ../drivers/hwzerohung/cgroup_info.c:1:
  50. ../include/linux/stddef.h:7:14: warning: passing argument 3 of ‘file_open’ makes integer from pointer without a cast
  51. #define NULL ((void *)0)
  52. ^
  53. ../drivers/hwzerohung/cgroup_info.c:400:42: note: in expansion of macro ‘NULL’
  54. file = file_open(path_buf, O_RDONLY, NULL);
  55. ^
  56. ../drivers/hwzerohung/cgroup_info.c:115:21: note: expected ‘int’ but argument is of type ‘void *’
  57. static struct file *file_open(const char *path, int flags, int rights)
  58. ^
  59. ../drivers/hwzerohung/cgroup_info.c:400:10: warning: assignment from incompatible pointer type
  60. file = file_open(path_buf, O_RDONLY, NULL);
  61. ^
  62. ../drivers/hwzerohung/cgroup_info.c:408:32: warning: passing argument 1 of ‘file_read_dir’ from incompatible pointer type
  63. while ((ret = file_read_dir(file, &is_dir)) > 0) {
  64. ^
  65. ../drivers/hwzerohung/cgroup_info.c:193:12: note: expected ‘struct file *’ but argument is of type ‘char *’
  66. static int file_read_dir(struct file *file, int *is_dir)
  67. ^
  68. ../drivers/hwzerohung/cgroup_info.c:442:14: warning: passing argument 1 of ‘file_close’ from incompatible pointer type
  69. file_close(file);
  70. ^
  71. ../drivers/hwzerohung/cgroup_info.c:129:13: note: expected ‘struct file *’ but argument is of type ‘char *’
  72. static void file_close(struct file *file)
  73. ^
  74. ../drivers/hwzerohung/cgroup_info.c:372:24: warning: unused variable ‘ss’ [-Wunused-variable]
  75. struct cgroup_subsys *ss = NULL;
  76. ^
  77. ../drivers/hwzerohung/cgroup_info.c: In function ‘freezer_info_print_messages’:
  78. ../drivers/hwzerohung/cgroup_info.c:464:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  79. struct cgroup_info_node *ccur = NULL;
  80. ^
  81. ../drivers/hwzerohung/cgroup_info.c:470:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  82. struct task_node *tcur = NULL;
  83. ^
  84. ../drivers/hwzerohung/cgroup_info.c: In function ‘freezer_info_show_messages’:
  85. ../drivers/hwzerohung/cgroup_info.c:492:48: warning: passing argument 2 of ‘freezer_info_print_messages’ from incompatible pointer type
  86. return freezer_info_print_messages(TO_MODULE, buf);
  87. ^
  88. ../drivers/hwzerohung/cgroup_info.c:453:12: note: expected ‘char **’ but argument is of type ‘char *’
  89. static int freezer_info_print_messages(int type, char **pbuf)
  90. ^
  91. ../drivers/hwzerohung/cgroup_info.c: In function ‘freezer_info_show’:
  92. ../drivers/huawei_platform/iotrace/iotrace.c:1590:22: warning: unused variable ‘cnt_flag’ [-Wunused-variable]
  93. unsigned int cnt_flag = 1;
  94. ^
  95. ../drivers/hwzerohung/cgroup_info.c:501:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  96. ssize_t size = (ssize_t) (buf - start);
  97. ^
  98. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_hw.o
  99. CC drivers/leds/led-triggers.o
  100. ../drivers/huawei_platform/iotrace/iotrace.c: In function ‘io_trace_init’:
  101. ../drivers/huawei_platform/iotrace/iotrace.c:3130:13: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘struct task_struct *’ [-Wformat=]
  102. io_trace_print("io count upload thread start succeed, %d\n", io_count_thread);
  103. ^
  104. CC drivers/huawei_platform/emcom/smartcare/network_measurement/sample_ctrl.o
  105. CC fs/compat_ioctl.o
  106. CC fs/binfmt_script.o
  107. CC drivers/connectivity/hisi/wifi/hmac/hmac_traffic_classify.o
  108. CC fs/notify/dnotify/dnotify.o
  109. LD drivers/hisi/hifi_mailbox/mailbox/built-in.o
  110. CC drivers/hid/hid-holtekff.o
  111. CC drivers/input/serio/libps2.o
  112. CC fs/binfmt_elf.o
  113. CC fs/compat_binfmt_elf.o
  114. CC fs/ext4/ext4_jbd2.o
  115. LD drivers/hisi/hifi_mailbox/built-in.o
  116. ../drivers/kernelsu/allowlist.c: In function ‘do_persistent_allow_list’:
  117. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_utility.o
  118. ../drivers/kernelsu/allowlist.c:127:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
  119. pr_err("save_allow_list creat file failed: %d\n", PTR_ERR(fp));
  120. ^
  121. LD drivers/huawei_platform/connectivity/bcm/gps/lhd/built-in.o
  122. CC lib/chacha20.o
  123. ../drivers/kernelsu/allowlist.c: In function ‘do_load_allow_list’:
  124. ../drivers/kernelsu/allowlist.c:178:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
  125. pr_err("load_allow_list open file failed: %d\n", PTR_ERR(fp));
  126. ^
  127. ../drivers/kernelsu/allowlist.c:203:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ssize_t’ [-Wformat=]
  128. pr_info("load_allow_list read err: %d\n", ret);
  129. ^
  130. CC net/netfilter/xt_CT.o
  131. CC drivers/huawei_platform/emcom/smartcare/nse/psr_ac.o
  132. CC fs/sdcardfs/xattr.o
  133. LD drivers/huawei_platform/connectivity/bcm/gps/built-in.o
  134. ../drivers/hwzerohung/watchpoint/hung_wp_lowmemorykiller.c:212:13: warning: ‘lmkwp_show_events’ defined but not used [-Wunused-function]
  135. static void lmkwp_show_events(void)
  136. ^
  137. CC net/netfilter/xt_DSCP.o
  138. CC drivers/huawei_platform/emcom/smartcare/nse/psr_dns.o
  139. CC net/netfilter/xt_NETMAP.o
  140. CC drivers/irqchip/irq-gic-v3-its-pci-msi.o
  141. CC net/netfilter/xt_LOG.o
  142. LD drivers/hisi/hifi_dsp/built-in.o
  143. LD drivers/hisi/hisi_syscounter/built-in.o
  144. CC fs/mbcache.o
  145. CC fs/proc/generic.o
  146. LD drivers/huawei_platform/audio/anc_hs_module/anc_ncx8293/built-in.o
  147. LD kernel/sched/built-in.o
  148. CC drivers/huawei_platform/inputhub/hi3660/sensor_info.o
  149. LD drivers/huawei_platform/audio/anc_hs_module/built-in.o
  150. CC fs/ntfs/mft.o
  151. CC net/netfilter/xt_NFLOG.o
  152. ../drivers/kernelsu/allowlist.c: At top level:
  153. LD drivers/huawei_platform/led_alwayson/built-in.o
  154. cc1: warning: unrecognized command line option "-Wno-macro-redefined"
  155. cc1: warning: unrecognized command line option "-Wno-gcc-compat"
  156. cc1: warning: unrecognized command line option "-Wno-int-conversion"
  157. CC lib/clz_tab.o
  158. CC drivers/hisi/ivp/ivp_smmu.o
  159. CC drivers/connectivity/hisi/wifi/hmac/hmac_proxysta.o
  160. CC drivers/kernelsu/apk_sign.o
  161. CC drivers/hisi/jpu/hisi_jpu.o
  162. CC drivers/kernelsu/module_api.o
  163. CC drivers/iommu/dma-iommu.o
  164. CC drivers/huawei_platform/madapt/madapt.o
  165. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/device/dev_wifi.c:49:0:
  166. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
  167. #ifndef _DRIVER_REGISTER.H
  168. ^
  169. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
  170. #define _DRIVER_REGISTER.H
  171. ^
  172. CC drivers/kernelsu/sucompat.o
  173. ../fs/proc/base.c: In function ‘is_special_entry’:
  174. LD drivers/huawei_platform/connectivity/bcm/wifi/device/built-in.o
  175. ../fs/proc/base.c:2000:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  176. const unsigned char *name = dentry->d_name.name;
  177. ^
  178. LD kernel/built-in.o
  179. CC lib/cmdline.o
  180. CC drivers/hid/hid-icade.o
  181. CC drivers/input/input-mt.o
  182. LD drivers/connectivity/hisi/platform/plat.o
  183. CC drivers/irqchip/irq-gic-v3-its-platform-msi.o
  184. CC drivers/hwzerohung/watchpoint/hung_wp_screen.o
  185. CC drivers/input/ff-core.o
  186. CC fs/proc/array.o
  187. CC net/netfilter/xt_NFQUEUE.o
  188. CC drivers/connectivity/hisi/wifi/hmac/hmac_wmmac.o
  189. CC drivers/kernelsu/uid_observer.o
  190. CC fs/ext4/migrate.o
  191. CC drivers/huawei_platform/emcom/smartcare/nse/psr_init.o
  192. CC drivers/huawei_platform/emcom/smartcare/nse/psr_proc.o
  193. LD drivers/hisi/hisi_lmk/built-in.o
  194. CC fs/ntfs/mst.o
  195. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_debug.o
  196. CC net/netfilter/xt_REDIRECT.o
  197. CC net/netfilter/xt_SECMARK.o
  198. CC drivers/connectivity/hisi/wifi/hmac/hmac_btcoex.o
  199. LD drivers/huawei_platform/irda/built-in.o
  200. CC drivers/huawei_platform/inputhub/hi3660/sensorhub_logbuff.o
  201. CC lib/cpumask.o
  202. CC drivers/huawei_platform/inputhub/hi3660/sensor_debug.o
  203. ../drivers/huawei_platform/emcom/xengine/emcom_xengine.c: In function ‘Emcom_Xengine_Clear_Mpip_Config’:
  204. ../drivers/huawei_platform/emcom/xengine/emcom_xengine.c:603:21: warning: unused variable ‘ulength’ [-Wunused-variable]
  205. uint8_t ulength;
  206. ^
  207. ../drivers/huawei_platform/emcom/xengine/emcom_xengine.c:602:22: warning: unused variable ‘ptemp’ [-Wunused-variable]
  208. uint8_t *ptemp;
  209. ^
  210. LD drivers/i2c/algos/built-in.o
  211. CC drivers/connectivity/hisi/wifi/dmac/mac_device.o
  212. LD drivers/hisi/l3cache/built-in.o
  213. LD drivers/hisi/hisee/built-in.o
  214. CC drivers/connectivity/hisi/wifi/dmac/mac_frame.o
  215. LD drivers/huawei_platform/audio/usb_analog_hs_module/usb_analog_hs_fsa4476/built-in.o
  216. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pno.o
  217. CC drivers/i2c/busses/i2c-designware-core.o
  218. CC drivers/i2c/busses/i2c-designware-platdrv.o
  219. LD drivers/connectivity/hisi/platform/built-in.o
  220. CC drivers/huawei_platform/connectivity/bcm/wifi/wlanfty/wlanfty.o
  221. CC drivers/hisi/load_image/load_image.o
  222. CC fs/ntfs/namei.o
  223. CC fs/posix_acl.o
  224. CC drivers/irqchip/irq-partition-percpu.o
  225. CC net/netfilter/xt_TPROXY.o
  226. CC drivers/irqchip/irq-mbigen.o
  227. LD fs/pstore/ramoops.o
  228. CC net/netfilter/xt_TCPMSS.o
  229. LD fs/pstore/built-in.o
  230. CC drivers/hisi/mailbox/hisi_mailbox/hisi_mailbox.o
  231. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_trace_timeline.o
  232. CC fs/coredump.o
  233. CC drivers/leds/hisi_leds.o
  234. CC fs/drop_caches.o
  235. CC drivers/hisi/mailbox/hisi_mailbox/hisi_rproc.o
  236. CC drivers/connectivity/hisi/wifi/dmac/mac_user.o
  237. CC fs/ntfs/runlist.o
  238. CC fs/dcookies.o
  239. CC drivers/leds/trigger/ledtrig-timer.o
  240. CC drivers/iommu/iova.o
  241. CC fs/ext4/mballoc.o
  242. LD drivers/hisi/isp/mntn/built-in.o
  243. CC drivers/hisi/isp/hisp_rpm.o
  244. In file included from ../drivers/kernelsu/uid_observer.c:13:0:
  245. ../drivers/kernelsu/manager.h:7:0: warning: "INVALID_UID" redefined
  246. #define INVALID_UID -1
  247. ^
  248. LD fs/quota/built-in.o
  249. In file included from ../include/linux/sysctl.h:28:0,
  250. from ../include/linux/timer.h:267,
  251. from ../include/linux/workqueue.h:8,
  252. from ../include/linux/mm_types.h:15,
  253. from ../include/linux/sched.h:27,
  254. from ../arch/arm64/include/asm/compat.h:25,
  255. from ../arch/arm64/include/asm/stat.h:23,
  256. from ../include/linux/stat.h:5,
  257. from ../include/linux/fs.h:9,
  258. from ../drivers/kernelsu/uid_observer.c:2:
  259. ../include/linux/uidgid.h:57:0: note: this is the location of the previous definition
  260. #define INVALID_UID KUIDT_INIT(-1)
  261. ^
  262. CC drivers/hisi/isp/nonsec.o
  263. In file included from ../include/linux/kernel.h:13:0,
  264. from ../include/linux/list.h:8,
  265. from ../include/linux/wait.h:6,
  266. from ../include/linux/fs.h:5,
  267. from ../drivers/kernelsu/uid_observer.c:2:
  268. ../drivers/kernelsu/uid_observer.c: In function ‘do_update_uid’:
  269. ../drivers/kernelsu/uid_observer.c:47:18: warning: passing argument 1 of ‘ERR_PTR’ makes integer from pointer without a cast
  270. ERR_PTR(fp));
  271. ^
  272. ../include/linux/printk.h:283:33: note: in definition of macro ‘pr_err’
  273. printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
  274. ^
  275. In file included from ../drivers/kernelsu/uid_observer.c:1:0:
  276. ../include/linux/err.h:23:35: note: expected ‘long int’ but argument is of type ‘struct file *’
  277. static inline void * __must_check ERR_PTR(long error)
  278. ^
  279. ../drivers/kernelsu/uid_observer.c:45:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘void *’ [-Wformat=]
  280. pr_err("do_update_uid, open " SYSTEM_PACKAGES_LIST_PATH
  281. ^
  282. CC drivers/kernelsu/manager.o
  283. CC drivers/huawei_platform/inputhub/hi3660/sensorhub_channel.o
  284. CC drivers/huawei_platform/inputhub/hi3660/iomcu_power.o
  285. CC drivers/hid/hid-kensington.o
  286. CC drivers/kernelsu/core_hook.o
  287. ../drivers/hwzerohung/watchpoint/hung_wp_screen.c: In function ‘hung_wp_screen_send_work’:
  288. ../drivers/hwzerohung/watchpoint/hung_wp_screen.c:428:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=]
  289. printk(KERN_ERR "%s: cur_stamp=%d\n", __func__, cur_stamp);
  290. ^
  291. ../drivers/hwzerohung/watchpoint/hung_wp_screen.c:432:13: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘long long unsigned int’ [-Wformat=]
  292. data.config->timeout+BUFFER_TIME_START, cur_stamp+BUFFER_TIME_END);
  293. ^
  294. ../drivers/hwzerohung/watchpoint/hung_wp_screen.c:437:13: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘long long unsigned int’ [-Wformat=]
  295. data.config->timeout+BUFFER_TIME_START, cur_stamp+BUFFER_TIME_END);
  296. ^
  297. ../drivers/hwzerohung/watchpoint/hung_wp_screen.c: At top level:
  298. ../drivers/hwzerohung/watchpoint/hung_wp_screen.c:93:13: warning: ‘prkyevt_init_done’ defined but not used [-Wunused-variable]
  299. static bool prkyevt_init_done = false;
  300. ^
  301. ../drivers/hwzerohung/watchpoint/hung_wp_screen.c:101:21: warning: ‘reservedevt’ defined but not used [-Wunused-variable]
  302. static unsigned int reservedevt = 0;
  303. ^
  304. LD fs/sysfs/built-in.o
  305. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_gpu_memory_debugfs.o
  306. LD fs/notify/dnotify/built-in.o
  307. In file included from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:26:0:
  308. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.h:491:1: warning: useless storage class specifier in empty declaration
  309. };
  310. ^
  311. CC drivers/connectivity/hisi/wifi/dmac/mac_vap.o
  312. LD drivers/i2c/muxes/built-in.o
  313. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:294:19: warning: initialization from incompatible pointer type
  314. .notifier_call = read_tp_module_notify,
  315. ^
  316. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:294:19: warning: (near initialization for ‘readtp_notify.notifier_call’)
  317. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:306:8: warning: missing braces around initializer [-Wmissing-braces]
  318. struct sleeve_detect_pare sleeve_detect_paremeter[MAX_PHONE_COLOR_NUM] = {0};
  319. ^
  320. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:306:8: warning: (near initialization for ‘sleeve_detect_paremeter[0]’) [-Wmissing-braces]
  321. CC drivers/kernelsu/ksud.o
  322. LD drivers/huawei_platform/audio/tfa98xx/tfa9872/built-in.o
  323. ../drivers/kernelsu/uid_observer.c: At top level:
  324. cc1: warning: unrecognized command line option "-Wno-macro-redefined"
  325. cc1: warning: unrecognized command line option "-Wno-gcc-compat"
  326. cc1: warning: unrecognized command line option "-Wno-int-conversion"
  327. LD fs/notify/fanotify/built-in.o
  328. LD drivers/huawei_platform/audio/tfa98xx/built-in.o
  329. CC net/netfilter/xt_TEE.o
  330. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_mem_linux.o
  331. CC drivers/iommu/of_iommu.o
  332. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: In function ‘read_als_data_from_dts’:
  333. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:3154:69: warning: passing argument 3 of ‘of_property_read_u32_array’ from incompatible pointer type
  334. ret = of_property_read_u32_array(dn, "sleeve_detect_threshhold", sleeve_detect_paremeter, temp * 2);
  335. ^
  336. In file included from ../include/huawei_platform/power/direct_charger.h:10:0,
  337. from ../include/huawei_platform/power/huawei_charger.h:30,
  338. from ../include/huawei_platform/power/charging_core_sh.h:18,
  339. from ../drivers/huawei_platform/inputhub/hi3660/inputhub_bridge.h:14,
  340. from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:16:
  341. ../include/linux/of.h:464:19: note: expected ‘unsigned int *’ but argument is of type ‘struct sleeve_detect_pare *’
  342. static inline int of_property_read_u32_array(const struct device_node *np,
  343. ^
  344. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_core_linux.o
  345. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: In function ‘get_test_time’:
  346. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:3860:29: warning: passing argument 2 of ‘rtc_time_to_tm’ from incompatible pointer type
  347. rtc_time_to_tm(local_time, &tm);
  348. ^
  349. In file included from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:31:0:
  350. ../include/linux/rtc.h:38:20: note: expected ‘struct rtc_time *’ but argument is of type ‘struct tm *’
  351. static inline void rtc_time_to_tm(unsigned long time, struct rtc_time *tm)
  352. ^
  353. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: In function ‘attr_acc_calibrate_write’:
  354. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:3964:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
  355. hwlog_err("acc calibrator val is %d len is %lu.\n", val, sizeof(val));
  356. ^
  357. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: In function ‘als_calibrate_save’:
  358. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:4533:12: warning: unused variable ‘bh1745_als_cal_result’ [-Wunused-variable]
  359. uint16_t *bh1745_als_cal_result = (uint16_t *) buf;
  360. ^
  361. CC fs/ext4/block_validity.o
  362. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: In function ‘attr_get_fingersense_enable’:
  363. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_replay.o
  364. CC fs/notify/inotify/inotify_fsnotify.o
  365. LD drivers/huawei_platform/emcom/argo/built-in.o
  366. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5133:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
  367. return snprintf(buf, MAX_STR_SIZE, "%d\n", fingersense_enabled);
  368. ^
  369. In file included from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:9:0:
  370. ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
  371. int snprintf(char *buf, size_t size, const char *fmt, ...);
  372. ^
  373. In file included from ../include/linux/kobject.h:21:0,
  374. from ../include/linux/module.h:17,
  375. from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:11:
  376. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: At top level:
  377. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5136:50: warning: initialization from incompatible pointer type
  378. static DEVICE_ATTR(set_fingersense_enable, 0660, attr_get_fingersense_enable,
  379. ^
  380. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  381. .show = _show, \
  382. ^
  383. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5136:8: note: in expansion of macro ‘DEVICE_ATTR’
  384. static DEVICE_ATTR(set_fingersense_enable, 0660, attr_get_fingersense_enable,
  385. ^
  386. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5136:50: warning: (near initialization for ‘dev_attr_set_fingersense_enable.show’)
  387. static DEVICE_ATTR(set_fingersense_enable, 0660, attr_get_fingersense_enable,
  388. ^
  389. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  390. .show = _show, \
  391. ^
  392. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5136:8: note: in expansion of macro ‘DEVICE_ATTR’
  393. static DEVICE_ATTR(set_fingersense_enable, 0660, attr_get_fingersense_enable,
  394. ^
  395. LD drivers/gpu/vga/built-in.o
  396. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: In function ‘attr_fingersense_data_ready’:
  397. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5143:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
  398. return snprintf(buf, MAX_STR_SIZE, "%d\n", fingersense_data_ready);
  399. ^
  400. In file included from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:9:0:
  401. ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
  402. int snprintf(char *buf, size_t size, const char *fmt, ...);
  403. ^
  404. In file included from ../include/linux/kobject.h:21:0,
  405. from ../include/linux/module.h:17,
  406. from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:11:
  407. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: At top level:
  408. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5146:50: warning: initialization from incompatible pointer type
  409. static DEVICE_ATTR(fingersense_data_ready, 0440, attr_fingersense_data_ready,
  410. ^
  411. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  412. .show = _show, \
  413. ^
  414. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5146:8: note: in expansion of macro ‘DEVICE_ATTR’
  415. static DEVICE_ATTR(fingersense_data_ready, 0440, attr_fingersense_data_ready,
  416. ^
  417. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5146:50: warning: (near initialization for ‘dev_attr_fingersense_data_ready.show’)
  418. static DEVICE_ATTR(fingersense_data_ready, 0440, attr_fingersense_data_ready,
  419. ^
  420. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  421. .show = _show, \
  422. ^
  423. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5146:8: note: in expansion of macro ‘DEVICE_ATTR’
  424. static DEVICE_ATTR(fingersense_data_ready, 0440, attr_fingersense_data_ready,
  425. ^
  426. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: In function ‘attr_fingersense_latch_data’:
  427. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5163:9: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type
  428. memcpy(buf, (char *)fingersense_data, size);
  429. ^
  430. In file included from ../include/linux/string.h:18:0,
  431. from ../arch/arm64/include/asm/processor.h:37,
  432. from ../arch/arm64/include/asm/spinlock.h:21,
  433. from ../include/linux/spinlock.h:87,
  434. from ../include/linux/seqlock.h:35,
  435. from ../include/linux/time.h:5,
  436. from ../include/uapi/linux/timex.h:56,
  437. from ../include/linux/timex.h:56,
  438. from ../include/linux/sched.h:19,
  439. from ../arch/arm64/include/asm/compat.h:25,
  440. from ../arch/arm64/include/asm/stat.h:23,
  441. from ../include/linux/stat.h:5,
  442. from ../include/linux/module.h:10,
  443. from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:11:
  444. ../arch/arm64/include/asm/string.h:38:14: note: expected ‘void *’ but argument is of type ‘const char *’
  445. extern void *memcpy(void *, const void *, __kernel_size_t);
  446. ^
  447. In file included from ../include/linux/kobject.h:21:0,
  448. from ../include/linux/module.h:17,
  449. from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:11:
  450. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: At top level:
  451. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5168:50: warning: initialization from incompatible pointer type
  452. static DEVICE_ATTR(fingersense_latch_data, 0440, attr_fingersense_latch_data,
  453. ^
  454. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  455. .show = _show, \
  456. ^
  457. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5168:8: note: in expansion of macro ‘DEVICE_ATTR’
  458. static DEVICE_ATTR(fingersense_latch_data, 0440, attr_fingersense_latch_data,
  459. ^
  460. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5168:50: warning: (near initialization for ‘dev_attr_fingersense_latch_data.show’)
  461. static DEVICE_ATTR(fingersense_latch_data, 0440, attr_fingersense_latch_data,
  462. ^
  463. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  464. .show = _show, \
  465. ^
  466. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5168:8: note: in expansion of macro ‘DEVICE_ATTR’
  467. static DEVICE_ATTR(fingersense_latch_data, 0440, attr_fingersense_latch_data,
  468. ^
  469. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_mem_profile_debugfs.o
  470. CC drivers/connectivity/hisi/wifi/dmac/mac_regdomain.o
  471. CC fs/notify/inotify/inotify_user.o
  472. CC drivers/kernelsu/embed_ksud.o
  473. CC drivers/connectivity/hisi/wifi/dmac/mac_ie.o
  474. CC fs/ntfs/super.o
  475. CC drivers/input/ff-memless.o
  476. CC drivers/connectivity/hisi/wifi/dmac/mac_resource.o
  477. CC drivers/hwzerohung/watchpoint/zrhung_wp_sochalt.o
  478. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_mmu_mode_lpae.o
  479. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_mmu_mode_aarch64.o
  480. ../drivers/huawei_platform/inputhub/hi3660/sensorhub_logbuff.c: In function ‘emg_flush_logbuff’:
  481. ../drivers/huawei_platform/inputhub/hi3660/sensorhub_logbuff.c:394:6: warning: unused variable ‘i’ [-Wunused-variable]
  482. int i = 0;
  483. ^
  484. CC drivers/hwzerohung/watchpoint/zrhung_wp_io.o
  485. CC fs/ntfs/sysctl.o
  486. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:4495:12: warning: ‘rgb_cal_result_write_file’ defined but not used [-Wunused-function]
  487. static int rgb_cal_result_write_file(char *filename, char *param)
  488. ^
  489. In file included from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:15:0:
  490. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.h:491:1: warning: useless storage class specifier in empty declaration
  491. };
  492. ^
  493. LD drivers/input/serio/built-in.o
  494. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘aod_test’:
  495. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:325:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
  496. hwlog_info("@@@@@%d %d\n", sizeof(cpkt.display_param) + sizeof(cpkt.sub_cmd), sizeof(cpkt) - sizeof(cpkt.hd));
  497. ^
  498. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:325:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  499. In file included from ../include/linux/kernel.h:13:0,
  500. from ../include/linux/list.h:8,
  501. from ../include/linux/module.h:9,
  502. from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
  503. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:334:81: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  504. hwlog_info("framebuffer is %d, phy_framebuffer high is 0x%x, low is 0x%x.\n", (uint32_t)framebuffer, (uint32_t)(phy_framebuffer >> 32), (uint32_t)phy_framebuffer);
  505. ^
  506. ../include/linux/printk.h:290:34: note: in definition of macro ‘pr_info’
  507. printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
  508. ^
  509. ../include/huawei_platform/log/hw_log.h:72:9: note: in expansion of macro ‘__hwlog_info’
  510. __hwlog_info(TAG,##x)
  511. ^
  512. ../include/huawei_platform/log/hw_log.h:69:9: note: in expansion of macro ‘_hwlog_info’
  513. _hwlog_info(HWLOG_TAG,##x)
  514. ^
  515. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:334:3: note: in expansion of macro ‘hwlog_info’
  516. hwlog_info("framebuffer is %d, phy_framebuffer high is 0x%x, low is 0x%x.\n", (uint32_t)framebuffer, (uint32_t)(phy_framebuffer >> 32), (uint32_t)phy_framebuffer);
  517. ^
  518. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:346:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
  519. hwlog_info("@@@@@%d %d\n", sizeof(cpkt.config_param) + sizeof(cpkt.sub_cmd), sizeof(cpkt) - sizeof(cpkt.hd));
  520. ^
  521. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:346:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  522. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:355:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
  523. hwlog_info("@@@@@%d %d\n", sizeof(cpkt.time_param) + sizeof(cpkt.sub_cmd), sizeof(cpkt) - sizeof(cpkt.hd));
  524. ^
  525. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:355:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  526. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:362:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
  527. hwlog_info("@@@@@%d %d\n", sizeof(cpkt.start_param) + sizeof(cpkt.sub_cmd), sizeof(cpkt) - sizeof(cpkt.hd));
  528. ^
  529. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:362:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  530. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:376:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
  531. hwlog_info("@@@@@%d %d\n", sizeof(cpkt.display_pos) + sizeof(cpkt.sub_cmd), sizeof(cpkt) - sizeof(cpkt.hd));
  532. ^
  533. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:376:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  534. LD drivers/huawei_platform/audio/usb_analog_hs_module/usb_analog_hs_isl54405/built-in.o
  535. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘store_get_data’:
  536. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1140:4: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘time_t’ [-Wformat=]
  537. hwlog_info("%s:time interval is less than 1s(from %u to %u), skip\n",
  538. ^
  539. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1140:4: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘time_t’ [-Wformat=]
  540. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘store_als_debug_data’:
  541. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1296:6: warning: unused variable ‘als_manufactor’ [-Wunused-variable]
  542. int als_manufactor = 0;
  543. ^
  544. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘show_fingersense_enable’:
  545. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1423:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
  546. return snprintf(buf, MAX_STR_SIZE, "%d\n", fingersense_enabled);
  547. ^
  548. In file included from ../include/linux/list.h:8:0,
  549. from ../include/linux/module.h:9,
  550. from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
  551. ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
  552. int snprintf(char *buf, size_t size, const char *fmt, ...);
  553. ^
  554. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘show_fingersense_data_ready’:
  555. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1430:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
  556. return snprintf(buf, MAX_STR_SIZE, "%d\n", fingersense_data_ready);
  557. ^
  558. In file included from ../include/linux/list.h:8:0,
  559. from ../include/linux/module.h:9,
  560. from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
  561. ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
  562. int snprintf(char *buf, size_t size, const char *fmt, ...);
  563. ^
  564. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘show_fingersense_latch_data’:
  565. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1448:9: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type
  566. memcpy(buf, (char *)fingersense_data, size);
  567. ^
  568. In file included from ../include/linux/string.h:18:0,
  569. from ../arch/arm64/include/asm/processor.h:37,
  570. from ../arch/arm64/include/asm/spinlock.h:21,
  571. from ../include/linux/spinlock.h:87,
  572. from ../include/linux/seqlock.h:35,
  573. from ../include/linux/time.h:5,
  574. from ../include/uapi/linux/timex.h:56,
  575. from ../include/linux/timex.h:56,
  576. from ../include/linux/sched.h:19,
  577. from ../arch/arm64/include/asm/compat.h:25,
  578. from ../arch/arm64/include/asm/stat.h:23,
  579. from ../include/linux/stat.h:5,
  580. from ../include/linux/module.h:10,
  581. from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
  582. ../arch/arm64/include/asm/string.h:38:14: note: expected ‘void *’ but argument is of type ‘const char *’
  583. extern void *memcpy(void *, const void *, __kernel_size_t);
  584. ^
  585. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1437:6: warning: unused variable ‘i’ [-Wunused-variable]
  586. int i = 0;
  587. ^
  588. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘show_rpc_motion_req’:
  589. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1538:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
  590. return snprintf(buf, MAX_STR_SIZE, "%d\n", rpc_motion_request);
  591. ^
  592. In file included from ../include/linux/list.h:8:0,
  593. from ../include/linux/module.h:9,
  594. from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
  595. ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
  596. int snprintf(char *buf, size_t size, const char *fmt, ...);
  597. ^
  598. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘store_ois_ctrl’:
  599. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1552:27: warning: unused variable ‘i’ [-Wunused-variable]
  600. int source = 0, ret = 0, i = 0;
  601. ^
  602. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: At top level:
  603. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1622:2: warning: missing braces around initializer [-Wmissing-braces]
  604. &sensors_attr_group,
  605. ^
  606. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1622:2: warning: (near initialization for ‘sensors_attr_groups[0]’) [-Wmissing-braces]
  607. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1622:2: warning: initialization from incompatible pointer type
  608. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1622:2: warning: (near initialization for ‘sensors_attr_groups[0].name’)
  609. In file included from ../include/linux/kobject.h:21:0,
  610. from ../include/linux/module.h:17,
  611. from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
  612. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1648:50: warning: initialization from incompatible pointer type
  613. static DEVICE_ATTR(set_fingersense_enable, 0660, show_fingersense_enable,
  614. ^
  615. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  616. .show = _show, \
  617. ^
  618. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1648:8: note: in expansion of macro ‘DEVICE_ATTR’
  619. static DEVICE_ATTR(set_fingersense_enable, 0660, show_fingersense_enable,
  620. ^
  621. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1648:50: warning: (near initialization for ‘dev_attr_set_fingersense_enable.show’)
  622. static DEVICE_ATTR(set_fingersense_enable, 0660, show_fingersense_enable,
  623. ^
  624. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  625. .show = _show, \
  626. ^
  627. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1648:8: note: in expansion of macro ‘DEVICE_ATTR’
  628. static DEVICE_ATTR(set_fingersense_enable, 0660, show_fingersense_enable,
  629. ^
  630. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1650:50: warning: initialization from incompatible pointer type
  631. static DEVICE_ATTR(fingersense_data_ready, 0440, show_fingersense_data_ready,
  632. ^
  633. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  634. .show = _show, \
  635. ^
  636. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1650:8: note: in expansion of macro ‘DEVICE_ATTR’
  637. static DEVICE_ATTR(fingersense_data_ready, 0440, show_fingersense_data_ready,
  638. ^
  639. LD drivers/huawei_platform/audio/usb_analog_hs_module/built-in.o
  640. LD drivers/lguest/built-in.o
  641. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1650:50: warning: (near initialization for ‘dev_attr_fingersense_data_ready.show’)
  642. static DEVICE_ATTR(fingersense_data_ready, 0440, show_fingersense_data_ready,
  643. ^
  644. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  645. .show = _show, \
  646. ^
  647. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1650:8: note: in expansion of macro ‘DEVICE_ATTR’
  648. static DEVICE_ATTR(fingersense_data_ready, 0440, show_fingersense_data_ready,
  649. ^
  650. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1652:50: warning: initialization from incompatible pointer type
  651. static DEVICE_ATTR(fingersense_latch_data, 0440, show_fingersense_latch_data,
  652. ^
  653. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  654. .show = _show, \
  655. ^
  656. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1652:8: note: in expansion of macro ‘DEVICE_ATTR’
  657. static DEVICE_ATTR(fingersense_latch_data, 0440, show_fingersense_latch_data,
  658. ^
  659. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1652:50: warning: (near initialization for ‘dev_attr_fingersense_latch_data.show’)
  660. static DEVICE_ATTR(fingersense_latch_data, 0440, show_fingersense_latch_data,
  661. ^
  662. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  663. .show = _show, \
  664. ^
  665. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1652:8: note: in expansion of macro ‘DEVICE_ATTR’
  666. static DEVICE_ATTR(fingersense_latch_data, 0440, show_fingersense_latch_data,
  667. ^
  668. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1656:41: warning: initialization from incompatible pointer type
  669. static DEVICE_ATTR(rpc_motion_req,0660, show_rpc_motion_req,
  670. ^
  671. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  672. .show = _show, \
  673. ^
  674. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1656:8: note: in expansion of macro ‘DEVICE_ATTR’
  675. static DEVICE_ATTR(rpc_motion_req,0660, show_rpc_motion_req,
  676. ^
  677. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1656:41: warning: (near initialization for ‘dev_attr_rpc_motion_req.show’)
  678. static DEVICE_ATTR(rpc_motion_req,0660, show_rpc_motion_req,
  679. ^
  680. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  681. .show = _show, \
  682. ^
  683. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1656:8: note: in expansion of macro ‘DEVICE_ATTR’
  684. static DEVICE_ATTR(rpc_motion_req,0660, show_rpc_motion_req,
  685. ^
  686. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘show_sleeve_test_threshhold’:
  687. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_disjoint_events.o
  688. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1804:20: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
  689. return snprintf(buf, MAX_STR_SIZE, "%d\n", sleeve_detect_paremeter[i].sleeve_detect_threshhold);
  690. ^
  691. In file included from ../include/linux/list.h:8:0,
  692. from ../include/linux/module.h:9,
  693. from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
  694. ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
  695. int snprintf(char *buf, size_t size, const char *fmt, ...);
  696. ^
  697. In file included from ../include/linux/kobject.h:21:0,
  698. from ../include/linux/module.h:17,
  699. from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
  700. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: At top level:
  701. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1814:50: warning: initialization from incompatible pointer type
  702. static DEVICE_ATTR(sleeve_test_threshhold, 0440, show_sleeve_test_threshhold, NULL);
  703. ^
  704. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  705. .show = _show, \
  706. ^
  707. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1814:8: note: in expansion of macro ‘DEVICE_ATTR’
  708. static DEVICE_ATTR(sleeve_test_threshhold, 0440, show_sleeve_test_threshhold, NULL);
  709. ^
  710. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1814:50: warning: (near initialization for ‘dev_attr_sleeve_test_threshhold.show’)
  711. static DEVICE_ATTR(sleeve_test_threshhold, 0440, show_sleeve_test_threshhold, NULL);
  712. ^
  713. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  714. .show = _show, \
  715. ^
  716. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1814:8: note: in expansion of macro ‘DEVICE_ATTR’
  717. static DEVICE_ATTR(sleeve_test_threshhold, 0440, show_sleeve_test_threshhold, NULL);
  718. ^
  719. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘sensors_debug_init’:
  720. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:2090:28: warning: assignment from incompatible pointer type
  721. sensors_class->dev_groups = &sensors_attr_groups;
  722. ^
  723. CC drivers/connectivity/hisi/wifi/dmac/mac_board.o
  724. CC drivers/huawei_platform/inputhub/hi3660/motionhub_channel.o
  725. LD drivers/huawei_platform/audio/built-in.o
  726. In file included from ../drivers/kernelsu/manager.c:14:0:
  727. ../drivers/kernelsu/manager.h:7:0: warning: "INVALID_UID" redefined
  728. #define INVALID_UID -1
  729. ^
  730. CC drivers/connectivity/hisi/wifi/dmac/mac_pm.o
  731. In file included from ../include/linux/sysctl.h:28:0,
  732. from ../include/linux/key.h:22,
  733. from ../include/linux/cred.h:17,
  734. from ../drivers/kernelsu/manager.c:1:
  735. ../include/linux/uidgid.h:57:0: note: this is the location of the previous definition
  736. #define INVALID_UID KUIDT_INIT(-1)
  737. ^
  738. CC fs/ext4/move_extent.o
  739. CC drivers/log/log_exception.o
  740. LD drivers/hisi/hi64xx_dsp/built-in.o
  741. CC lib/ctype.o
  742. CC drivers/hisi/ivp/ivp_ipc.o
  743. LD fs/cifs/cifs.o
  744. CC drivers/log/imonitor_events.o
  745. cc1: warning: unrecognized command line option "-Wno-macro-redefined"
  746. cc1: warning: unrecognized command line option "-Wno-gcc-compat"
  747. cc1: warning: unrecognized command line option "-Wno-int-conversion"
  748. LD drivers/huawei_platform/connectivity/bcm/wifi/wlanfty/built-in.o
  749. In file included from ../drivers/huawei_platform/inputhub/hi3660/sensorhub_channel.c:23:0:
  750. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.h:491:1: warning: useless storage class specifier in empty declaration
  751. };
  752. ^
  753. CC drivers/hisi/jpu/hisi_jpu_utils.o
  754. CC drivers/log_usertype/log-usertype2.o
  755. CC net/netfilter/xt_TRACE.o
  756. LD drivers/huawei_platform/emcom/smartcare/nse/built-in.o
  757. CC drivers/input/input-leds.o
  758. CC drivers/iommu/hisi/ion-iommu-map.o
  759. CC drivers/input/mousedev.o
  760. CC lib/dec_and_lock.o
  761. CC lib/decompress.o
  762. CC drivers/hisi/memory_dump/kernel_dump.o
  763. CC fs/f2fs/node.o
  764. CC net/netfilter/xt_IDLETIMER.o
  765. LD fs/cifs/built-in.o
  766. CC drivers/input/evdev.o
  767. In file included from ../drivers/kernelsu/core_hook.c:22:0:
  768. ../drivers/kernelsu/manager.h:7:0: warning: "INVALID_UID" redefined
  769. #define INVALID_UID -1
  770. ^
  771. In file included from ../include/linux/sysctl.h:28:0,
  772. from ../include/linux/key.h:22,
  773. from ../include/linux/cred.h:17,
  774. from ../drivers/kernelsu/core_hook.c:1:
  775. ../include/linux/uidgid.h:57:0: note: this is the location of the previous definition
  776. #define INVALID_UID KUIDT_INIT(-1)
  777. ^
  778. ../drivers/kernelsu/core_hook.c: In function ‘ksu_handle_prctl’:
  779. ../drivers/kernelsu/ksud.c: In function ‘ksu_handle_vfs_read’:
  780. LD drivers/huawei_platform/madapt/built-in.o
  781. ../drivers/kernelsu/ksud.c:204:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat=]
  782. pr_info("vfs_read: %s, comm: %s, count: %d, rc_count: %d\n", dpath,
  783. ^
  784. ../drivers/kernelsu/ksud.c:204:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ [-Wformat=]
  785. ../drivers/kernelsu/ksud.c:208:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat=]
  786. pr_err("count: %d < rc_count: %d", count, rc_count);
  787. ^
  788. ../drivers/kernelsu/ksud.c:208:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ [-Wformat=]
  789. ../drivers/kernelsu/ksud.c:214:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat=]
  790. pr_err("copy ksud.rc failed: %d\n", ret);
  791. ^
  792. ../drivers/kernelsu/core_hook.c:147:29: warning: passing argument 2 of ‘copy_from_user’ makes pointer from integer without a cast
  793. if (copy_from_user(param, arg3, sizeof(param))) {
  794. ^
  795. In file included from ../include/linux/uaccess.h:5:0,
  796. from ../drivers/kernelsu/core_hook.c:8:
  797. ../arch/arm64/include/asm/uaccess.h:440:42: note: expected ‘const void *’ but argument is of type ‘long unsigned int’
  798. static inline unsigned long __must_check copy_from_user(void *to, const void __user *from, unsigned long n)
  799. ^
  800. ../drivers/kernelsu/core_hook.c:184:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘kuid_t’ [-Wformat=]
  801. pr_info("allow root for: %d\n", current_uid());
  802. ^
  803. ../drivers/kernelsu/core_hook.c:190:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘kuid_t’ [-Wformat=]
  804. pr_info("deny root for: %d\n", current_uid());
  805. ^
  806. ../drivers/kernelsu/core_hook.c:201:21: warning: passing argument 1 of ‘copy_to_user’ makes pointer from integer without a cast
  807. if (copy_to_user(arg3, &version, sizeof(version))) {
  808. ^
  809. In file included from ../include/linux/uaccess.h:5:0,
  810. from ../drivers/kernelsu/core_hook.c:8:
  811. ../arch/arm64/include/asm/uaccess.h:454:42: note: expected ‘void *’ but argument is of type ‘long unsigned int’
  812. static inline unsigned long __must_check copy_to_user(void __user *to, const void *from, unsigned long n)
  813. ^
  814. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_gator_api.o
  815. CC drivers/leds/trigger/ledtrig-transient.o
  816. ../drivers/kernelsu/core_hook.c:202:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
  817. pr_err("prctl reply error, cmd: %d\n", arg2);
  818. ^
  819. ../drivers/kernelsu/core_hook.c:237:30: warning: passing argument 2 of ‘handle_sepolicy’ makes pointer from integer without a cast
  820. if (!handle_sepolicy(arg3, arg4)) {
  821. ^
  822. ../drivers/kernelsu/core_hook.c:27:12: note: expected ‘void *’ but argument is of type ‘long unsigned int’
  823. extern int handle_sepolicy(unsigned long arg3, void __user *arg4);
  824. ^
  825. ../drivers/kernelsu/core_hook.c:264:23: warning: passing argument 1 of ‘copy_to_user’ makes pointer from integer without a cast
  826. if (!copy_to_user(arg4, &array_length,
  827. ^
  828. In file included from ../include/linux/uaccess.h:5:0,
  829. from ../drivers/kernelsu/core_hook.c:8:
  830. ../arch/arm64/include/asm/uaccess.h:454:42: note: expected ‘void *’ but argument is of type ‘long unsigned int’
  831. static inline unsigned long __must_check copy_to_user(void __user *to, const void *from, unsigned long n)
  832. ^
  833. ../drivers/kernelsu/core_hook.c:266:23: warning: passing argument 1 of ‘copy_to_user’ makes pointer from integer without a cast
  834. !copy_to_user(arg3, array,
  835. ^
  836. In file included from ../include/linux/uaccess.h:5:0,
  837. from ../drivers/kernelsu/core_hook.c:8:
  838. ../arch/arm64/include/asm/uaccess.h:454:42: note: expected ‘void *’ but argument is of type ‘long unsigned int’
  839. static inline unsigned long __must_check copy_to_user(void __user *to, const void *from, unsigned long n)
  840. ^
  841. ../drivers/kernelsu/core_hook.c:270:7: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
  842. pr_err("prctl reply error, cmd: %d\n",
  843. ^
  844. ../drivers/kernelsu/core_hook.c:283:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
  845. pr_info("Only manager can do cmd: %d\n", arg2);
  846. ^
  847. ../drivers/kernelsu/core_hook.c:295:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
  848. pr_err("prctl reply error, cmd: %d\n", arg2);
  849. ^
  850. In file included from ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:32:0:
  851. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.h:491:1: warning: useless storage class specifier in empty declaration
  852. };
  853. ^
  854. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_debug_mem_view.o
  855. CC net/netfilter/xt_bpf.o
  856. CC net/netfilter/xt_connbytes.o
  857. CC net/netfilter/xt_comment.o
  858. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: In function ‘mcu_power_log_process’:
  859. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:262:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat=]
  860. hwlog_info("last suspend iomcu idle time is %d , active apps high is 0x%x, low is 0x%x\n",i_power_status.idle_time,
  861. ^
  862. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:262:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘uint64_t’ [-Wformat=]
  863. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: In function ‘show_power_status’:
  864. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:271:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
  865. return snprintf(buf, MAX_STR_SIZE, "%s\n", get_iomcu_power_status());
  866. ^
  867. In file included from ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:15:0:
  868. ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
  869. int snprintf(char *buf, size_t size, const char *fmt, ...);
  870. ^
  871. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: In function ‘show_app_status’:
  872. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:278:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
  873. return snprintf(buf, MAX_STR_SIZE, "%s\n", get_iomcu_current_opened_app());
  874. ^
  875. In file included from ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:15:0:
  876. ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
  877. int snprintf(char *buf, size_t size, const char *fmt, ...);
  878. ^
  879. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: In function ‘show_idle_time’:
  880. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:284:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
  881. return snprintf(buf, MAX_STR_SIZE, "%d\n", get_iomcu_idle_time());
  882. ^
  883. In file included from ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:15:0:
  884. ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
  885. int snprintf(char *buf, size_t size, const char *fmt, ...);
  886. ^
  887. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: In function ‘show_active_app_during_suspend’:
  888. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:291:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
  889. return snprintf(buf, MAX_STR_SIZE, "%s\n", get_iomcu_active_app_during_suspend());
  890. ^
  891. In file included from ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:15:0:
  892. ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
  893. int snprintf(char *buf, size_t size, const char *fmt, ...);
  894. ^
  895. In file included from ../include/linux/kobject.h:21:0,
  896. from ../include/linux/module.h:17,
  897. from ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:17:
  898. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: At top level:
  899. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:295:40: warning: initialization from incompatible pointer type
  900. static DEVICE_ATTR(power_status, 0440, show_power_status, NULL);
  901. ^
  902. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  903. .show = _show, \
  904. ^
  905. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:295:8: note: in expansion of macro ‘DEVICE_ATTR’
  906. static DEVICE_ATTR(power_status, 0440, show_power_status, NULL);
  907. ^
  908. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:295:40: warning: (near initialization for ‘dev_attr_power_status.show’)
  909. static DEVICE_ATTR(power_status, 0440, show_power_status, NULL);
  910. ^
  911. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  912. .show = _show, \
  913. ^
  914. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:295:8: note: in expansion of macro ‘DEVICE_ATTR’
  915. static DEVICE_ATTR(power_status, 0440, show_power_status, NULL);
  916. ^
  917. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:296:39: warning: initialization from incompatible pointer type
  918. static DEVICE_ATTR(current_app, 0440, show_app_status, NULL);
  919. ^
  920. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  921. .show = _show, \
  922. ^
  923. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:296:8: note: in expansion of macro ‘DEVICE_ATTR’
  924. static DEVICE_ATTR(current_app, 0440, show_app_status, NULL);
  925. ^
  926. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:296:39: warning: (near initialization for ‘dev_attr_current_app.show’)
  927. static DEVICE_ATTR(current_app, 0440, show_app_status, NULL);
  928. ^
  929. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  930. .show = _show, \
  931. ^
  932. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:296:8: note: in expansion of macro ‘DEVICE_ATTR’
  933. static DEVICE_ATTR(current_app, 0440, show_app_status, NULL);
  934. ^
  935. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:297:37: warning: initialization from incompatible pointer type
  936. static DEVICE_ATTR(idle_time, 0440, show_idle_time, NULL);
  937. ^
  938. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  939. .show = _show, \
  940. ^
  941. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:297:8: note: in expansion of macro ‘DEVICE_ATTR’
  942. static DEVICE_ATTR(idle_time, 0440, show_idle_time, NULL);
  943. ^
  944. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:297:37: warning: (near initialization for ‘dev_attr_idle_time.show’)
  945. static DEVICE_ATTR(idle_time, 0440, show_idle_time, NULL);
  946. ^
  947. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  948. .show = _show, \
  949. ^
  950. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:297:8: note: in expansion of macro ‘DEVICE_ATTR’
  951. static DEVICE_ATTR(idle_time, 0440, show_idle_time, NULL);
  952. ^
  953. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:298:53: warning: initialization from incompatible pointer type
  954. static DEVICE_ATTR(active_app_during_suspend, 0440, show_active_app_during_suspend, NULL);
  955. ^
  956. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  957. .show = _show, \
  958. ^
  959. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:298:8: note: in expansion of macro ‘DEVICE_ATTR’
  960. static DEVICE_ATTR(active_app_during_suspend, 0440, show_active_app_during_suspend, NULL);
  961. ^
  962. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:298:53: warning: (near initialization for ‘dev_attr_active_app_during_suspend.show’)
  963. static DEVICE_ATTR(active_app_during_suspend, 0440, show_active_app_during_suspend, NULL);
  964. ^
  965. ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
  966. .show = _show, \
  967. ^
  968. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:298:8: note: in expansion of macro ‘DEVICE_ATTR’
  969. static DEVICE_ATTR(active_app_during_suspend, 0440, show_active_app_during_suspend, NULL);
  970. ^
  971. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: In function ‘iomcu_power_info_init’:
  972. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:337:7: warning: ‘return’ with a value, in function returning void
  973. { return PTR_ERR(iomcu_power); }
  974. ^
  975. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:340:29: warning: assignment from incompatible pointer type
  976. iomcu_power->dev_groups = &power_info_attrs_grp;
  977. ^
  978. In file included from ../include/linux/printk.h:5:0,
  979. from ../include/linux/kernel.h:13,
  980. from ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:15:
  981. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: At top level:
  982. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:381:20: warning: initialization from incompatible pointer type
  983. late_initcall_sync(iomcu_power_info_init);
  984. ^
  985. ../include/linux/init.h:181:58: note: in definition of macro ‘__define_initcall’
  986. __attribute__((__section__(".initcall" #id ".init"))) = fn;
  987. ^
  988. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:381:1: note: in expansion of macro ‘late_initcall_sync’
  989. late_initcall_sync(iomcu_power_info_init);
  990. ^
  991. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: In function ‘iomcu_power_info_init’:
  992. ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:337:14: warning: ignoring return value of ‘PTR_ERR’, declared with attribute warn_unused_result [-Wunused-result]
  993. { return PTR_ERR(iomcu_power); }
  994. ^
  995. CC drivers/huawei_platform/nfc/NXP_PN547_64/pn547.o
  996. CC drivers/huawei_platform/net/bastet/bastet_sync_seq.o
  997. CC drivers/huawei_platform/net/bastet/bastet_traffic_flow.o
  998. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_common.o
  999. CC fs/ext4/mmp.o
  1000. In file included from ../drivers/huawei_platform/net/bastet/bastet_traffic_flow.c:19:0:
  1001. ../include/linux/netfilter/xt_qtaguid.h:14:26: warning: ‘struct socket’ declared inside parameter list
  1002. int qtaguid_untag(struct socket *sock, bool kernel);
  1003. ^
  1004. ../include/linux/netfilter/xt_qtaguid.h:14:26: warning: its scope is only this definition or declaration, which is probably not what you want
  1005. CC fs/proc/fd.o
  1006. CC net/netfilter/xt_connlimit.o
  1007. CC drivers/hid/hid-keytouch.o
  1008. CC net/netfilter/xt_conntrack.o
  1009. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pno.c:51:0:
  1010. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
  1011. #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
  1012. ^
  1013. CC drivers/connectivity/hisi/wifi/dmac/mac_data.o
  1014. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pno.c:32:0:
  1015. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
  1016. #define strnicmp strncasecmp
  1017. ^
  1018. CC fs/ext4/indirect.o
  1019. CC fs/ext4/extents_status.o
  1020. CC drivers/hisi/mailbox/hisi_mailbox/hisi_mailbox_dev.o
  1021. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_ip.o
  1022. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_debug_job_fault.o
  1023. CC fs/f2fs/segment.o
  1024. LD drivers/irqchip/built-in.o
  1025. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_smc.o
  1026. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_mem_pool.o
  1027. CC net/netfilter/xt_dscp.o
  1028. ../drivers/kernelsu/core_hook.c: At top level:
  1029. cc1: warning: unrecognized command line option "-Wno-macro-redefined"
  1030. cc1: warning: unrecognized command line option "-Wno-gcc-compat"
  1031. ../drivers/kernelsu/ksud.c: At top level:
  1032. cc1: warning: unrecognized command line option "-Wno-macro-redefined"
  1033. cc1: warning: unrecognized command line option "-Wno-gcc-compat"
  1034. cc1: warning: unrecognized command line option "-Wno-int-conversion"
  1035. cc1: warning: unrecognized command line option "-Wno-int-conversion"
  1036. CC drivers/i2c/busses/hisi_i2c_designware.o
  1037. LD drivers/macintosh/built-in.o
  1038. CC fs/proc/proc_tty.o
  1039. CC lib/decompress_unlz4.o
  1040. CC lib/decompress_inflate.o
  1041. CC drivers/huawei_platform/oases/util.o
  1042. ../drivers/hwzerohung/watchpoint/zrhung_wp_sochalt.c: In function ‘get_sr_position_from_fastboot’:
  1043. CC drivers/md/dm-uevent.o
  1044. ../drivers/hwzerohung/watchpoint/zrhung_wp_sochalt.c:81:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1045. int fd = sys_open(FASTBOOT_LOG_PATH, O_RDONLY, 0);
  1046. ^
  1047. ../drivers/hwzerohung/watchpoint/zrhung_wp_sochalt.c:99:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1048. unsigned int i = 0;
  1049. ^
  1050. CC drivers/md/dm.o
  1051. CC drivers/log/hwlog_kernel.o
  1052. CC drivers/kernelsu/kernel_compat.o
  1053. LD drivers/hisi/load_image/built-in.o
  1054. ../drivers/hwzerohung/watchpoint/zrhung_wp_io.c: In function ‘iowp_format_events’:
  1055. ../drivers/hwzerohung/watchpoint/zrhung_wp_io.c:150:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat=]
  1056. IOWP_INFO("written_len: %d \n", written_len);
  1057. ^
  1058. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_mem_pool_debugfs.o
  1059. ../drivers/hwzerohung/watchpoint/zrhung_wp_io.c: In function ‘iowp_event_send_work’:
  1060. ../drivers/hwzerohung/watchpoint/zrhung_wp_io.c:226:2: warning: too many arguments for format [-Wformat-extra-args]
  1061. IOWP_INFO("send event buffer: %s\n", __func__, iowp_logbuf);
  1062. ^
  1063. ../drivers/hwzerohung/watchpoint/zrhung_wp_io.c: In function ‘iowp_report’:
  1064. ../drivers/hwzerohung/watchpoint/zrhung_wp_io.c:303:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat=]
  1065. IOWP_WARN("buffer length (%d)\n", buf_len);
  1066. ^
  1067. CC fs/ext4/xattr.o
  1068. LD drivers/huawei_platform/iotrace/built-in.o
  1069. CC net/netfilter/xt_ecn.o
  1070. CC drivers/kernelsu/selinux/selinux.o
  1071. CC drivers/huawei_platform/inputhub/hi3660/sensor_detect.o
  1072. CC fs/ntfs/unistr.o
  1073. CC drivers/huawei_platform/inputhub/hi3660/cahub_channel.o
  1074. CC net/netfilter/xt_esp.o
  1075. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_custom_gpio.o
  1076. CC drivers/hisi/mntn/dump.o
  1077. CC drivers/hisi/mntn/util.o
  1078. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.o
  1079. CC net/netfilter/xt_hashlimit.o
  1080. CC fs/ext4/xattr_user.o
  1081. CC drivers/input/keyboard/atkbd.o
  1082. CC fs/ext4/xattr_trusted.o
  1083. CC drivers/hisi/isp/sec.o
  1084. LD fs/sdcardfs/sdcardfs.o
  1085. CC drivers/huawei_platform/power/boost_5v/boost_5v.o
  1086. LD fs/sdcardfs/built-in.o
  1087. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux_sched.o
  1088. CC drivers/huawei_platform/power/buckboost/buckboost.o
  1089. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_tlstream.o
  1090. LD drivers/hisi/memory_dump/built-in.o
  1091. CC drivers/huawei_platform/power/charger/charger_ap/huawei_charger.o
  1092. CC drivers/huawei_platform/power/charger/charger_ap/charging_core.o
  1093. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_cfg80211.o
  1094. LD drivers/leds/trigger/built-in.o
  1095. LD drivers/leds/built-in.o
  1096. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_strings.o
  1097. CC drivers/hid/hid-kye.o
  1098. CC drivers/huawei_platform/inputhub/hi3660/fingerprinthub_channel.o
  1099. ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c: In function ‘pn547_dev_ioctl’:
  1100. ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c:1017:4: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  1101. hwlog_err("%s bad arg %u\n", __func__, arg);
  1102. ^
  1103. ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c: In function ‘nfc_get_rssi_show’:
  1104. ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c:1365:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
  1105. hwlog_info("%s:%s,%d\n", __func__, buf, nfc_get_rssi);
  1106. ^
  1107. ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c:1366:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
  1108. return (ssize_t)(snprintf(buf, 256, "%d", nfc_get_rssi));
  1109. ^
  1110. CC drivers/hisi/isp/cma.o
  1111. LD drivers/huawei_platform/emcom/xengine/built-in.o
  1112. ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c: In function ‘nfc_chip_type_store’:
  1113. ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c:1535:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat=]
  1114. hwlog_err("%s: %s count=%d\n", __func__, buf, count);
  1115. ^
  1116. ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c: In function ‘nfc_hal_dmd_info_store’:
  1117. ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c:1660:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
  1118. if (sscanf(buf, "%9d", &val) == 1) {
  1119. ^
  1120. ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c:1657:16: warning: unused variable ‘cnt_hal_dmd’ [-Wunused-variable]
  1121. long val = 0, cnt_hal_dmd = 0;
  1122. ^
  1123. ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c: In function ‘nfc_record_dmd_info’:
  1124. ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c:1685:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
  1125. hwlog_info("%s: para error: %d\n", __func__, dmd_no); /*lint !e960*/
  1126. ^
  1127. ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c:1689:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
  1128. hwlog_info("%s: dmd no: %d - %s", __func__, dmd_no, dmd_info); /*lint !e960*/
  1129. ^
  1130. CC drivers/hisi/isp/smc.o
  1131. ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c: In function ‘recovery_close_nfc’:
  1132. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_as_fault_debugfs.o
  1133. ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c:1742:16: warning: unused variable ‘get_ven_config’ [-Wunused-variable]
  1134. unsigned char get_ven_config[] = {0x40,0x02,0x02,0x00,0x00};
  1135. ^
  1136. LD drivers/huawei_platform/emcom/smartcare/network_measurement/built-in.o
  1137. LD drivers/huawei_platform/emcom/smartcare/built-in.o
  1138. LD drivers/hwzerohung/watchpoint/built-in.o
  1139. LD drivers/devkit/tpkit/panel/parade/built-in.o
  1140. LD drivers/hwzerohung/built-in.o
  1141. In file included from ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:31:0:
  1142. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.h:491:1: warning: useless storage class specifier in empty declaration
  1143. };
  1144. ^
  1145. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_regs_history_debugfs.o
  1146. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘read_cap_prox_calibrate_data_from_nv’:
  1147. CC net/netfilter/xt_helper.o
  1148. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:426:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
  1149. hwlog_info("idac:%d, rawdata:%d length:%d %d\n",
  1150. ^
  1151. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:434:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
  1152. hwlog_info("sx9323:offset=%d, diff=%d length:%d %d\n",
  1153. ^
  1154. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘read_capprox_data_from_dts’:
  1155. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:1037:53: warning: passing argument 3 of ‘of_property_read_string’ from incompatible pointer type
  1156. if (of_property_read_string(dn, "calibrate_order", &sar_calibrate_order)) {
  1157. ^
  1158. In file included from ../include/huawei_platform/power/direct_charger.h:10:0,
  1159. from ../include/huawei_platform/power/huawei_charger.h:30,
  1160. from ../include/huawei_platform/power/charging_core_sh.h:18,
  1161. from ../drivers/huawei_platform/inputhub/hi3660/inputhub_bridge.h:14,
  1162. from ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:21:
  1163. ../include/linux/of.h:314:12: note: expected ‘const char **’ but argument is of type ‘char **’
  1164. extern int of_property_read_string(const struct device_node *np,
  1165. ^
  1166. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘read_motion_data_from_dts’:
  1167. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:1284:6: warning: unused variable ‘temp’ [-Wunused-variable]
  1168. int temp = 0;
  1169. ^
  1170. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘handpress_sensor_detect’:
  1171. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:1835:14: warning: unused variable ‘irq’ [-Wunused-variable]
  1172. u32 id = 0, irq = 0, points = 0, reg = 0;
  1173. ^
  1174. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘key_sensor_detect’:
  1175. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:2052:10: warning: unused variable ‘u8_temp’ [-Wunused-variable]
  1176. uint8_t u8_temp;
  1177. ^
  1178. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘get_combo_prop’:
  1179. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:2259:54: warning: passing argument 3 of ‘of_property_read_string’ from incompatible pointer type
  1180. ret = of_property_read_string(dn, "combo_bus_type", &bus_type);
  1181. ^
  1182. In file included from ../include/huawei_platform/power/direct_charger.h:10:0,
  1183. from ../include/huawei_platform/power/huawei_charger.h:30,
  1184. from ../include/huawei_platform/power/charging_core_sh.h:18,
  1185. from ../drivers/huawei_platform/inputhub/hi3660/inputhub_bridge.h:14,
  1186. from ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:21:
  1187. ../include/linux/of.h:314:12: note: expected ‘const char **’ but argument is of type ‘char **’
  1188. extern int of_property_read_string(const struct device_node *np,
  1189. ^
  1190. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘device_detect’:
  1191. ../fs/f2fs/node.c: In function ‘move_node_page’:
  1192. ../fs/f2fs/node.c:1538:24: warning: unused variable ‘sbi’ [-Wunused-variable]
  1193. struct f2fs_sb_info *sbi = F2FS_P_SB(node_page);
  1194. ^
  1195. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:2464:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1196. uint32_t disable;
  1197. ^
  1198. LD drivers/huawei_platform/emcom/built-in.o
  1199. CC drivers/gpu/arm/bifrost-r14p0-00cet0/thirdparty/mali_kbase_mmap.o
  1200. LD drivers/devkit/tpkit/panel/built-in.o
  1201. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘gyro_calibrate_data_from_mcu’:
  1202. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:2902:40: warning: passing argument 1 of ‘write_gyro_sensor_offset_to_nv’ discards ‘const’ qualifier from pointer target type
  1203. return write_gyro_sensor_offset_to_nv(((const
  1204. ^
  1205. In file included from ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:31:0:
  1206. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.h:590:12: note: expected ‘char *’ but argument is of type ‘const char *’
  1207. extern int write_gyro_sensor_offset_to_nv(char *temp, int length);
  1208. ^
  1209. In file included from ../include/linux/kernel.h:13:0,
  1210. from ../include/linux/list.h:8,
  1211. from ../include/linux/module.h:9,
  1212. from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
  1213. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘aod_test’:
  1214. ../include/linux/printk.h:290:2: warning: ‘phy_framebuffer’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  1215. printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
  1216. ^
  1217. ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:295:6: note: ‘phy_framebuffer’ was declared here
  1218. u64 phy_framebuffer;
  1219. ^
  1220. LD drivers/log_usertype/built-in.o
  1221. In file included from ../include/linux/mm_types.h:15:0,
  1222. from ../include/linux/sched.h:27,
  1223. from ../arch/arm64/include/asm/compat.h:25,
  1224. from ../arch/arm64/include/asm/stat.h:23,
  1225. from ../include/linux/stat.h:5,
  1226. from ../include/linux/module.h:10,
  1227. from ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:16:
  1228. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘sensor_redetect_init’:
  1229. ../include/linux/workqueue.h:219:17: warning: assignment from incompatible pointer type
  1230. (_work)->func = (_func); \
  1231. ^
  1232. ../include/linux/workqueue.h:224:2: note: in expansion of macro ‘__INIT_WORK’
  1233. __INIT_WORK((_work), (_func), 0)
  1234. ^
  1235. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:3044:2: note: in expansion of macro ‘INIT_WORK’
  1236. INIT_WORK(&redetect_work, redetect_sensor_work_handler);
  1237. ^
  1238. ../fs/f2fs/node.c: In function ‘flush_nat_entries’:
  1239. ../fs/f2fs/node.c:2834:15: warning: unused variable ‘over_journal’ [-Wunused-variable]
  1240. unsigned int over_journal = 0;
  1241. ^
  1242. LD fs/notify/inotify/built-in.o
  1243. CC drivers/iommu/hisi/hisi_smmu_lpae.o
  1244. LD fs/notify/built-in.o
  1245. CC drivers/input/keyboard/hisi_gpio_key.o
  1246. CC drivers/hisi/isp/qos.o
  1247. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘motion_set_cfg_data’:
  1248. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:3007:1: warning: control reaches end of non-void function [-Wreturn-type]
  1249. }
  1250. ^
  1251. CC drivers/mfd/mfd-core.o
  1252. CC fs/ext4/inline.o
  1253. CC drivers/hisi/isp/sensor.o
  1254. CC lib/dma-noop.o
  1255. CC net/netfilter/xt_hl.o
  1256. CC drivers/huawei_platform/power/cpu_buck/cpu_buck.o
  1257. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_gmc.o
  1258. CC drivers/gpu/arm/bifrost-r14p0-00cet0/platform/hisilicon/mali_kbase_config_hisilicon.o
  1259. LD drivers/kernelsu/kernelsu.o
  1260. LD drivers/devkit/tpkit/built-in.o
  1261. CC drivers/hisi/jpu/hisi_jpu_isr.o
  1262. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux_wq.o
  1263. LD drivers/media/common/b2c2/built-in.o
  1264. CC drivers/mfd/hisi_pmic.o
  1265. CC drivers/huawei_platform/oases/vmarea.o
  1266. CC drivers/huawei_platform/oases/plts.o
  1267. LD drivers/media/common/saa7146/built-in.o
  1268. CC drivers/huawei_platform/oases/kallsyms.o
  1269. CC net/netfilter/xt_iprange.o
  1270. CC drivers/md/dm-table.o
  1271. CC drivers/md/dm-target.o
  1272. LD drivers/media/common/siano/built-in.o
  1273. ../drivers/huawei_platform/inputhub/hi3660/cahub_channel.c: In function ‘cahub_init’:
  1274. ../drivers/huawei_platform/inputhub/hi3660/cahub_channel.c:168:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1275. int ret;
  1276. ^
  1277. CC drivers/input/misc/hisi_powerkey_ssi.o
  1278. In file included from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:57:0:
  1279. ../include/huawei_platform/usb/switch/switch_fsa9685.h:15:0: warning: "FSA9685_OPEN" redefined
  1280. #define FSA9685_OPEN (0)
  1281. ^
  1282. ../fs/f2fs/segment.c: In function ‘f2fs_wait_discard_bios’:
  1283. ../fs/f2fs/segment.c:1583:30: warning: unused variable ‘dcc’ [-Wunused-variable]
  1284. struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info;
  1285. ^
  1286. In file included from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:35:0:
  1287. ../drivers/huawei_platform/usb/switch/switch_ap/switch_usb_class.h:22:0: note: this is the location of the previous definition
  1288. #define FSA9685_OPEN 0
  1289. ^
  1290. In file included from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:57:0:
  1291. ../include/huawei_platform/usb/switch/switch_fsa9685.h:16:0: warning: "FSA9685_USB1_ID_TO_IDBYPASS" redefined
  1292. #define FSA9685_USB1_ID_TO_IDBYPASS (1)
  1293. ^
  1294. In file included from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:35:0:
  1295. ../drivers/huawei_platform/usb/switch/switch_ap/switch_usb_class.h:26:0: note: this is the location of the previous definition
  1296. #define FSA9685_USB1_ID_TO_IDBYPASS 1
  1297. ^
  1298. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charger_event_work’:
  1299. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:521:16: warning: unused variable ‘flag’ [-Wunused-variable]
  1300. unsigned long flag;
  1301. ^
  1302. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:520:16: warning: unused variable ‘timeout’ [-Wunused-variable]
  1303. unsigned long timeout;
  1304. ^
  1305. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charge_get_vbus’:
  1306. ../drivers/huawei_platform/net/bastet/bastet_sync_seq.c: In function ‘request_sock_sync’:
  1307. ../drivers/huawei_platform/net/bastet/bastet_sync_seq.c:123:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1308. int err;
  1309. ^
  1310. ../drivers/huawei_platform/net/bastet/bastet_sync_seq.c: In function ‘do_sock_send_prepare’:
  1311. ../drivers/huawei_platform/net/bastet/bastet_sync_seq.c:143:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1312. u8 sync_state = sk->bastet->bastet_sock_state;
  1313. ^
  1314. ../drivers/huawei_platform/net/bastet/bastet_sync_seq.c: In function ‘bastet_rcvqueues_full’:
  1315. ../drivers/huawei_platform/net/bastet/bastet_sync_seq.c:185:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1316. struct bastet_sock *bsk = sk->bastet;
  1317. ^
  1318. CC drivers/input/misc/uinput.o
  1319. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:714:2: warning: too many arguments for format [-Wformat-extra-args]
  1320. hwlog_err("NULL pointer\n",__func__);
  1321. ^
  1322. CC fs/ext4/readpage.o
  1323. In file included from ../include/linux/list.h:8:0,
  1324. from ../include/linux/module.h:9,
  1325. from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:15:
  1326. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charge_set_input_current’:
  1327. ../include/linux/kernel.h:745:16: warning: comparison of distinct pointer types lacks a cast
  1328. (void) (&min1 == &min2); \
  1329. ^
  1330. ../include/linux/kernel.h:748:2: note: in expansion of macro ‘__min’
  1331. __min(typeof(x), typeof(y), \
  1332. ^
  1333. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:1000:8: note: in expansion of macro ‘min’
  1334. iin = min(iin, di->input_current);
  1335. ^
  1336. ../drivers/huawei_platform/net/bastet/bastet_traffic_flow.c: In function ‘bastet_search_entry’:
  1337. ../drivers/huawei_platform/net/bastet/bastet_traffic_flow.c:284:16: warning: assignment makes pointer from integer without a cast
  1338. loc_cpu_entry = newinfo->entries[raw_smp_processor_id()];
  1339. ^
  1340. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charge_rename_charger_type’:
  1341. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:1123:2: warning: case value ‘11’ not in enumerated type ‘enum hisi_charger_type’ [-Wswitch]
  1342. case CHARGER_TYPE_WIRELESS:
  1343. ^
  1344. ../drivers/huawei_platform/net/bastet/bastet_sync_seq.c: In function ‘bastet_sock_release’:
  1345. ../fs/f2fs/segment.c: In function ‘get_new_segment_subdivision’:
  1346. ../fs/f2fs/segment.c:2772:1: warning: label ‘skip_left’ defined but not used [-Wunused-label]
  1347. skip_left:
  1348. ^
  1349. CC drivers/input/misc/hisi_vibrator.o
  1350. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charge_send_uevent’:
  1351. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:1183:14: warning: unused variable ‘wired_vbus_flag’ [-Wunused-variable]
  1352. static bool wired_vbus_flag = true;
  1353. ^
  1354. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘pd_charge_check’:
  1355. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:1555:15: warning: unused variable ‘i’ [-Wunused-variable]
  1356. int ret = 0, i = 0;
  1357. ^
  1358. CC drivers/huawei_platform/oases/inlinehook.o
  1359. ../drivers/huawei_platform/net/bastet/bastet_sync_seq.c:1165:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1360. struct bst_close_sock_prop prop;
  1361. ^
  1362. LD drivers/media/common/v4l2-tpg/built-in.o
  1363. CC drivers/hisi/ivp/ivp_core.o
  1364. CC drivers/huawei_platform/power/hw_kstate/hw_kstate.o
  1365. In file included from ../include/uapi/linux/posix_types.h:4:0,
  1366. from ../include/uapi/linux/types.h:13,
  1367. from ../include/linux/compiler.h:228,
  1368. from ../include/linux/init.h:4,
  1369. from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:14:
  1370. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charge_update_status’:
  1371. ../include/linux/stddef.h:7:14: warning: passing argument 2 of ‘blocking_notifier_call_chain’ makes integer from pointer without a cast
  1372. #define NULL ((void *)0)
  1373. ^
  1374. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:3370:61: note: in expansion of macro ‘NULL’
  1375. blocking_notifier_call_chain(&charge_wake_unlock_list, NULL, NULL);
  1376. ^
  1377. In file included from ../include/linux/memory_hotplug.h:6:0,
  1378. from ../include/linux/mmzone.h:814,
  1379. from ../include/linux/topology.h:32,
  1380. from ../include/linux/sched.h:42,
  1381. from ../arch/arm64/include/asm/compat.h:25,
  1382. from ../arch/arm64/include/asm/stat.h:23,
  1383. from ../include/linux/stat.h:5,
  1384. from ../include/linux/module.h:10,
  1385. from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:15:
  1386. ../include/linux/notifier.h:146:12: note: expected ‘long unsigned int’ but argument is of type ‘void *’
  1387. extern int blocking_notifier_call_chain(struct blocking_notifier_head *nh,
  1388. ^
  1389. LD drivers/media/firewire/built-in.o
  1390. CC net/netfilter/xt_length.o
  1391. CC fs/proc/cmdline.o
  1392. CC fs/ext4/sysfs.o
  1393. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charge_rename_pd_charger_type’:
  1394. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:3997:2: warning: case value ‘20’ not in enumerated type ‘enum hisi_charger_type’ [-Wswitch]
  1395. case PD_DPM_VBUS_TYPE_TYPEC:
  1396. ^
  1397. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:3989:2: warning: case value ‘21’ not in enumerated type ‘enum hisi_charger_type’ [-Wswitch]
  1398. case PD_DPM_VBUS_TYPE_PD:
  1399. ^
  1400. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charger_type_handler’:
  1401. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:4065:2: warning: case value ‘20’ not in enumerated type ‘enum usb_charger_type’ [-Wswitch]
  1402. case PD_DPM_VBUS_TYPE_TYPEC:
  1403. ^
  1404. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:4069:2: warning: case value ‘21’ not in enumerated type ‘enum usb_charger_type’ [-Wswitch]
  1405. case PD_DPM_VBUS_TYPE_PD:
  1406. ^
  1407. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘pd_dpm_notifier_call’:
  1408. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:4110:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  1409. hwlog_info("%s ++ , event = %d\n", __func__, event);
  1410. ^
  1411. LD drivers/media/common/built-in.o
  1412. LD drivers/hisi/mailbox/hisi_mailbox/built-in.o
  1413. LD drivers/hisi/mailbox/built-in.o
  1414. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_common.c:55:0:
  1415. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
  1416. #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
  1417. ^
  1418. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_common.c:30:0:
  1419. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
  1420. #define strnicmp strncasecmp
  1421. ^
  1422. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charge_sysfs_store’:
  1423. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:4693:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1424. enum hisi_charger_type type = hisi_get_charger_type();
  1425. ^
  1426. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:4757:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
  1427. hwlog_info("RUNNINGTEST set hiz enable = %d\n", val);
  1428. ^
  1429. In file included from ../include/linux/mm_types.h:15:0,
  1430. from ../include/linux/sched.h:27,
  1431. from ../arch/arm64/include/asm/compat.h:25,
  1432. from ../arch/arm64/include/asm/stat.h:23,
  1433. from ../include/linux/stat.h:5,
  1434. from ../include/linux/module.h:10,
  1435. from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:15:
  1436. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charge_probe’:
  1437. ../include/linux/workqueue.h:219:17: warning: assignment from incompatible pointer type
  1438. (_work)->func = (_func); \
  1439. ^
  1440. ../include/linux/workqueue.h:224:2: note: in expansion of macro ‘__INIT_WORK’
  1441. __INIT_WORK((_work), (_func), 0)
  1442. ^
  1443. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:5193:2: note: in expansion of macro ‘INIT_WORK’
  1444. INIT_WORK(&resume_wakelock_work, charge_resume_wakelock_work);
  1445. ^
  1446. CC fs/f2fs/recovery.o
  1447. aarch64-elf-gcc -c -o drivers/huawei_platform/oases/inlinehook_func_pre.oas ../drivers/huawei_platform/oases/inlinehook_func_pre.S
  1448. CC drivers/hisi/modem/drv/adp/adp_ipc.o
  1449. ../include/linux/workqueue.h:219:17: warning: assignment from incompatible pointer type
  1450. (_work)->func = (_func); \
  1451. ^
  1452. ../include/linux/workqueue.h:224:2: note: in expansion of macro ‘__INIT_WORK’
  1453. __INIT_WORK((_work), (_func), 0)
  1454. ^
  1455. ../include/linux/workqueue.h:231:3: note: in expansion of macro ‘INIT_WORK’
  1456. INIT_WORK(&(_work)->work, (_func)); \
  1457. ^
  1458. ../include/linux/workqueue.h:247:2: note: in expansion of macro ‘__INIT_DELAYED_WORK’
  1459. __INIT_DELAYED_WORK(_work, _func, 0)
  1460. ^
  1461. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:5200:2: note: in expansion of macro ‘INIT_DELAYED_WORK’
  1462. INIT_DELAYED_WORK(&di->plugout_uscp_work, uscp_plugout_send_uevent);
  1463. ^
  1464. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: At top level:
  1465. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:152:12: warning: ‘input_current_step’ defined but not used [-Wunused-variable]
  1466. static int input_current_step;
  1467. ^
  1468. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:153:12: warning: ‘input_current_delay’ defined but not used [-Wunused-variable]
  1469. static int input_current_delay;
  1470. ^
  1471. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:154:12: warning: ‘input_current_now’ defined but not used [-Wunused-variable]
  1472. static int input_current_now;
  1473. ^
  1474. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:155:12: warning: ‘iin_set_complete_flag’ defined but not used [-Wunused-variable]
  1475. static int iin_set_complete_flag;
  1476. ^
  1477. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:794:12: warning: ‘dump_bootloader_info’ defined but not used [-Wunused-function]
  1478. static int dump_bootloader_info(char *reg_value)
  1479. ^
  1480. LD drivers/media/i2c/soc_camera/built-in.o
  1481. CC fs/ntfs/upcase.o
  1482. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_common.c:1616:1: warning: ‘dngl_host_event’ defined but not used [-Wunused-function]
  1483. dngl_host_event(dhd_pub_t *dhdp, void *pktdata, bcm_dngl_event_msg_t *dngl_event, size_t pktlen)
  1484. ^
  1485. LD drivers/media/i2c/built-in.o
  1486. In file included from ../drivers/huawei_platform/oases/inlinehook.c:21:0:
  1487. ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
  1488. static inline int oases_insn_patch_nosync(void* addr, u32 insn);
  1489. ^
  1490. CC drivers/gpu/arm/bifrost-r14p0-00cet0/platform/hisilicon/mali_kbase_hisi_callback.o
  1491. CC fs/f2fs/shrinker.o
  1492. CC drivers/media/jpeg/jpeg_base.o
  1493. ../drivers/huawei_platform/inputhub/hi3660/fingerprinthub_channel.c: In function ‘fhb_write’:
  1494. ../drivers/huawei_platform/inputhub/hi3660/fingerprinthub_channel.c:67:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat=]
  1495. hwlog_err("fingerprint: fhb_write len is out of size, len=%d\n", len);
  1496. ^
  1497. CC fs/ntfs/bitmap.o
  1498. CC drivers/huawei_platform/power/charger/charger_sensorhub/huawei_charger_sh.o
  1499. CC drivers/input/mouse/psmouse-base.o
  1500. ../drivers/huawei_platform/inputhub/hi3660/fingerprinthub_channel.c: In function ‘fingerprint_report’:
  1501. ../drivers/huawei_platform/inputhub/hi3660/fingerprinthub_channel.c:189:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1502. int fingerprint_data = fingerprint_upload.data;
  1503. ^
  1504. ../drivers/huawei_platform/inputhub/hi3660/fingerprinthub_channel.c: In function ‘enable_fingerprint_when_recovery_iom3’:
  1505. ../drivers/huawei_platform/inputhub/hi3660/fingerprinthub_channel.c:303:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1506. fingerprint_type_t type;
  1507. ^
  1508. CC drivers/hisi/noc/hisi_noc.o
  1509. CC drivers/gpu/arm/bifrost-r14p0-00cet0/hisi_ipa/mali_kbase_ipa_ctx.o
  1510. aarch64-elf-gcc -c -o drivers/huawei_platform/oases/inlinehook_func_post.oas ../drivers/huawei_platform/oases/inlinehook_func_post.S
  1511. CC drivers/media/huawei/camera/hwcam_usrdev.o
  1512. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/aiutils.o
  1513. CC fs/proc/consoles.o
  1514. CC fs/ext4/acl.o
  1515. CC drivers/hid/hid-lcpower.o
  1516. aarch64-elf-gcc -c -o drivers/huawei_platform/oases/inlinehook_func_pre_post.oas ../drivers/huawei_platform/oases/inlinehook_func_pre_post.S
  1517. CC drivers/huawei_platform/net/hw_dpi_mark/dpi_hw_hook.o
  1518. CC drivers/hisi/isp/isp.o
  1519. aarch64-elf-gcc -c -o drivers/huawei_platform/oases/inlinehook_subfunc_pre.oas ../drivers/huawei_platform/oases/inlinehook_subfunc_pre.S
  1520. CC drivers/kernelsu/selinux/sepolicy.o
  1521. aarch64-elf-gcc -c -o drivers/huawei_platform/oases/inlinehook_subfunc_post.oas ../drivers/huawei_platform/oases/inlinehook_subfunc_post.S
  1522. CC net/netfilter/xt_limit.o
  1523. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/bcmevent.o
  1524. ../drivers/huawei_platform/power/cpu_buck/cpu_buck.c:26:12: warning: ‘g_fault_happened’ initialized and declared ‘extern’
  1525. extern int g_fault_happened = 0;
  1526. ^
  1527. ../drivers/huawei_platform/power/cpu_buck/cpu_buck.c: In function ‘cpu_buck_register’:
  1528. ../drivers/huawei_platform/power/cpu_buck/cpu_buck.c:48:9: warning: assignment from incompatible pointer type
  1529. g_cbs = p_cbs;
  1530. ^
  1531. ../drivers/huawei_platform/power/cpu_buck/cpu_buck.c:52:7: warning: assignment from incompatible pointer type
  1532. cbs = g_cbs;
  1533. ^
  1534. ../drivers/huawei_platform/power/cpu_buck/cpu_buck.c: In function ‘update_err_msg’:
  1535. ../drivers/huawei_platform/power/cpu_buck/cpu_buck.c:80:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1536. char extra_err_msg[MAX_EXTRA_ERR_MSG_LEN] = {0};
  1537. ^
  1538. ../drivers/huawei_platform/power/cpu_buck/cpu_buck.c: In function ‘cpu_buck_work’:
  1539. ../drivers/huawei_platform/power/cpu_buck/cpu_buck.c:98:32: warning: initialization from incompatible pointer type
  1540. struct cpu_buck_sample* cbs = g_cbs;
  1541. ^
  1542. CC drivers/huawei_platform/inputhub/hi3660/sensor_sys_info.o
  1543. In file included from ../drivers/huawei_platform/oases/plts.c:24:0:
  1544. ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
  1545. static inline int oases_insn_patch_nosync(void* addr, u32 insn);
  1546. ^
  1547. ../drivers/huawei_platform/power/charger/charger_ap/charging_core.c:35:1: warning: missing braces around initializer [-Wmissing-braces]
  1548. static u32 BASP_VOL_SEGMENT_PARA[BASP_PARA_LEVEL][BASP_VOL_SEGMENT_COLUMN-1] = {0};
  1549. ^
  1550. CC drivers/huawei_platform/oases/patch_addr.o
  1551. ../drivers/huawei_platform/power/charger/charger_ap/charging_core.c:35:1: warning: (near initialization for ‘BASP_VOL_SEGMENT_PARA[0]’) [-Wmissing-braces]
  1552. CC drivers/huawei_platform/net/bastet/bastet_dev.o
  1553. CC net/netfilter/xt_mac.o
  1554. CC drivers/hisi/mntn/mntn_filesys.o
  1555. CC drivers/hisi/ocbc/ocbc.o
  1556. CC drivers/hisi/ivp/ivpv150/ivp_atf_subsys.o
  1557. CC drivers/hisi/mntn/fastbootlog.o
  1558. ../drivers/huawei_platform/power/charger/charger_ap/charging_core.c: In function ‘charging_core_parse_iterm’:
  1559. ../drivers/huawei_platform/power/charger/charger_ap/charging_core.c:988:60: warning: passing argument 4 of ‘of_property_read_string_index’ from incompatible pointer type
  1560. ret = of_property_read_string_index(np, "iterm_para", i, &outstring);
  1561. ^
  1562. In file included from ../drivers/huawei_platform/power/charger/charger_ap/charging_core.c:19:0:
  1563. ../include/linux/of.h:1008:19: note: expected ‘const char **’ but argument is of type ‘char **’
  1564. static inline int of_property_read_string_index(const struct device_node *np,
  1565. ^
  1566. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_cfg80211.c:32:0:
  1567. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
  1568. #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
  1569. ^
  1570. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_cfg80211.c:30:0:
  1571. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
  1572. #define strnicmp strncasecmp
  1573. ^
  1574. CC drivers/hisi/mntn/hisi_bootup_keypoint.o
  1575. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/bcmutils.o
  1576. CC drivers/huawei_platform/oases/patch_base.o
  1577. LD drivers/media/mmc/siano/built-in.o
  1578. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_sync_file.o
  1579. LD drivers/huawei_platform/power/buckboost/built-in.o
  1580. In file included from ../drivers/huawei_platform/oases/kallsyms.c:16:0:
  1581. ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
  1582. static inline int oases_insn_patch_nosync(void* addr, u32 insn);
  1583. ^
  1584. LD drivers/media/mmc/built-in.o
  1585. CC fs/ext4/xattr_security.o
  1586. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/bcmwifi_channels.o
  1587. CC drivers/huawei_platform/power/hw_ptm/hw_power_monitor.o
  1588. CC net/netfilter/xt_multiport.o
  1589. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hndpmu.o
  1590. CC drivers/huawei_platform/power/power_dsm/power_dsm.o
  1591. CC drivers/hisi/ivp/ivpv150/ivp_platform.o
  1592. CC drivers/hisi/perfhub/hisi_perfhub.o
  1593. LD drivers/huawei_platform/power/boost_5v/built-in.o
  1594. LD drivers/i2c/busses/i2c-designware-platform.o
  1595. CC net/netfilter/xt_pkttype.o
  1596. LD drivers/log/built-in.o
  1597. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/linux_osl.o
  1598. LD drivers/i2c/busses/built-in.o
  1599. LD drivers/i2c/built-in.o
  1600. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/sbutils.o
  1601. LD drivers/media/pci/b2c2/built-in.o
  1602. CC drivers/huawei_platform/power/power_mesg/power_genl.o
  1603. LD drivers/media/pci/ddbridge/built-in.o
  1604. CC drivers/huawei_platform/power/charger/huawei_charger_common.o
  1605. CC drivers/huawei_platform/power/charger/huawei_charger_power_interface.o
  1606. LD drivers/media/pci/dm1105/built-in.o
  1607. CC fs/ntfs/lcnalloc.o
  1608. CC net/netfilter/xt_policy.o
  1609. In file included from ../include/linux/kernel.h:13:0,
  1610. from ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:14:
  1611. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘extend_config_after_sensor_detect’:
  1612. LD drivers/media/platform/omap/built-in.o
  1613. ../include/linux/printk.h:283:2: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  1614. printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
  1615. ^
  1616. ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:1452:16: note: ‘ret’ was declared here
  1617. int temp = 0, ret;
  1618. ^
  1619. CC drivers/hisi/pm/pm.o
  1620. LD drivers/media/pci/mantis/built-in.o
  1621. CC drivers/hisi/modem/drv/balong_timer/timer_slice.o
  1622. LD drivers/media/pci/netup_unidvb/built-in.o
  1623. CC drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.o
  1624. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/siutils.o
  1625. LD drivers/misc/cb710/built-in.o
  1626. ../drivers/gpu/arm/bifrost-r14p0-00cet0/platform/hisilicon/mali_kbase_config_hisilicon.c: In function ‘kbase_platform_init’:
  1627. ../drivers/gpu/arm/bifrost-r14p0-00cet0/platform/hisilicon/mali_kbase_config_hisilicon.c:803:5: warning: passing argument 3 of ‘of_devfreq_cooling_register_power’ from incompatible pointer type
  1628. callbacks);
  1629. ^
  1630. In file included from ../drivers/gpu/arm/bifrost-r14p0-00cet0/platform/hisilicon/mali_kbase_config_hisilicon.c:25:0:
  1631. ../include/linux/devfreq_cooling.h:47:1: note: expected ‘struct devfreq_cooling_power *’ but argument is of type ‘struct devfreq_cooling_ops *’
  1632. of_devfreq_cooling_register_power(struct device_node *np, struct devfreq *df,
  1633. ^
  1634. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_sync_common.o
  1635. CC drivers/huawei_platform/oases/hook_insn.o
  1636. LD drivers/media/platform/built-in.o
  1637. ../drivers/media/huawei/camera/hwcam_usrdev.c:300:20: warning: initialization from incompatible pointer type
  1638. .queue_setup = hwcam_user_vb2q_queue_setup, /*lint !e64 */
  1639. ^
  1640. ../drivers/media/huawei/camera/hwcam_usrdev.c:300:20: warning: (near initialization for ‘s_qops_hwcam_vbuf.queue_setup’)
  1641. ../drivers/media/huawei/camera/hwcam_usrdev.c:333:20: warning: initialization from incompatible pointer type
  1642. .get_userptr = hwcam_user_vb2q_get_userptr,
  1643. ^
  1644. ../drivers/media/huawei/camera/hwcam_usrdev.c:333:20: warning: (near initialization for ‘s_mops_hwcam_vbuf.get_userptr’)
  1645. CC drivers/hisi/modem/drv/adp/adp_icc.o
  1646. CC drivers/huawei_platform/inputhub/hi3660/kbhub_channel.o
  1647. LD drivers/media/pci/ngene/built-in.o
  1648. In file included from ../drivers/huawei_platform/oases/patch_addr.c:13:0:
  1649. ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
  1650. static inline int oases_insn_patch_nosync(void* addr, u32 insn);
  1651. ^
  1652. CC fs/proc/cpuinfo.o
  1653. LD drivers/media/pci/pluto2/built-in.o
  1654. CC fs/proc/devices.o
  1655. LD drivers/misc/eeprom/built-in.o
  1656. LD drivers/media/radio/built-in.o
  1657. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
  1658. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:92:
  1659. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
  1660. #ifndef _DRIVER_REGISTER.H
  1661. ^
  1662. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
  1663. #define _DRIVER_REGISTER.H
  1664. ^
  1665. LD drivers/media/jpeg/built-in.o
  1666. LD drivers/media/tuners/built-in.o
  1667. LD drivers/media/rc/keymaps/built-in.o
  1668. CC drivers/huawei_platform/power/cpu_buck/hi6422v200/hi6422v200.o
  1669. LD drivers/media/spi/built-in.o
  1670. LD drivers/media/pci/pt1/built-in.o
  1671. LD drivers/media/rc/built-in.o
  1672. CC fs/proc/interrupts.o
  1673. CC fs/proc/meminfo.o
  1674. CC fs/proc/loadavg.o
  1675. CC drivers/media/huawei/camera/hwcam_cfgdev.o
  1676. CC drivers/hisi/noc/hisi_noc_err_probe.o
  1677. LD drivers/misc/lis3lv02d/built-in.o
  1678. LD drivers/media/pci/pt3/built-in.o
  1679. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:100:0:
  1680. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
  1681. #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
  1682. ^
  1683. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:67:0:
  1684. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
  1685. #define strnicmp strncasecmp
  1686. ^
  1687. LD drivers/media/usb/b2c2/built-in.o
  1688. LD drivers/media/usb/dvb-usb/built-in.o
  1689. CC drivers/media/huawei/camera/hwcam_cfgpipeline.o
  1690. CC drivers/mfd/hisi_pmic_dcxo.o
  1691. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_sta_pool_init’:
  1692. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:1239:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1693. int prio = 0;
  1694. ^
  1695. LD drivers/media/pci/saa7146/built-in.o
  1696. LD drivers/media/usb/dvb-usb-v2/built-in.o
  1697. LD drivers/media/usb/s2255/built-in.o
  1698. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_sta_pool_clear’:
  1699. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:1319:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1700. int prio = 0;
  1701. ^
  1702. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_bssidx2idx’:
  1703. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:1466:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1704. dhd_info_t *dhd = dhdp->info;
  1705. ^
  1706. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_set_suspend’:
  1707. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:1993:6: warning: unused variable ‘bcn_to_dly’ [-Wunused-variable]
  1708. int bcn_to_dly = 0;
  1709. ^
  1710. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:1990:6: warning: unused variable ‘lpas’ [-Wunused-variable]
  1711. int lpas = 0;
  1712. ^
  1713. CC drivers/hisi/noc/hisi_noc_packet.o
  1714. CC drivers/mmc/card/block.o
  1715. LD drivers/misc/mic/bus/built-in.o
  1716. CC lib/dump_stack.o
  1717. LD drivers/input/keyboard/built-in.o
  1718. CC lib/earlycpio.o
  1719. CC drivers/hisi/mntn/boottime.o
  1720. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_open’:
  1721. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:5292:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1722. char dmdbuf[DHD_PCIE_BUF_SIZE + 1] = {0};
  1723. ^
  1724. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_allocate_if’:
  1725. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:5605:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
  1726. return;
  1727. ^
  1728. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/linuxver.h:76:0,
  1729. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:29:
  1730. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_attach’:
  1731. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:6271:13: warning: passing argument 1 of ‘kthread_create_on_node’ from incompatible pointer type
  1732. PROC_START(dhd_devwake_thread, dhd, &dhd->devwake_tsk, 0, "dhd_devwake_thread");
  1733. ^
  1734. ../include/linux/kthread.h:25:25: note: in definition of macro ‘kthread_create’
  1735. kthread_create_on_node(threadfn, data, NUMA_NO_NODE, namefmt, ##arg)
  1736. ^
  1737. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/linuxver.h:634:23: note: in expansion of macro ‘kthread_run’
  1738. (tsk_ctl)->p_task = kthread_run(thread_func, tsk_ctl, (char*)name); \
  1739. ^
  1740. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:6271:2: note: in expansion of macro ‘PROC_START’
  1741. PROC_START(dhd_devwake_thread, dhd, &dhd->devwake_tsk, 0, "dhd_devwake_thread");
  1742. ^
  1743. ../include/linux/kthread.h:8:21: note: expected ‘int (*)(void *)’ but argument is of type ‘void (*)(void *)’
  1744. struct task_struct *kthread_create_on_node(int (*threadfn)(void *data),
  1745. ^
  1746. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_bus_start’:
  1747. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:6582:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
  1748. return;
  1749. ^
  1750. CC drivers/mmc/card/queue.o
  1751. LD drivers/media/usb/siano/built-in.o
  1752. LD drivers/media/pci/smipcie/built-in.o
  1753. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_preinit_ioctls’:
  1754. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:7625:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1755. u32 wl_down = 1;
  1756. ^
  1757. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:7115:9: warning: unused variable ‘dongle_align’ [-Wunused-variable]
  1758. uint32 dongle_align = DHD_SDALIGN;
  1759. ^
  1760. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_register_if’:
  1761. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:8496:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
  1762. return;
  1763. ^
  1764. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:8502:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
  1765. return;
  1766. ^
  1767. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_dev_get_drop_pkt’:
  1768. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:10966:10: warning: unused variable ‘i’ [-Wunused-variable]
  1769. int ret,i;
  1770. ^
  1771. LD drivers/misc/mic/built-in.o
  1772. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_hang_process’:
  1773. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:11164:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1774. int ret = 0;
  1775. ^
  1776. LD drivers/media/pci/ttpci/built-in.o
  1777. CC drivers/hisi/noc/hisi_noc_transcation.o
  1778. CC drivers/hisi/mntn/bl31/hisi_bl31_exception.o
  1779. LD drivers/media/usb/stkwebcam/built-in.o
  1780. LD drivers/media/pci/built-in.o
  1781. CC drivers/media/v4l2-core/v4l2-dev.o
  1782. CC drivers/hid/hid-lenovo.o
  1783. CC drivers/media/v4l2-core/v4l2-ioctl.o
  1784. CC drivers/media/v4l2-core/v4l2-device.o
  1785. CC drivers/media/v4l2-core/v4l2-fh.o
  1786. LD drivers/misc/ti-st/built-in.o
  1787. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘show_watchdog_time’:
  1788. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:13214:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  1789. DHD_ERROR(("%s: read dhd_watchdog_ms %d\n", __FUNCTION__, hw_watchdog_time));
  1790. ^
  1791. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:13215:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  1792. ret = sprintf(buf, "%d\n", hw_watchdog_time);
  1793. ^
  1794. LD drivers/media/usb/ttusb-budget/built-in.o
  1795. CC drivers/misc/uid_sys_stats.o
  1796. CC drivers/misc/memory_state_time.o
  1797. CC drivers/huawei_platform/power/power_mesg/power_mesg.o
  1798. CC fs/ntfs/logfile.o
  1799. CC drivers/mmc/card/ffu.o
  1800. CC drivers/hisi/mntn/bl31/hisi_bl31_trace.o
  1801. CC drivers/hisi/mntn/blackbox/rdr_core.o
  1802. LD drivers/media/usb/ttusb-dec/built-in.o
  1803. In file included from ../drivers/huawei_platform/power/charger/charger_sensorhub/huawei_charger_sh.c:52:0:
  1804. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.h:491:1: warning: useless storage class specifier in empty declaration
  1805. };
  1806. ^
  1807. ../drivers/huawei_platform/power/charger/charger_sensorhub/huawei_charger_sh.c:194:1: warning: useless storage class specifier in empty declaration
  1808. };
  1809. ^
  1810. ../drivers/huawei_platform/power/charger/charger_sensorhub/huawei_charger_sh.c:825:1: warning: useless storage class specifier in empty declaration
  1811. };
  1812. ^
  1813. LD drivers/iommu/hisi/built-in.o
  1814. CC drivers/hisi/pm/hisi_lpregs.o
  1815. CC drivers/mmc/core/core.o
  1816. LD drivers/iommu/built-in.o
  1817. LD drivers/media/usb/zr364xx/built-in.o
  1818. ../drivers/huawei_platform/power/charger/charger_sensorhub/huawei_charger_sh.c:589:13: warning: ‘charge_process_vr_charge_event’ defined but not used [-Wunused-function]
  1819. static void charge_process_vr_charge_event(struct charge_device_info_sh *di)
  1820. ^
  1821. LD drivers/media/usb/built-in.o
  1822. CC fs/proc/stat.o
  1823. CC drivers/hisi/pm/suspend.o
  1824. CC fs/proc/uptime.o
  1825. CC drivers/huawei_platform/power/charger/charger_sensorhub/charging_core_sh.o
  1826. CC fs/ntfs/quota.o
  1827. CC fs/proc/version.o
  1828. CC drivers/mmonitor/mmonitor.o
  1829. CC fs/ntfs/usnjrnl.o
  1830. CC lib/extable.o
  1831. CC drivers/huawei_platform/oases/sysfs.o
  1832. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charger_dsm_report’:
  1833. ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:792:1: warning: the frame size of 2320 bytes is larger than 2048 bytes [-Wframe-larger-than=]
  1834. }
  1835. ^
  1836. LD drivers/input/input-core.o
  1837. CC drivers/hisi/secs_power_ctrl/secs_power_ctrl.o
  1838. CC drivers/hisi/modem/drv/adp/adp_pm_om.o
  1839. CC drivers/kernelsu/selinux/rules.o
  1840. CC net/netfilter/xt_qtaguid_print.o
  1841. CC drivers/input/mouse/synaptics.o
  1842. CC drivers/misc/fastchg.o
  1843. CC net/netfilter/xt_qtaguid.o
  1844. ../fs/f2fs/segment.c:2774:9: warning: ‘secno’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  1845. zoneno = GET_ZONE_FROM_SEC(sbi, secno);
  1846. ^
  1847. ../drivers/huawei_platform/power/power_mesg/power_genl.c: In function ‘power_genl_easy_send’:
  1848. ../drivers/huawei_platform/power/power_mesg/power_genl.c:66:9: warning: unused variable ‘i’ [-Wunused-variable]
  1849. int i;
  1850. ^
  1851. ../drivers/kernelsu/selinux/sepolicy.c:64:0: warning: "hash_for_each" redefined
  1852. #define hash_for_each(node_ptr, n_slot, cur) \
  1853. ^
  1854. In file included from ../include/linux/netdevice.h:55:0,
  1855. from ../include/net/sock.h:51,
  1856. from ../include/net/request_sock.h:23,
  1857. from ../include/net/netlabel.h:39,
  1858. from ../security/selinux/ss/ebitmap.h:17,
  1859. from ../security/selinux/ss/context.h:18,
  1860. from ../security/selinux/ss/sidtab.h:10,
  1861. from ../security/selinux/ss/policydb.h:29,
  1862. from ../drivers/kernelsu/selinux/sepolicy.h:6,
  1863. from ../drivers/kernelsu/selinux/sepolicy.c:1:
  1864. ../include/linux/hashtable.h:125:0: note: this is the location of the previous definition
  1865. #define hash_for_each(name, bkt, obj, member) \
  1866. ^
  1867. ../drivers/kernelsu/selinux/sepolicy.c: In function ‘add_type’:
  1868. CC drivers/hisi/modem/drv/bbp/bbp_balong.o
  1869. CC drivers/huawei_platform/power/hw_kstate/hw_kcollect.o
  1870. ../drivers/kernelsu/selinux/sepolicy.c:685:41: warning: initialization makes pointer from integer without a cast
  1871. struct flex_array *new_type_attr_map = flex_array_alloc(sizeof(struct ebitmap),
  1872. ^
  1873. ../drivers/kernelsu/selinux/sepolicy.c:688:46: warning: initialization makes pointer from integer without a cast
  1874. struct flex_array *new_type_val_to_struct = flex_array_alloc(sizeof(struct type_datum *),
  1875. ^
  1876. ../drivers/kernelsu/selinux/sepolicy.c:691:45: warning: initialization makes pointer from integer without a cast
  1877. struct flex_array *new_val_to_name_types = flex_array_alloc(sizeof(char *),
  1878. ^
  1879. ../drivers/kernelsu/selinux/sepolicy.c:731:35: error: ‘struct ebitmap’ has no member named ‘total_nr_elements’
  1880. for (j = 0; j < db->type_attr_map->total_nr_elements; j++) {
  1881. ^
  1882. ../drivers/kernelsu/selinux/sepolicy.c:732:12: warning: assignment makes pointer from integer without a cast
  1883. old_elem = flex_array_get(db->type_attr_map, j);
  1884. ^
  1885. ../drivers/kernelsu/selinux/sepolicy.c:738:40: error: request for member ‘total_nr_elements’ in something not a structure or union
  1886. for (j = 0; j < db->type_val_to_struct->total_nr_elements; j++) {
  1887. ^
  1888. ../drivers/kernelsu/selinux/sepolicy.c:739:12: warning: assignment makes pointer from integer without a cast
  1889. old_elem = flex_array_get_ptr(db->type_val_to_struct, j);
  1890. ^
  1891. ../drivers/kernelsu/selinux/sepolicy.c:746:12: warning: assignment makes pointer from integer without a cast
  1892. old_elem = flex_array_get_ptr(db->sym_val_to_name[SYM_TYPES], j);
  1893. ^
  1894. ../drivers/kernelsu/selinux/sepolicy.c:755:9: warning: assignment from incompatible pointer type
  1895. old_fa = db->type_attr_map;
  1896. ^
  1897. ../drivers/kernelsu/selinux/sepolicy.c:756:20: warning: assignment from incompatible pointer type
  1898. db->type_attr_map = new_type_attr_map;
  1899. ^
  1900. ../drivers/kernelsu/selinux/sepolicy.c:761:15: warning: passing argument 1 of ‘ebitmap_init’ makes pointer from integer without a cast
  1901. ebitmap_init(flex_array_get(db->type_attr_map, value - 1));
  1902. ^
  1903. ../drivers/huawei_platform/power/power_mesg/power_mesg.c: In function ‘power_msg_init’:
  1904. ../drivers/huawei_platform/power/power_mesg/power_mesg.c:113:21: warning: unused variable ‘dev’ [-Wunused-variable]
  1905. struct device * dev;
  1906. ^
  1907. In file included from ../security/selinux/ss/context.h:18:0,
  1908. from ../security/selinux/ss/sidtab.h:10,
  1909. from ../security/selinux/ss/policydb.h:29,
  1910. from ../drivers/kernelsu/selinux/sepolicy.h:6,
  1911. from ../drivers/kernelsu/selinux/sepolicy.c:1:
  1912. ../security/selinux/ss/ebitmap.h:66:20: note: expected ‘struct ebitmap *’ but argument is of type ‘int’
  1913. static inline void ebitmap_init(struct ebitmap *e, const bool protectable)
  1914. ^
  1915. ../drivers/kernelsu/selinux/sepolicy.c:761:2: error: too few arguments to function ‘ebitmap_init’
  1916. ebitmap_init(flex_array_get(db->type_attr_map, value - 1)); # TAGS
  1917. ^
  1918. In file included from ../security/selinux/ss/context.h:18:0,
  1919. from ../security/selinux/ss/sidtab.h:10,
  1920. from ../security/selinux/ss/policydb.h:29,
  1921. from ../drivers/kernelsu/selinux/sepolicy.h:6,
  1922. from ../drivers/kernelsu/selinux/sepolicy.c:1:
  1923. ../security/selinux/ss/ebitmap.h:66:20: note: declared here
  1924. static inline void ebitmap_init(struct ebitmap *e, const bool protectable)
  1925. ^
  1926. ../drivers/kernelsu/selinux/sepolicy.c:762:18: warning: passing argument 1 of ‘ebitmap_set_bit’ makes pointer from integer without a cast
  1927. ebitmap_set_bit(flex_array_get(db->type_attr_map, value - 1),
  1928. ^
  1929. In file included from ../security/selinux/ss/context.h:18:0,
  1930. from ../security/selinux/ss/sidtab.h:10,
  1931. from ../security/selinux/ss/policydb.h:29,
  1932. from ../drivers/kernelsu/selinux/sepolicy.h:6,
  1933. from ../drivers/kernelsu/selinux/sepolicy.c:1:
  1934. ../security/selinux/ss/ebitmap.h:137:5: note: expected ‘struct ebitmap *’ but argument is of type ‘int’
  1935. int ebitmap_set_bit(struct ebitmap *e, unsigned long bit, int value);
  1936. ^
  1937. ../drivers/kernelsu/selinux/sepolicy.c:765:9: warning: assignment from incompatible pointer type
  1938. old_fa = db->type_val_to_struct;
  1939. ^
  1940. ../drivers/kernelsu/selinux/sepolicy.c:766:25: warning: assignment from incompatible pointer type
  1941. db->type_val_to_struct = new_type_val_to_struct;
  1942. ^
  1943. ../drivers/kernelsu/selinux/sepolicy.c:773:9: warning: assignment from incompatible pointer type
  1944. old_fa = db->sym_val_to_name[SYM_TYPES];
  1945. ^
  1946. ../drivers/kernelsu/selinux/sepolicy.c:774:33: warning: assignment from incompatible pointer type
  1947. db->sym_val_to_name[SYM_TYPES] = new_val_to_name_types;
  1948. ^
  1949. ../drivers/kernelsu/selinux/sepolicy.c: In function ‘add_typeattribute_raw’:
  1950. ../drivers/kernelsu/selinux/sepolicy.c:830:3: warning: initialization makes pointer from integer without a cast
  1951. flex_array_get(db->type_attr_map, type->value - 1);
  1952. ^
  1953. CC fs/proc/softirqs.o
  1954. CC drivers/huawei_platform/net/bastet/bastet_utils.o
  1955. LD drivers/huawei_platform/power/power_dsm/built-in.o
  1956. ../drivers/kernelsu/selinux/sepolicy.c: At top level:
  1957. cc1: warning: unrecognized command line option "-Wno-macro-redefined"
  1958. cc1: warning: unrecognized command line option "-Wno-int-conversion"
  1959. ../scripts/Makefile.build:359: recipe for target 'drivers/kernelsu/selinux/sepolicy.o' failed # TAGS
  1960. make[4]: *** [drivers/kernelsu/selinux/sepolicy.o] Error 1
  1961. make[4]: *** Waiting for unfinished jobs....
  1962. LD drivers/hisi/ocbc/built-in.o
  1963. CC drivers/hisi/modem/drv/diag_frame/diag_frame.o
  1964. CC drivers/hisi/mntn/blackbox/rdr_common.o
  1965. CC drivers/hisi/modem/drv/adp/adp_version.o
  1966. CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_fence.o
  1967. CC drivers/mfd/hisi_pmic_mntn.o
  1968. LD drivers/hisi/ivp/ivpv150/built-in.o
  1969. CC drivers/huawei_platform/power/smpl/smpl.o
  1970. CC drivers/mmc/core/bus.o
  1971. CC drivers/hisi/modem/drv/adp/adp_socp.o
  1972. CC drivers/huawei_platform/power/power_thermalzone/power_thermalzone.o
  1973. CC net/netfilter/xt_quota.o
  1974. CC drivers/hisi/mntn/hisee/hisee_mntn.o
  1975. CC drivers/huawei_platform/power/usb_short_circuit_protect/usb_short_circuit_protect.o
  1976. CC drivers/huawei_platform/power/usb_short_circuit_protect/usb_short_circuit_protect_sh.o
  1977. ../drivers/huawei_platform/power/charger/charger_sensorhub/huawei_charger_sh.c: In function ‘sensorhub_charger_dsm_report’:
  1978. ../drivers/huawei_platform/power/charger/charger_sensorhub/huawei_charger_sh.c:276:1: warning: the frame size of 2320 bytes is larger than 2048 bytes [-Wframe-larger-than=]
  1979. }
  1980. ^
  1981. ../drivers/huawei_platform/net/hw_dpi_mark/dpi_hw_hook.c:442:12: warning: initialization from incompatible pointer type
  1982. .hook = dpimark_hook_localout,
  1983. ^
  1984. ../drivers/huawei_platform/net/hw_dpi_mark/dpi_hw_hook.c:442:12: warning: (near initialization for ‘net_hooks[0].hook’)
  1985. CC net/netfilter/xt_quota2.o
  1986. LD drivers/hisi/perfhub/built-in.o
  1987. In file included from ../drivers/huawei_platform/net/hw_dpi_mark/dpi_hw_hook.c:21:0:
  1988. ../include/hwnet/ipv4/wifipro_tcp_monitor.h:38:14: warning: ‘s_arrTitle’ defined but not used [-Wunused-variable]
  1989. static char *s_arrTitle[MAX_ARR_TITLE_COUNT] = {
  1990. ^
  1991. ../include/hwnet/ipv4/wifipro_tcp_monitor.h:60:12: warning: ‘s_wlanTcpStat_index’ defined but not used [-Wunused-variable]
  1992. static int s_wlanTcpStat_index;
  1993. ^
  1994. ../include/hwnet/ipv4/wifipro_tcp_monitor.h:61:12: warning: ‘s_rmnetTcpStat_index’ defined but not used [-Wunused-variable]
  1995. static int s_rmnetTcpStat_index;
  1996. ^
  1997. ../include/hwnet/ipv4/wifipro_tcp_monitor.h:62:12: warning: ‘s_hidataTcpStat_index’ defined but not used [-Wunused-variable]
  1998. static int s_hidataTcpStat_index;
  1999. ^
  2000. ../include/hwnet/ipv4/wifipro_tcp_monitor.h:63:19: warning: ‘s_uidWlanTcpStat’ defined but not used [-Wunused-variable]
  2001. static UIDTCPStat s_uidWlanTcpStat[MAX_UID_CNT]; /* for wlan TCP uid Stat */
  2002. ^
  2003. ../include/hwnet/ipv4/wifipro_tcp_monitor.h:64:19: warning: ‘s_uidRmnetTcpStat’ defined but not used [-Wunused-variable]
  2004. static UIDTCPStat s_uidRmnetTcpStat[MAX_UID_CNT]; /* for rmnet TCP uid Stat */
  2005. ^
  2006. ../include/hwnet/ipv4/wifipro_tcp_monitor.h:65:25: warning: ‘s_uidHidataTcpStat’ defined but not used [-Wunused-variable]
  2007. static HIDATAUIDTCPStat s_uidHidataTcpStat[MAX_UID_CNT]; /* for wlan TCP uid Stat */
  2008. ^
  2009. CC drivers/hisi/modem/drv/adp/adp_onoff.o
  2010. CC drivers/hisi/modem/drv/adp/adp_om.o
  2011. ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c: In function ‘get_max_dump_cnt’:
  2012. ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c:678:10: warning: unused variable ‘path’ [-Wunused-variable]
  2013. char path[PATH_MAXLEN];
  2014. ^
  2015. ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c: In function ‘sensorhub_panic_notify’:
  2016. ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c:861:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2017. int timeout = 100;
  2018. ^
  2019. ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c: At top level:
  2020. ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c:891:22: warning: initialization from incompatible pointer type
  2021. .notifier_call = sensorhub_panic_notify,
  2022. ^
  2023. ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c:891:22: warning: (near initialization for ‘sensorhub_panic_block.notifier_call’)
  2024. CC drivers/mfd/hisi_ip_core.o
  2025. CC drivers/hisi/slimbus/vendor/candance/cps_bm.o
  2026. ../drivers/huawei_platform/net/bastet/bastet_dev.c: In function ‘bastet_write’:
  2027. ../drivers/huawei_platform/net/bastet/bastet_dev.c:861:1: warning: the frame size of 2064 bytes is larger than 2048 bytes [-Wframe-larger-than=]
  2028. }
  2029. ^
  2030. LD drivers/input/misc/built-in.o
  2031. ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c:33:12: warning: ‘g_sh_modid’ defined but not used [-Wunused-variable]
  2032. static u32 g_sh_modid;
  2033. ^
  2034. ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c:659:13: warning: ‘remove_sh_file’ defined but not used [-Wunused-function]
  2035. static void remove_sh_file(char* path)
  2036. ^
  2037. CC drivers/hisi/modem/drv/adp/adp_usb.o
  2038. CC drivers/huawei_platform/recovery/recovery_misc.o
  2039. CC drivers/huawei_platform/recovery/dsm_recovery.o
  2040. LD drivers/huawei_platform/power/cpu_buck/hi6422v200/built-in.o
  2041. LD drivers/huawei_platform/power/cpu_buck/built-in.o
  2042. CC drivers/hisi/timekeeper/hisi_timekeeper.o
  2043. CC drivers/hisi/mntn/hisi_poweroff.o
  2044. CC drivers/hisi/mntn/hisi_fiq.o
  2045. CC drivers/hisi/soundtrigger/mlib_ringbuffer.o
  2046. CC drivers/hisi/mntn/mntn_dump.o
  2047. CC drivers/hisi/soundtrigger/mlib_static_ringbuffer.o
  2048. CC drivers/hisi/tlb_conflict/tlb_conflict.o
  2049. CC drivers/huawei_platform/power/water_check/water_check.o
  2050. CC net/netfilter/xt_socket.o
  2051. CC drivers/hisi/modem/drv/balong_timer/hardtimer_arm.o
  2052. CC lib/fdt.o
  2053. CC drivers/huawei_platform/power/wifi_filter/wifi_filter.o
  2054. ../drivers/mmc/card/block.c:107:0: warning: "mmc_req_rel_wr" redefined
  2055. #define mmc_req_rel_wr(req) ((req->cmd_flags & REQ_FUA) && \
  2056. ^
  2057. In file included from ../drivers/mmc/card/block.c:62:0:
  2058. ../drivers/mmc/card/mmc_hisi_card.h:46:0: note: this is the location of the previous definition
  2059. #define mmc_req_rel_wr(req) (((req->cmd_flags & REQ_FUA) || \
  2060. ^
  2061. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_cache_policy_backend.o
  2062. CC drivers/hisi/modem/drv/balong_timer/hardtimer_synopsis.o
  2063. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_device_hw.o
  2064. CC net/netfilter/xt_state.o
  2065. CC drivers/hisi/slimbus/vendor/candance/src/csmi.o
  2066. CC drivers/hisi/slimbus/vendor/candance/slimbus_drv.o
  2067. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_gpu.o
  2068. LD drivers/hisi/modem/drv/bbp/built-in.o
  2069. CC drivers/huawei_platform/power/hw_kstate/hw_procnetstat.o
  2070. CC drivers/hisi/modem/drv/dlock/dlock_balong.o
  2071. In file included from ../drivers/huawei_platform/oases/sysfs.c:15:0:
  2072. ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
  2073. static inline int oases_insn_patch_nosync(void* addr, u32 insn);
  2074. ^
  2075. CC drivers/hisi/soundtrigger/soundtrigger_dma_drv.o
  2076. CC fs/proc/namespaces.o
  2077. CC drivers/huawei_platform/power/hw_kstate/hw_kpg.o
  2078. CC drivers/media/v4l2-core/v4l2-event.o
  2079. CC drivers/hisi/noc/hisi_noc_info.o
  2080. In file included from ../include/linux/pci.h:30:0,
  2081. from ../include/trace/events/iommu.h:14,
  2082. from ../include/linux/iommu.h:27,
  2083. from ../include/linux/../../drivers/staging/android/uapi/ion.h:22,
  2084. from ../include/linux/ion.h:3,
  2085. from ../include/linux/hisi/hisi_ion.h:19,
  2086. from ../drivers/media/huawei/camera/hwcam_cfgdev.c:7:
  2087. ../include/linux/device.h:309:26: warning: ‘driver_attr_hwcam_log’ defined but not used [-Wunused-variable]
  2088. struct driver_attribute driver_attr_##_name = __ATTR(_name, _mode, _show, _store)
  2089. ^
  2090. ../drivers/media/huawei/camera/hwcam_cfgdev.c:118:8: note: in expansion of macro ‘DRIVER_ATTR’
  2091. static DRIVER_ATTR(hwcam_log, 0664, hwcam_log_level_show, hwcam_log_level_store);
  2092. ^
  2093. LD drivers/huawei_platform/power/hw_ptm/built-in.o
  2094. ../drivers/huawei_platform/recovery/recovery_misc.c: In function ‘operate_node’:
  2095. CC drivers/media/v4l2-core/v4l2-ctrls.o
  2096. ../drivers/huawei_platform/recovery/recovery_misc.c:40:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2097. struct file *fp;
  2098. ^
  2099. ../drivers/huawei_platform/recovery/recovery_misc.c: At top level:
  2100. ../drivers/huawei_platform/recovery/recovery_misc.c:92:12: warning: ‘reboot_recovery_misc_write_check’ defined but not used [-Wunused-function]
  2101. static int reboot_recovery_misc_write_check(void)
  2102. ^
  2103. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_gpuprops_backend.o
  2104. In file included from ../include/linux/mutex.h:14:0,
  2105. from ../include/linux/notifier.h:13,
  2106. from ../include/linux/clk.h:17,
  2107. from ../include/linux/cpufreq.h:14,
  2108. from ../include/linux/cpufreq_times.h:19,
  2109. from ../drivers/misc/uid_sys_stats.c:17:
  2110. ../drivers/misc/uid_sys_stats.c: In function ‘pid_merge_same_name_entry’:
  2111. ../include/linux/list.h:760:19: warning: assignment from incompatible pointer type
  2112. pos && ({ n = pos->member.next; 1; }); \
  2113. ^
  2114. ../drivers/misc/uid_sys_stats.c:898:3: note: in expansion of macro ‘hlist_for_each_entry_safe’
  2115. hlist_for_each_entry_safe(pos1, tmp1, &pid_hash_table[bkt], hash){
  2116. ^
  2117. In file included from ../include/asm-generic/bug.h:13:0,
  2118. from ../arch/arm64/include/asm/bug.h:67,
  2119. from ../include/linux/bug.h:4,
  2120. from ../arch/arm64/include/asm/cmpxchg.h:21,
  2121. from ../arch/arm64/include/asm/atomic.h:41,
  2122. from ../include/linux/atomic.h:4,
  2123. from ../drivers/misc/uid_sys_stats.c:16:
  2124. ../include/linux/kernel.h:842:48: warning: initialization from incompatible pointer type
  2125. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  2126. ^
  2127. ../include/linux/list.h:707:40: note: in expansion of macro ‘container_of’
  2128. #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
  2129. ^
  2130. ../include/linux/list.h:718:15: note: in expansion of macro ‘hlist_entry’
  2131. ____ptr ? hlist_entry(____ptr, type, member) : NULL; \
  2132. ^
  2133. ../include/linux/list.h:761:13: note: in expansion of macro ‘hlist_entry_safe’
  2134. pos = hlist_entry_safe(n, typeof(*pos), member))
  2135. ^
  2136. ../drivers/misc/uid_sys_stats.c:898:3: note: in expansion of macro ‘hlist_for_each_entry_safe’
  2137. hlist_for_each_entry_safe(pos1, tmp1, &pid_hash_table[bkt], hash){
  2138. ^
  2139. In file included from ../include/linux/mutex.h:14:0,
  2140. from ../include/linux/notifier.h:13,
  2141. from ../include/linux/clk.h:17,
  2142. from ../include/linux/cpufreq.h:14,
  2143. from ../include/linux/cpufreq_times.h:19,
  2144. from ../drivers/misc/uid_sys_stats.c:17:
  2145. ../include/linux/list.h:760:19: warning: assignment from incompatible pointer type
  2146. pos && ({ n = pos->member.next; 1; }); \
  2147. ^
  2148. ../drivers/misc/uid_sys_stats.c:900:4: note: in expansion of macro ‘hlist_for_each_entry_safe’
  2149. hlist_for_each_entry_safe(pos2, tmp2, &tmp_head, hash) {
  2150. ^
  2151. In file included from ../include/asm-generic/bug.h:13:0,
  2152. from ../arch/arm64/include/asm/bug.h:67,
  2153. from ../include/linux/bug.h:4,
  2154. from ../arch/arm64/include/asm/cmpxchg.h:21,
  2155. from ../arch/arm64/include/asm/atomic.h:41,
  2156. from ../include/linux/atomic.h:4,
  2157. from ../drivers/misc/uid_sys_stats.c:16:
  2158. ../include/linux/kernel.h:842:48: warning: initialization from incompatible pointer type
  2159. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  2160. ^
  2161. ../include/linux/list.h:707:40: note: in expansion of macro ‘container_of’
  2162. #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
  2163. ^
  2164. ../include/linux/list.h:718:15: note: in expansion of macro ‘hlist_entry’
  2165. ____ptr ? hlist_entry(____ptr, type, member) : NULL; \
  2166. ^
  2167. ../include/linux/list.h:761:13: note: in expansion of macro ‘hlist_entry_safe’
  2168. pos = hlist_entry_safe(n, typeof(*pos), member))
  2169. ^
  2170. ../drivers/misc/uid_sys_stats.c:900:4: note: in expansion of macro ‘hlist_for_each_entry_safe’
  2171. hlist_for_each_entry_safe(pos2, tmp2, &tmp_head, hash) {
  2172. ^
  2173. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_debug_job_fault_backend.o
  2174. CC drivers/hisi/slimbus/slimbus.o
  2175. CC drivers/mmc/host/sdhci.o
  2176. CC drivers/mmc/host/sdhci_hisi.o
  2177. CC drivers/media/v4l2-core/v4l2-subdev.o
  2178. CC drivers/hisi/modem/drv/adp/adp_rfile.o
  2179. CC lib/fdt_empty_tree.o
  2180. LD drivers/huawei_platform/power/power_mesg/built-in.o
  2181. LD drivers/hisi/jpu/hisijpu.o
  2182. CC fs/proc/self.o
  2183. CC lib/fdt_ro.o
  2184. LD drivers/hisi/modem/drv/diag_frame/built-in.o
  2185. LD drivers/hisi/jpu/built-in.o
  2186. CC drivers/mmc/host/sdhci-of-arasan.o
  2187. CC drivers/hisi/noc/hisi_noc_dump.o
  2188. CC drivers/huawei_platform/sensor/fingerprint/fingerprint.o
  2189. CC drivers/huawei_platform/power/charger/charger_ap/bq25892/bq25892_charger.o
  2190. CC lib/fdt_rw.o
  2191. CC drivers/huawei_platform/oases/patch_mgr.o
  2192. CC drivers/huawei_platform/sensor/hall/ak8789.o
  2193. CC drivers/huawei_platform/sensor/hall/hall_sensor.o
  2194. CC drivers/mmc/host/dw_mmc.o
  2195. CC drivers/huawei_platform/oases/patch_api.o
  2196. CC drivers/huawei_platform/sensor/touch_key/huawei_key_backlight.o
  2197. LD drivers/huawei_platform/nfc/NXP_PN547_64/built-in.o
  2198. CC drivers/huawei_platform/sensor/touch_key/huawei_touch_key.o
  2199. LD drivers/huawei_platform/nfc/built-in.o
  2200. CC drivers/hisi/modem/drv/adp/adp_nvim.o
  2201. CC drivers/hisi/modem/drv/adp/adp_reset.o
  2202. CC drivers/hisi/modem/drv/adp/adp_efuse.o
  2203. CC drivers/hid/hid-lg.o
  2204. LD drivers/huawei_platform/recovery/built-in.o
  2205. CC fs/f2fs/extent_cache.o
  2206. CC drivers/hisi/tzdriver/smc_smp.o
  2207. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_irq_linux.o
  2208. AS drivers/huawei_platform/net/hw_netfilter/nf_app_dl_monitor.o
  2209. AS drivers/huawei_platform/net/hw_netfilter/nf_ad_filter.o
  2210. CC drivers/hisi/mntn/blackbox/rdr_exception_core.o
  2211. CC fs/f2fs/sysfs.o
  2212. ../drivers/huawei_platform/power/usb_short_circuit_protect/usb_short_circuit_protect_sh.c:30:0: warning: "HWLOG_TAG" redefined
  2213. #define HWLOG_TAG usb_short_circuit_protect
  2214. ^
  2215. In file included from ../drivers/huawei_platform/power/usb_short_circuit_protect/usb_short_circuit_protect_sh.c:27:0:
  2216. ../drivers/huawei_platform/inputhub/hi3660/inputhub_route.h:27:0: note: this is the location of the previous definition
  2217. #define HWLOG_TAG sensorhub
  2218. ^
  2219. LD drivers/hisi/tlb_conflict/built-in.o
  2220. LD drivers/hisi/mntn/bl31/built-in.o
  2221. ../drivers/huawei_platform/power/water_check/water_check.c: In function ‘water_check_parse_extra_dts’:
  2222. ../drivers/huawei_platform/power/water_check/water_check.c:298:95: warning: passing argument 4 of ‘of_property_read_string_index’ from incompatible pointer type
  2223. ret = of_property_read_string_index(np,"water_check_para",i * WATER_CHECK_PARA_TOTAL + j,&tmp_string);
  2224. ^
  2225. In file included from ../include/asm-generic/gpio.h:7:0,
  2226. from ../include/linux/gpio.h:51,
  2227. from ../drivers/huawei_platform/power/water_check/water_check.c:13:
  2228. ../include/linux/of.h:1008:19: note: expected ‘const char **’ but argument is of type ‘char **’
  2229. static inline int of_property_read_string_index(const struct device_node *np,
  2230. ^
  2231. CC net/netfilter/xt_statistic.o
  2232. CC drivers/huawei_platform/storage/appinfo/app_info.o
  2233. CC drivers/hisi/slimbus/slimbus_utils.o
  2234. CC drivers/huawei_platform/storage/ddrinfo/ddr_info.o
  2235. CC drivers/huawei_platform/sensor/hall/ak8789_report.o
  2236. CC drivers/huawei_platform/oases/patch_file.o
  2237. CC drivers/huawei_platform/oases/oases.o
  2238. aarch64-elf-gcc -c -o drivers/huawei_platform/oases/oases_sign_certificate.o -Wa,-I../drivers/huawei_platform/oases ../drivers/huawei_platform/oases/oases_sign_certificate.S
  2239. ../drivers/huawei_platform/sensor/touch_key/huawei_key_backlight.c: In function ‘store_keybacklight_attr’:
  2240. CC fs/f2fs/f2fs_dump_info.o
  2241. ../drivers/huawei_platform/sensor/touch_key/huawei_key_backlight.c:123:4: warning: too many arguments for format [-Wformat-extra-args]
  2242. hwlog_info("set backlight failed\n", brightness);
  2243. ^
  2244. AS drivers/huawei_platform/net/hw_netfilter/nf_hw_common.o
  2245. LD drivers/huawei_platform/power/power_thermalzone/built-in.o
  2246. aarch64-elf-gcc -c -o drivers/huawei_platform/oases/vendor_sign_certificate.o -Wa,-I../drivers/huawei_platform/oases ../drivers/huawei_platform/oases/vendor_sign_certificate.S
  2247. LD fs/ntfs/ntfs.o
  2248. CC drivers/md/dm-linear.o
  2249. CC drivers/huawei_platform/oases/oases_signing.o
  2250. CC lib/fdt_strerror.o
  2251. CC drivers/hisi/modem/drv/adp/adp_timer.o
  2252. LD fs/ntfs/built-in.o
  2253. CC lib/fdt_sw.o
  2254. CC lib/fdt_wip.o
  2255. AS drivers/huawei_platform/net/hw_netfilter/nf_hw_hook.o
  2256. ../scripts/Makefile.build:690: recipe for target 'drivers/kernelsu/selinux' failed # TAGS
  2257. make[3]: *** [drivers/kernelsu/selinux] Error 2
  2258. ../scripts/Makefile.build:690: recipe for target 'drivers/kernelsu' failed # TAGS
  2259. make[2]: *** [drivers/kernelsu] Error 2
  2260. make[2]: *** Waiting for unfinished jobs....
  2261. CC drivers/md/dm-stripe.o
  2262. CC drivers/hisi/noc/hisi_noc_info_hi3650.o
  2263. CC lib/flex_proportions.o
  2264. AS drivers/huawei_platform/oases/plts_static.o
  2265. CC drivers/media/v4l2-core/v4l2-clk.o
  2266. LD drivers/mmonitor/built-in.o
  2267. CC drivers/media/v4l2-core/v4l2-async.o
  2268. LD drivers/hisi/secs_power_ctrl/built-in.o
  2269. CC fs/f2fs/debug.o
  2270. CC drivers/hid/hid-lgff.o
  2271. CC drivers/hisi/modem/drv/balong_timer/hardtimer_core.o
  2272. LD drivers/hisi/ivp/built-in.o
  2273. CC drivers/mmc/core/host.o
  2274. CC drivers/media/media-device.o
  2275. LD drivers/huawei_platform/net/ipv4/built-in.o
  2276. LD drivers/huawei_platform/power/smpl/built-in.o
  2277. CC drivers/hisi/slimbus/slimbus_64xx.o
  2278. CC drivers/hid/hid-lg2ff.o
  2279. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_instr_backend.o
  2280. In file included from ../drivers/huawei_platform/oases/oases.c:21:0:
  2281. ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
  2282. static inline int oases_insn_patch_nosync(void* addr, u32 insn);
  2283. ^
  2284. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_jm_as.o
  2285. ../drivers/huawei_platform/oases/patch_file.c: In function ‘oases_build_code’:
  2286. LD drivers/hisi/mntn/hisilicon_platform_mntn.o
  2287. CC drivers/hisi/modem/drv/adp/adp_wifi.o
  2288. ../drivers/huawei_platform/oases/patch_file.c:507:3: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
  2289. oases_debug("vmalloc_exec %u failed\n", code_size);
  2290. ^
  2291. In file included from ../drivers/huawei_platform/oases/patch_file.c:20:0:
  2292. ../drivers/huawei_platform/oases/patch_file.c: At top level:
  2293. CC drivers/hisi/modem/drv/adp/adp_mailbox.o
  2294. CC drivers/mfd/hisi_freq_autodown.o
  2295. CC drivers/mmc/host/dw_mmc-pltfm.o
  2296. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_common.c:55:0:
  2297. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
  2298. #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
  2299. ^
  2300. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_common.c:30:0:
  2301. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
  2302. #define strnicmp strncasecmp
  2303. ^
  2304. ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
  2305. static inline int oases_insn_patch_nosync(void* addr, u32 insn);
  2306. ^
  2307. ../drivers/huawei_platform/oases/patch_file.c:291:12: warning: ‘is_valid_version’ defined but not used [-Wunused-function]
  2308. static int is_valid_version(unsigned int version)
  2309. ^
  2310. CC drivers/mmc/host/dw_mmc_hi3xxx.o
  2311. LD drivers/hisi/timekeeper/built-in.o
  2312. CC drivers/media/media-devnode.o
  2313. CC lib/int_sqrt.o
  2314. CC lib/idr.o
  2315. CC drivers/huawei_platform/oases/sign/asn1_decoder.o
  2316. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_jm_hw.o
  2317. CC fs/f2fs/xattr.o
  2318. CC lib/ioremap.o
  2319. CC fs/f2fs/acl.o
  2320. CC drivers/hisi/mntn/blackbox/rdr_module_core.o
  2321. ../drivers/huawei_platform/sensor/hall/hall_sensor.c:270:2: warning: missing braces around initializer [-Wmissing-braces]
  2322. &hall_attr_group,
  2323. ^
  2324. CC fs/f2fs/sdp_context.o
  2325. LD drivers/hisi/isp/built-in.o
  2326. ../drivers/huawei_platform/sensor/hall/hall_sensor.c:270:2: warning: (near initialization for ‘hall_attr_groups[0]’) [-Wmissing-braces]
  2327. ../drivers/huawei_platform/sensor/hall/hall_sensor.c:270:2: warning: initialization from incompatible pointer type
  2328. CC drivers/huawei_platform/net/qtaguid_pid/qtaguid_pid.o
  2329. ../drivers/huawei_platform/sensor/hall/hall_sensor.c:270:2: warning: (near initialization for ‘hall_attr_groups[0].name’)
  2330. ../drivers/huawei_platform/sensor/hall/hall_sensor.c: In function ‘hall_init’:
  2331. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.o
  2332. ../drivers/huawei_platform/sensor/hall/hall_sensor.c:315:25: warning: assignment from incompatible pointer type
  2333. hall_class->dev_groups = &hall_attr_groups;
  2334. ^
  2335. LD drivers/huawei_platform/net/hw_netfilter/built-in.o
  2336. CC drivers/huawei_platform/oases/sign/generic_mpih-add1.o
  2337. CC drivers/media/v4l2-core/v4l2-compat-ioctl32.o
  2338. CC drivers/media/huawei/camera/hwcam_cfgstream.o
  2339. CC drivers/media/v4l2-core/v4l2-of.o
  2340. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_jm_rb.o
  2341. LD drivers/huawei_platform/net/hw_dpi_mark/built-in.o
  2342. In file included from ../drivers/huawei_platform/oases/sign/asn1_decoder.c:15:0:
  2343. ../drivers/huawei_platform/oases/sign/../util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
  2344. static inline int oases_insn_patch_nosync(void* addr, u32 insn);
  2345. ^
  2346. CC drivers/huawei_platform/net/bastet/bastet_channel.o
  2347. CC drivers/mmc/host/dw_mmc_test.o
  2348. ../drivers/huawei_platform/oases/patch_mgr.c: In function ‘oases_notify_uevent’:
  2349. ../drivers/huawei_platform/oases/patch_mgr.c:235:2: warning: too many arguments for format [-Wformat-extra-args]
  2350. oases_info("notify uevent starting\n", __func__);
  2351. ^
  2352. In file included from ../drivers/huawei_platform/oases/patch_api.c:20:0:
  2353. ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
  2354. static inline int oases_insn_patch_nosync(void* addr, u32 insn);
  2355. ^
  2356. In file included from ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:28:0:
  2357. ../drivers/huawei_platform/sensor/fingerprint/fingerprint.h:23:0: warning: "KEY_MAX" redefined
  2358. #define KEY_MAX 255
  2359. ^
  2360. In file included from ../include/uapi/linux/input.h:19:0,
  2361. from ../include/linux/input.h:13,
  2362. from ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:5:
  2363. ../include/uapi/linux/input-event-codes.h:690:0: note: this is the location of the previous definition
  2364. #define KEY_MAX 0x2ff
  2365. ^
  2366. In file included from ../drivers/huawei_platform/oases/patch_mgr.c:22:0:
  2367. ../drivers/huawei_platform/oases/patch_mgr.c: At top level:
  2368. ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
  2369. static inline int oases_insn_patch_nosync(void* addr, u32 insn);
  2370. ^
  2371. LD drivers/huawei_platform/power/charger/charger_sensorhub/built-in.o
  2372. ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c: In function ‘irq_get’:
  2373. ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:120:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2374. int irq;
  2375. ^
  2376. ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c: In function ‘module_id_ud_show’:
  2377. ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:321:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2378. struct fp_data* fingerprint = dev_get_drvdata(device);
  2379. ^
  2380. ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c: In function ‘fingerprint_chip_info_show’:
  2381. ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:535:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2382. struct fp_data* fingerprint= dev_get_drvdata(device);
  2383. ^
  2384. ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c: In function ‘ud_fingerprint_chip_info_show’:
  2385. ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:559:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2386. struct fp_data* fingerprint = dev_get_drvdata(device);
  2387. ^
  2388. ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c: In function ‘ud_fingerprint_chip_info_store’:
  2389. ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:575:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2390. struct fp_data* fingerprint = dev_get_drvdata(device);
  2391. ^
  2392. ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c: In function ‘stylus_pen_notify_fp’:
  2393. ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:737:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2394. struct fp_data* fingerprint = g_fingerprint;
  2395. ^
  2396. ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c: In function ‘fingerprint_get_dts_data’:
  2397. ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:827:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2398. struct device_node* np;
  2399. ^
  2400. ../drivers/huawei_platform/sensor/touch_key/huawei_touch_key.c: In function ‘touch_key_probe’:
  2401. ../drivers/huawei_platform/power/wifi_filter/wifi_filter.c: In function ‘get_wifi_filter_info’:
  2402. CC drivers/hid/hid-lg3ff.o
  2403. ../drivers/huawei_platform/power/wifi_filter/wifi_filter.c:172:25: warning: unused variable ‘special_item’ [-Wunused-variable]
  2404. hw_wifi_filter_item special_item;
  2405. ^
  2406. ../drivers/huawei_platform/power/wifi_filter/wifi_filter.c: At top level:
  2407. ../drivers/huawei_platform/power/wifi_filter/wifi_filter.c:120:13: warning: ‘get_chainname’ defined but not used [-Wunused-function]
  2408. static void get_chainname(
  2409. ^
  2410. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_js_backend.o
  2411. CC drivers/hid/hid-lg4ff.o
  2412. CC drivers/hisi/modem/ims/src/act/act_acore.o
  2413. ../drivers/huawei_platform/sensor/touch_key/huawei_touch_key.c:150:26: warning: passing argument 1 of ‘input_unregister_device’ from incompatible pointer type
  2414. input_unregister_device(&touch_key_dev->input_dev);
  2415. ^
  2416. In file included from ../drivers/huawei_platform/sensor/touch_key/huawei_touch_key.c:8:0:
  2417. ../include/linux/input.h:359:6: note: expected ‘struct input_dev *’ but argument is of type ‘struct input_dev **’
  2418. void input_unregister_device(struct input_dev *);
  2419. ^
  2420. ../drivers/huawei_platform/sensor/touch_key/huawei_touch_key.c:151:20: warning: passing argument 1 of ‘input_free_device’ from incompatible pointer type
  2421. input_free_device(&touch_key_dev->input_dev);
  2422. ^
  2423. In file included from ../drivers/huawei_platform/sensor/touch_key/huawei_touch_key.c:8:0:
  2424. ../include/linux/input.h:335:6: note: expected ‘struct input_dev *’ but argument is of type ‘struct input_dev **’
  2425. void input_free_device(struct input_dev *dev);
  2426. ^
  2427. ../drivers/mmc/host/sdhci.c: In function ‘sdhci_set_power_reg’:
  2428. ../drivers/mmc/host/sdhci.c:1545:19: warning: unused variable ‘mmc’ [-Wunused-variable]
  2429. struct mmc_host *mmc = host->mmc;
  2430. ^
  2431. CC drivers/mmc/host/sdhci-pltfm.o
  2432. CC drivers/hisi/modem/drv/dump/apr/dump_apr.o
  2433. CC drivers/huawei_platform/oases/sign/generic_mpih-lshift.o
  2434. CC drivers/huawei_platform/sw/sw_core.o
  2435. CC drivers/hisi/modem/drv/balong_timer/softtimer_balong.o
  2436. CC drivers/hisi/noc/hisi_noc_info_hi3660.o
  2437. CC drivers/huawei_platform/oases/sign/generic_mpih-mul1.o
  2438. CC drivers/hisi/modem/drv/balong_timer/hardtimer_balong_test.o
  2439. CC fs/proc/thread_self.o
  2440. CC drivers/hisi/modem/drv/dump/comm/dump_config.o
  2441. CC drivers/huawei_platform/oases/sign/generic_mpih-mul2.o
  2442. CC net/netfilter/xt_string.o
  2443. CC drivers/huawei_platform/touch_key/cyp_touch_key.o
  2444. In file included from ../drivers/huawei_platform/oases/oases_signing.c:13:0:
  2445. ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
  2446. static inline int oases_insn_patch_nosync(void* addr, u32 insn);
  2447. ^
  2448. CC drivers/hisi/modem/drv/dump/mdmap/dump_modem_baseinfo.o
  2449. LD drivers/huawei_platform/power/water_check/built-in.o
  2450. LD drivers/huawei_platform/storage/appinfo/built-in.o
  2451. CC drivers/hisi/slimbus/slimbus_6403.o
  2452. CC drivers/hisi/modem/drv/dump/mdmap/dump_modem_core.o
  2453. CC drivers/hisi/noc/hisi_noc_info_hi6250.o
  2454. CC drivers/hisi/modem/drv/dump/mdmap/dump_modem_debug.o
  2455. CC fs/f2fs/policy.o
  2456. CC drivers/huawei_platform/oases/sign/generic_mpih-mul3.o
  2457. aarch64-elf-objcopy -O binary drivers/huawei_platform/oases/inlinehook_func_pre.oas drivers/huawei_platform/oases/inlinehook_func_pre.bin
  2458. CC drivers/hisi/slimbus/slimbus_6402.o
  2459. LD drivers/hisi/mntn/hisee/built-in.o
  2460. CC drivers/mmc/card/mmc_health_diag.o
  2461. CC fs/f2fs/keyinfo.o
  2462. In file included from ../drivers/hisi/tzdriver/smc_smp.c:39:0:
  2463. ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘struct mmc_blk_ioc_rpmb_data’ declared inside parameter list
  2464. struct mmc_blk_ioc_rpmb_data *idata);
  2465. ^
  2466. ../drivers/hisi/tzdriver/agent.h:111:14: warning: its scope is only this definition or declaration, which is probably not what you want
  2467. ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘enum func_id’ declared inside parameter list
  2468. CC fs/f2fs/ecdh.o
  2469. CC drivers/mmc/card/hisi_rpmb.o
  2470. CC drivers/hisi/modem/drv/dump/mdmap/dump_modem_hook.o
  2471. aarch64-elf-objcopy -O binary drivers/huawei_platform/oases/inlinehook_func_post.oas drivers/huawei_platform/oases/inlinehook_func_post.bin
  2472. aarch64-elf-objcopy -O binary drivers/huawei_platform/oases/inlinehook_func_pre_post.oas drivers/huawei_platform/oases/inlinehook_func_pre_post.bin
  2473. CC drivers/hisi/modem/drv/dump/mdmap/dump_modem_save.o
  2474. LD drivers/huawei_platform/power/usb_short_circuit_protect/built-in.o
  2475. aarch64-elf-objcopy -O binary drivers/huawei_platform/oases/inlinehook_subfunc_pre.oas drivers/huawei_platform/oases/inlinehook_subfunc_pre.bin
  2476. aarch64-elf-objcopy -O binary drivers/huawei_platform/oases/inlinehook_subfunc_post.oas drivers/huawei_platform/oases/inlinehook_subfunc_post.bin
  2477. CC drivers/hisi/mntn/blackbox/rdr_dump_core.o
  2478. LD drivers/huawei_platform/storage/ddrinfo/built-in.o
  2479. aarch64-elf-gcc -c -o drivers/huawei_platform/oases/inlinehook_data.o -Wa,-Idrivers/huawei_platform/oases ../drivers/huawei_platform/oases/inlinehook_data.S
  2480. CC drivers/mmc/host/cmdq_hci.o
  2481. CC drivers/md/dm-ioctl.o
  2482. ../drivers/hisi/tzdriver/smc_smp.c: In function ‘upload_audit_event’:
  2483. ../drivers/hisi/tzdriver/smc_smp.c:652:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
  2484. tlogd("stp get size %x succ \n", sizeof(item_info[ITRUSTEE].name));
  2485. ^
  2486. CC drivers/huawei_platform/oases/sign/generic_mpih-rshift.o
  2487. CC drivers/hisi/modem/drv/efuse/efuse_balong_agent.o
  2488. LD drivers/huawei_platform/storage/postfsdata/built-in.o
  2489. CC drivers/media/v4l2-core/vb2-trace.o
  2490. In file included from ../include/linux/mm_types.h:15:0,
  2491. from ../include/linux/sched.h:27,
  2492. from ../drivers/hisi/tzdriver/smc_smp.c:1:
  2493. ../drivers/hisi/tzdriver/smc_smp.c: In function ‘smc_set_cmd_buffer’:
  2494. ../include/linux/workqueue.h:219:17: warning: assignment from incompatible pointer type
  2495. (_work)->func = (_func); \
  2496. ^
  2497. ../include/linux/workqueue.h:227:2: note: in expansion of macro ‘__INIT_WORK’
  2498. __INIT_WORK((_work), (_func), 1)
  2499. ^
  2500. ../drivers/hisi/tzdriver/smc_smp.c:1366:2: note: in expansion of macro ‘INIT_WORK_ONSTACK’
  2501. INIT_WORK_ONSTACK(&work, smc_work_set_cmd_buffer);
  2502. ^
  2503. ../drivers/hisi/tzdriver/smc_smp.c: In function ‘smc_init_secondary_cpus’:
  2504. ../include/linux/workqueue.h:219:17: warning: assignment from incompatible pointer type
  2505. (_work)->func = (_func); \
  2506. ^
  2507. ../include/linux/workqueue.h:227:2: note: in expansion of macro ‘__INIT_WORK’
  2508. __INIT_WORK((_work), (_func), 1)
  2509. ^
  2510. ../drivers/hisi/tzdriver/smc_smp.c:1380:2: note: in expansion of macro ‘INIT_WORK_ONSTACK’
  2511. INIT_WORK_ONSTACK(&work, smc_work_init_secondary_cpus);
  2512. ^
  2513. ../drivers/huawei_platform/oases/inlinehook_gen_off drivers/huawei_platform/oases/inlinehook_offset.h ../drivers/huawei_platform/oases/inlinehook_const.h drivers/huawei_platform/oases/inlinehook_func_pre.bin drivers/huawei_platform/oases/inlinehook_func_post.bin drivers/huawei_platform/oases/inlinehook_func_pre_post.bin drivers/huawei_platform/oases/inlinehook_subfunc_pre.bin drivers/huawei_platform/oases/inlinehook_subfunc_post.bin
  2514. CC lib/irq_regs.o
  2515. CC drivers/hisi/modem/drv/adp/adp_dpm.o
  2516. CC drivers/hisi/modem/drv/adp/adp_sec.o
  2517. CC drivers/input/mouse/focaltech.o
  2518. LD drivers/huawei_platform/storage/built-in.o
  2519. CC drivers/hisi/modem/drv/adp/adp_mem_balong.o
  2520. LD drivers/hisi/modem/drv/dlock/built-in.o
  2521. CC drivers/media/v4l2-core/v4l2-trace.o
  2522. CC drivers/hisi/modem/drv/adp/adp_cpufreq_balong.o
  2523. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_roam.o
  2524. LD drivers/huawei_platform/sensor/touch_key/built-in.o
  2525. CC drivers/huawei_platform/oases/sign/generic_mpih-sub1.o
  2526. CC drivers/hisi/modem/drv/adp/adp_applog.o
  2527. CC drivers/hisi/modem/drv/dump/mdmap/dump_modem_rdr.o
  2528. CC drivers/huawei_platform/net/bastet/bastet_reconn.o
  2529. CC drivers/huawei_platform/net/bastet/bastet_partner.o
  2530. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.o
  2531. CC drivers/huawei_platform/touch_key/cyp_key_backlight.o
  2532. CC drivers/hisi/modem/drv/fiq/fiq.o
  2533. CC drivers/hisi/tzdriver/tc_client_driver.o
  2534. CC drivers/hisi/modem/drv/hds/bsp_hds_service.o
  2535. CC drivers/hisi/modem/drv/hds/bsp_hds_log.o
  2536. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_mmu_hw_direct.o
  2537. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_pm_backend.o
  2538. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_pm_driver.o
  2539. CC drivers/huawei_platform/sw/sw_hid_vendor.o
  2540. CC drivers/hisi/modem/drv/dump/comm/dump_file.o
  2541. CC drivers/hid/hid-logitech-dj.o
  2542. CC net/netfilter/xt_time.o
  2543. LD drivers/hisi/pm/built-in.o
  2544. CC drivers/hid/hid-logitech-hidpp.o
  2545. LD drivers/misc/built-in.o
  2546. CC net/netfilter/xt_u32.o
  2547. CC drivers/huawei_platform/oases/sign/mpi-bit.o
  2548. In file included from ../include/uapi/linux/posix_types.h:4:0,
  2549. from ../include/uapi/linux/types.h:13,
  2550. from ../include/linux/types.h:5,
  2551. from ../include/linux/list.h:4,
  2552. from ../include/linux/module.h:9,
  2553. from ../drivers/hisi/modem/ims/src/act/act_acore.c:1:
  2554. ../drivers/hisi/modem/ims/src/act/act_acore.c: In function ‘act_release’:
  2555. ../include/linux/stddef.h:7:14: warning: initialization makes integer from pointer without a cast
  2556. #define NULL ((void *)0)
  2557. ^
  2558. ../drivers/hisi/modem/ims/src/act/act_acore.c:139:30: note: in expansion of macro ‘NULL’
  2559. unsigned long flags = NULL;
  2560. ^
  2561. ../drivers/hisi/modem/ims/src/act/act_acore.c:147:18: warning: passing argument 1 of ‘list_del’ from incompatible pointer type
  2562. list_del(data);
  2563. ^
  2564. In file included from ../include/linux/module.h:9:0,
  2565. from ../drivers/hisi/modem/ims/src/act/act_acore.c:1:
  2566. ../include/linux/list.h:105:20: note: expected ‘struct list_head *’ but argument is of type ‘struct act_cdev_data *’
  2567. static inline void list_del(struct list_head *entry)
  2568. ^
  2569. In file included from ../include/uapi/linux/posix_types.h:4:0,
  2570. from ../include/uapi/linux/types.h:13,
  2571. from ../include/linux/types.h:5,
  2572. from ../include/linux/list.h:4,
  2573. from ../include/linux/module.h:9,
  2574. from ../drivers/hisi/modem/ims/src/act/act_acore.c:1:
  2575. ../drivers/hisi/modem/ims/src/act/act_acore.c: In function ‘act_read’:
  2576. ../include/linux/stddef.h:7:14: warning: initialization makes integer from pointer without a cast
  2577. #define NULL ((void *)0)
  2578. ^
  2579. ../drivers/hisi/modem/ims/src/act/act_acore.c:163:30: note: in expansion of macro ‘NULL’
  2580. unsigned long flags = NULL;
  2581. ^
  2582. ../drivers/hisi/modem/ims/src/act/act_acore.c:166:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat=]
  2583. printk(KERN_INFO "Enter act_read size_t(%d).\n", size);
  2584. ^
  2585. ../drivers/hisi/modem/ims/src/act/act_acore.c:199:21: warning: passing argument 1 of ‘list_del’ from incompatible pointer type
  2586. list_del(data);
  2587. ^
  2588. In file included from ../include/linux/module.h:9:0,
  2589. from ../drivers/hisi/modem/ims/src/act/act_acore.c:1:
  2590. ../include/linux/list.h:105:20: note: expected ‘struct list_head *’ but argument is of type ‘struct act_cdev_data *’
  2591. static inline void list_del(struct list_head *entry)
  2592. ^
  2593. ../drivers/hisi/modem/ims/src/act/act_acore.c: In function ‘act_write’:
  2594. ../drivers/hisi/modem/ims/src/act/act_acore.c:247:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat=]
  2595. printk(KERN_INFO "act_write: send data (%d) bytes\n", len);
  2596. ^
  2597. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_pm_metrics.o
  2598. ../drivers/hisi/modem/ims/src/act/act_acore.c: At top level:
  2599. ../drivers/hisi/modem/ims/src/act/act_acore.c:272:16: warning: initialization from incompatible pointer type
  2600. .read = act_read,
  2601. ^
  2602. ../drivers/hisi/modem/ims/src/act/act_acore.c:272:16: warning: (near initialization for ‘act_cdev_fops.read’)
  2603. ../drivers/hisi/modem/ims/src/act/act_acore.c:273:16: warning: initialization from incompatible pointer type
  2604. .write = act_write,
  2605. ^
  2606. ../drivers/hisi/modem/ims/src/act/act_acore.c:273:16: warning: (near initialization for ‘act_cdev_fops.write’)
  2607. ../drivers/hisi/modem/ims/src/act/act_acore.c: In function ‘act_cdev_init’:
  2608. ../drivers/hisi/modem/ims/src/act/act_acore.c:358:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2609. ICC_CHAN_ATTR_S chanAttr;
  2610. ^
  2611. CC drivers/hisi/tzdriver/teek_client_api.o
  2612. CC drivers/hisi/soundtrigger/soundtrigger_event.o
  2613. In file included from ../drivers/huawei_platform/touch_key/cyp_touch_key.c:27:0:
  2614. ../drivers/huawei_platform/touch_key/cyp_touch_key.h:113:0: warning: "CYTTSP_PARAM_NULL" redefined
  2615. #define CYTTSP_PARAM_NULL 1
  2616. ^
  2617. ../drivers/huawei_platform/touch_key/cyp_touch_key.h:92:0: note: this is the location of the previous definition
  2618. #define CYTTSP_PARAM_NULL "reason: param null;"
  2619. ^
  2620. LD net/wireless/cfg80211.o
  2621. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfgp2p.o
  2622. CC drivers/hisi/mntn/blackbox/rdr_logmonitor_core.o
  2623. CC drivers/hisi/modem/drv/dump/mdmap/dump_modem_mem.o
  2624. CC drivers/media/v4l2-core/v4l2-mc.o
  2625. CC fs/proc/uid.o
  2626. CC drivers/hid/hid-magicmouse.o
  2627. CC drivers/hisi/noc/hisi_noc_info_kirin970_es.o
  2628. CC lib/is_single_threaded.o
  2629. CC drivers/media/media-entity.o
  2630. ../drivers/huawei_platform/touch_key/cyp_touch_key.c: In function ‘cyttsp_button_parse_dt’:
  2631. ../drivers/huawei_platform/touch_key/cyp_touch_key.c:417:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2632. struct device_node *np = dev->of_node;
  2633. ^
  2634. LD drivers/huawei_platform/power/hw_kstate/built-in.o
  2635. CC fs/proc/proc_sysctl.o
  2636. In file included from ../include/linux/mm_types.h:15:0,
  2637. from ../include/linux/sched.h:27,
  2638. from ../arch/arm64/include/asm/compat.h:25,
  2639. from ../arch/arm64/include/asm/stat.h:23,
  2640. from ../include/linux/stat.h:5,
  2641. from ../include/linux/sysfs.h:21,
  2642. from ../include/linux/kobject.h:21,
  2643. from ../include/linux/device.h:17,
  2644. from ../include/linux/i2c.h:30,
  2645. from ../drivers/huawei_platform/touch_key/cyp_touch_key.c:4:
  2646. ../drivers/huawei_platform/touch_key/cyp_touch_key.c: In function ‘cyttsp_button_probe’:
  2647. ../include/linux/workqueue.h:219:17: warning: assignment from incompatible pointer type
  2648. (_work)->func = (_func); \
  2649. ^
  2650. ../include/linux/workqueue.h:224:2: note: in expansion of macro ‘__INIT_WORK’
  2651. __INIT_WORK((_work), (_func), 0)
  2652. ^
  2653. ../drivers/huawei_platform/touch_key/cyp_touch_key.c:1948:2: note: in expansion of macro ‘INIT_WORK’
  2654. INIT_WORK(&(data->touchkey_dsm_work_struct), touchkey_dsm_func);
  2655. ^
  2656. CC drivers/huawei_platform/net/bastet/bastet_fastgrab.o
  2657. CC drivers/media/v4l2-core/v4l2-common.o
  2658. ../drivers/huawei_platform/touch_key/cyp_touch_key.c: At top level:
  2659. ../drivers/huawei_platform/touch_key/cyp_touch_key.c:2150:12: warning: initialization from incompatible pointer type
  2660. .probe = cyttsp_button_probe,
  2661. ^
  2662. ../drivers/huawei_platform/touch_key/cyp_touch_key.c:2150:12: warning: (near initialization for ‘cyttsp_button_driver.probe’)
  2663. CC drivers/huawei_platform/net/bastet/bastet_filter.o
  2664. In file included from ../include/asm-generic/bug.h:13:0,
  2665. from ../arch/arm64/include/asm/bug.h:67,
  2666. from ../include/linux/bug.h:4,
  2667. from ../include/linux/kref.h:18,
  2668. from ../drivers/huawei_platform/sw/sw_core.c:1:
  2669. ../drivers/huawei_platform/sw/sw_core.c: In function ‘swkb_channel_com_work’:
  2670. ../include/linux/kernel.h:842:48: warning: initialization from incompatible pointer type
  2671. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  2672. ^
  2673. ../drivers/huawei_platform/sw/sw_core.c:1264:39: note: in expansion of macro ‘container_of’
  2674. struct hw_sw_disc_data *pdisc_data = container_of(work, struct hw_sw_disc_data, kb_channel_work);
  2675. ^
  2676. ../include/linux/kernel.h:842:48: warning: (near initialization for ‘pdisc_data’)
  2677. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  2678. ^
  2679. ../drivers/huawei_platform/sw/sw_core.c:1264:39: note: in expansion of macro ‘container_of’
  2680. struct hw_sw_disc_data *pdisc_data = container_of(work, struct hw_sw_disc_data, kb_channel_work);
  2681. ^
  2682. LD net/wireless/built-in.o
  2683. CC drivers/hisi/modem/drv/dump/comm/dump_exc_ctrl.o
  2684. CC fs/proc/proc_net.o
  2685. CC drivers/hisi/modem/drv/adp/adp_hds.o
  2686. CC drivers/media/v4l2-core/v4l2-dv-timings.o
  2687. CC drivers/hisi/modem/drv/hwadp/hwadp_balong.o
  2688. CC drivers/hisi/modem/drv/hwadp/hwadp_core.o
  2689. CC drivers/hisi/modem/drv/adp/adp_blk_mmc.o
  2690. CC drivers/hisi/modem/drv/dump/mdmcp/dump_cp_agent.o
  2691. CC drivers/media/v4l2-core/videobuf2-core.o
  2692. CC drivers/hisi/modem/drv/hwadp/hwadp_debug.o
  2693. LD drivers/hisi/modem/drv/dump/apr/built-in.o
  2694. CC drivers/media/v4l2-core/videobuf2-v4l2.o
  2695. CC drivers/hisi/modem/drv/dump/mdmcp/dump_cp_wdt.o
  2696. CC drivers/hisi/modem/drv/adp/adp_coresight.o
  2697. CC drivers/hisi/modem/drv/adp/adp_charger.o
  2698. ../fs/f2fs/segment.c: In function ‘new_curseg_subdivision’:
  2699. ../fs/f2fs/segment.c:2838:2: warning: ‘dir’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  2700. SIT_I(sbi)->s_ops->get_new_segment(sbi, &segno, new_sec, dir);
  2701. ^
  2702. CC lib/klist.o
  2703. CC drivers/hid/hid-microsoft.o
  2704. CC drivers/hisi/modem/drv/adp/adp_mmc.o
  2705. CC drivers/hisi/modem/drv/adp/adp_dload.o
  2706. CC drivers/hisi/modem/drv/adp/adp_misc.o
  2707. CC drivers/hisi/modem/drv/adp/adp_vic.o
  2708. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:50:0:
  2709. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
  2710. #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
  2711. ^
  2712. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:37:0:
  2713. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
  2714. #define strnicmp strncasecmp
  2715. ^
  2716. LD drivers/huawei_platform/sensor/hall/built-in.o
  2717. ../drivers/huawei_platform/net/bastet/bastet_channel.c: In function ‘bastet_send_priority_data’:
  2718. ../drivers/huawei_platform/net/bastet/bastet_channel.c:114:22: warning: initialization discards ‘const’ qualifier from pointer target type
  2719. struct iovec *iov = msg->msg_iter.iov;
  2720. ^
  2721. ../drivers/huawei_platform/net/bastet/bastet_channel.c: In function ‘bastet_send_wq_data’:
  2722. ../drivers/huawei_platform/net/bastet/bastet_channel.c:164:21: warning: unused variable ‘tcb’ [-Wunused-variable]
  2723. struct tcp_skb_cb *tcb = TCP_SKB_CB(skb);
  2724. ^
  2725. CC drivers/huawei_platform/oases/sign/mpi-cmp.o
  2726. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_pm_ca.o
  2727. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_pm_always_on.o
  2728. CC fs/proc/kmsg.o
  2729. ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:92:15: warning: missing braces around initializer [-Wmissing-braces]
  2730. static struct timer_list keypad_backlight_timer = {0};
  2731. ^
  2732. ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:92:15: warning: (near initialization for ‘keypad_backlight_timer.entry’) [-Wmissing-braces]
  2733. ../drivers/huawei_platform/touch_key/cyp_key_backlight.c: In function ‘fb_notifier_callback’:
  2734. ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:326:6: warning: unused variable ‘ret’ [-Wunused-variable]
  2735. int ret = 0;
  2736. ^
  2737. ../drivers/huawei_platform/touch_key/cyp_key_backlight.c: In function ‘key_backlight_probe’:
  2738. ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:418:63: warning: passing argument 3 of ‘of_property_read_u32’ from incompatible pointer type
  2739. ret = of_property_read_u32(pdev->dev.of_node, "dr_led_ctrl", &keypad_leds.dr_led_ctrl);
  2740. ^
  2741. In file included from ../include/linux/of_device.h:8:0,
  2742. from ../include/linux/of_platform.h:17,
  2743. from ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:6:
  2744. ../include/linux/of.h:1046:19: note: expected ‘u32 *’ but argument is of type ‘long unsigned int *’
  2745. static inline int of_property_read_u32(const struct device_node *np,
  2746. ^
  2747. ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:433:67: warning: passing argument 3 of ‘of_property_read_u32’ from incompatible pointer type
  2748. ret = of_property_read_u32(pdev->dev.of_node, "dr_time_config0", &keypad_leds.dr_time_config0);
  2749. ^
  2750. In file included from ../include/linux/of_device.h:8:0,
  2751. from ../include/linux/of_platform.h:17,
  2752. from ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:6:
  2753. ../include/linux/of.h:1046:19: note: expected ‘u32 *’ but argument is of type ‘long unsigned int *’
  2754. static inline int of_property_read_u32(const struct device_node *np,
  2755. ^
  2756. ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:438:67: warning: passing argument 3 of ‘of_property_read_u32’ from incompatible pointer type
  2757. ret = of_property_read_u32(pdev->dev.of_node, "dr_time_config1", &keypad_leds.dr_time_config1);
  2758. ^
  2759. In file included from ../include/linux/of_device.h:8:0,
  2760. from ../include/linux/of_platform.h:17,
  2761. from ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:6:
  2762. ../include/linux/of.h:1046:19: note: expected ‘u32 *’ but argument is of type ‘long unsigned int *’
  2763. static inline int of_property_read_u32(const struct device_node *np,
  2764. ^
  2765. ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:441:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
  2766. hwlog_info("couldn't get dr_time_config1, use the default reg = 0x%x\n", keypad_leds.dr_time_config1);
  2767. ^
  2768. ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:443:64: warning: passing argument 3 of ‘of_property_read_u32’ from incompatible pointer type
  2769. ret = of_property_read_u32(pdev->dev.of_node, "dr_delay_off", &keypad_leds.delay_off);
  2770. ^
  2771. In file included from ../include/linux/of_device.h:8:0,
  2772. from ../include/linux/of_platform.h:17,
  2773. from ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:6:
  2774. ../include/linux/of.h:1046:19: note: expected ‘u32 *’ but argument is of type ‘long unsigned int *’
  2775. static inline int of_property_read_u32(const struct device_node *np,
  2776. ^
  2777. ../drivers/huawei_platform/touch_key/cyp_key_backlight.c: At top level:
  2778. ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:92:26: warning: ‘keypad_backlight_timer’ defined but not used [-Wunused-variable]
  2779. static struct timer_list keypad_backlight_timer = {0};
  2780. ^
  2781. LD drivers/huawei_platform/power/wifi_filter/built-in.o
  2782. LD drivers/hisi/modem/ims/src/act/built-in.o
  2783. LD drivers/hisi/modem/drv/fiq/built-in.o
  2784. LD drivers/hisi/modem/ims/built-in.o
  2785. CC drivers/hisi/soundtrigger/soundtrigger_socdsp_pcm.o
  2786. CC drivers/hisi/modem/drv/hds/bsp_hds_ind.o
  2787. CC drivers/hisi/soundtrigger/soundtrigger_socdsp_mailbox.o
  2788. In file included from ../drivers/hisi/tzdriver/tc_client_driver.c:63:0:
  2789. ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘struct mmc_blk_ioc_rpmb_data’ declared inside parameter list
  2790. struct mmc_blk_ioc_rpmb_data *idata);
  2791. ^
  2792. ../drivers/hisi/tzdriver/agent.h:111:14: warning: its scope is only this definition or declaration, which is probably not what you want
  2793. ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘enum func_id’ declared inside parameter list
  2794. CC drivers/hisi/tzdriver/mailbox_mempool.o
  2795. CC drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.o
  2796. CC fs/proc/page.o
  2797. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
  2798. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:52:
  2799. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
  2800. #ifndef _DRIVER_REGISTER.H
  2801. ^
  2802. CC drivers/huawei_platform/touthscreen/huawei_touchscreen.o
  2803. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
  2804. #define _DRIVER_REGISTER.H
  2805. ^
  2806. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:54:0:
  2807. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_dbg.h:190:0: warning: "WL_TRACE" redefined
  2808. #define WL_TRACE(args)
  2809. ^
  2810. CC drivers/hisi/modem/drv/hds/bsp_hds_test.o
  2811. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:50:0:
  2812. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:120:0: note: this is the location of the previous definition
  2813. #define WL_TRACE(args) \
  2814. ^
  2815. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:55:0: warning: "WL_ERROR" redefined
  2816. #define WL_ERROR(x) printk x
  2817. ^
  2818. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:54:0:
  2819. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_dbg.h:189:0: note: this is the location of the previous definition
  2820. #define WL_ERROR(args)
  2821. ^
  2822. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:56:0: warning: "WL_TRACE" redefined
  2823. #define WL_TRACE(x)
  2824. ^
  2825. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:54:0:
  2826. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_dbg.h:190:0: note: this is the location of the previous definition
  2827. #define WL_TRACE(args)
  2828. ^
  2829. CC drivers/huawei_platform/vendor_exception/vendor_exception.o
  2830. ../drivers/hisi/tzdriver/tc_client_driver.c: In function ‘check_teecd_hash’:
  2831. ../drivers/hisi/tzdriver/tc_client_driver.c:266:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2832. unsigned char digest[SHA256_DIGEST_LENTH] = {0};
  2833. ^
  2834. CC lib/kobject.o
  2835. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c: In function ‘wl_android_set_disassoc_roaming_bssid’:
  2836. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:2264:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2837. scb_val_t scbval;
  2838. ^
  2839. CC drivers/mmc/host/hisi_sdhci_cmdq.o
  2840. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c: At top level:
  2841. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:1628:1: warning: ‘dev_iw_write_cfg0_bss_var’ defined but not used [-Wunused-function]
  2842. dev_iw_write_cfg0_bss_var(struct net_device *dev, int val)
  2843. ^
  2844. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:1800:1: warning: ‘get_softap_auto_channel’ defined but not used [-Wunused-function]
  2845. get_softap_auto_channel(struct net_device *dev, struct ap_profile *ap)
  2846. ^
  2847. LD drivers/mfd/built-in.o
  2848. ../drivers/huawei_platform/net/bastet/bastet_partner.c:33:0: warning: "UID_APP" redefined
  2849. #define UID_APP 10000
  2850. ^
  2851. ../drivers/hisi/tzdriver/tc_client_driver.c: In function ‘tc_client_open’:
  2852. ../drivers/hisi/tzdriver/tc_client_driver.c:2645:6: warning: unused variable ‘type’ [-Wunused-variable]
  2853. int type = INVALID_TYPE;
  2854. ^
  2855. In file included from ../include/net/neighbour.h:31:0,
  2856. from ../include/net/dst.h:17,
  2857. from ../include/net/sock.h:69,
  2858. from ../include/linux/tcp.h:23,
  2859. from ../drivers/huawei_platform/net/bastet/bastet_partner.c:27:
  2860. ../include/huawei_platform/emcom/emcom_xengine.h:14:0: note: this is the location of the previous definition
  2861. #define UID_APP (10000)
  2862. ^
  2863. ../drivers/huawei_platform/net/bastet/bastet_partner.c: In function ‘del_socks’:
  2864. ../drivers/huawei_platform/net/bastet/bastet_partner.c:426:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘kuid_t’ [-Wformat=]
  2865. BASTET_LOGI("kfree struct bastet_partner_sock, uid=%d", sock_i_uid(sock_node->sk));
  2866. ^
  2867. LD drivers/connectivity/hisi/wifi/wifi.o
  2868. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_pm_coarse_demand.o
  2869. CC drivers/huawei_platform/usb/pd/hw_pd.o
  2870. CC drivers/huawei_platform/usb/pd/hw_usb_vbus.o
  2871. CC drivers/huawei_platform/touthscreen/panel/atmel/atmel_main.o
  2872. CC drivers/huawei_platform/touthscreen/panel/atmel/atmel_fw_update.o
  2873. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_pm_demand.o
  2874. CC drivers/input/mouse/alps.o
  2875. CC drivers/input/mouse/logips2pp.o
  2876. CC drivers/huawei_platform/power/charger/charger_ap/dual_charger/bq25892_aux/bq25892_charger_aux.o
  2877. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_roam.c:33:0:
  2878. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
  2879. #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
  2880. ^
  2881. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_roam.c:32:0:
  2882. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
  2883. #define strnicmp strncasecmp
  2884. ^
  2885. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:72:0:
  2886. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
  2887. #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
  2888. ^
  2889. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:36:0:
  2890. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
  2891. #define strnicmp strncasecmp
  2892. ^
  2893. CC drivers/hisi/modem/oam/gu/../../config/errlog/errlog_cfg.o
  2894. CC drivers/hisi/modem/oam/gu/../gu/acore/om/ompcvoice.o
  2895. CC drivers/md/dm-io.o
  2896. CC drivers/huawei_platform/power/charger/charger_ap/dual_charger/dual_charger.o
  2897. CC drivers/hisi/modem/oam/gu/../gu/acore/om/pamappom.o
  2898. LD net/netfilter/netfilter.o
  2899. CC drivers/hisi/modem/oam/gu/../gu/acore/usimm/usimmappbase.o
  2900. CC drivers/hisi/modem/oam/lt/../comm/comm/nvim/Nvm_fw_api.o
  2901. CC drivers/mmc/card/emmc_system_wp.o
  2902. CC drivers/huawei_platform/power/charger/charger_ap/dual_charger/bq25892_main/bq25892_charger_main.o
  2903. LD drivers/hisi/modem/drv/dump/comm/built-in.o
  2904. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/osl.h:43:0,
  2905. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:85,
  2906. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:37:
  2907. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c: In function ‘wl_android_get_vowifi’:
  2908. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/linux_osl.h:276:30: warning: ‘bytes_written’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  2909. #define printf(fmt, args...) printk("BCMDHD:"fmt , ## args)
  2910. ^
  2911. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:1466:12: note: ‘bytes_written’ was declared here
  2912. int error,bytes_written,val;
  2913. ^
  2914. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_pm_policy.o
  2915. CC drivers/huawei_platform/power/charger/charger_ap/wired_channel_switch/wired_channel_switch.o
  2916. CC drivers/hisi/modem/oam/lt/../comm/comm/nvim/Nvm_fw_proc.o
  2917. LD drivers/hisi/modem/drv/balong_timer/built-in.o
  2918. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/DIPC/Src/PsDipc.o
  2919. CC drivers/hisi/mntn/blackbox/rdr_field_core.o
  2920. CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_acore_common.o
  2921. LD drivers/huawei_platform/power/charger/charger_ap/bq25892/built-in.o
  2922. CC drivers/hisi/tzdriver/security_auth_enhance.o
  2923. LD net/netfilter/nf_conntrack.o
  2924. LD drivers/hisi/modem/drv/efuse/built-in.o
  2925. LD net/netfilter/nf_conntrack_h323.o
  2926. CC drivers/hisi/modem/drv/icc/icc_core.o
  2927. CC drivers/hid/hid-monterey.o
  2928. CC drivers/huawei_platform/sw/sw_hid.o
  2929. CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_api.o
  2930. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/osl.h:43:0,
  2931. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:85,
  2932. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:37:
  2933. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c: In function ‘wl_android_set_vowifi’:
  2934. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/linux_osl.h:276:30: warning: ‘bytes_written’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  2935. #define printf(fmt, args...) printk("BCMDHD:"fmt , ## args)
  2936. ^
  2937. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:1433:6: note: ‘bytes_written’ was declared here
  2938. int bytes_written;
  2939. ^
  2940. CC drivers/huawei_platform/power/charger/charger_ap/direct_charger/sc.o
  2941. CC drivers/huawei_platform/power/charger/charger_ap/direct_charger/lvc.o
  2942. CC drivers/hisi/modem/drv/icc/icc_linux.o
  2943. CC drivers/hisi/noc/hisi_noc_info_kirin970.o
  2944. CC drivers/huawei_platform/oases/sign/mpicoder.o
  2945. CC drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger_power_supply.o
  2946. CC drivers/huawei_platform/vibrator/drv2605/drv2605.o
  2947. CC drivers/hid/hid-multitouch.o
  2948. CC drivers/hisi/noc/hisi_noc_info_MIA.o
  2949. ../drivers/mmc/card/block.c:107:0: warning: "mmc_req_rel_wr" redefined
  2950. #define mmc_req_rel_wr(req) ((req->cmd_flags & REQ_FUA) && \
  2951. ^
  2952. In file included from ../drivers/mmc/card/block.c:62:0:
  2953. ../drivers/mmc/card/mmc_hisi_card.h:46:0: note: this is the location of the previous definition
  2954. #define mmc_req_rel_wr(req) (((req->cmd_flags & REQ_FUA) || \
  2955. ^
  2956. CC drivers/hisi/modem/ps/tl/../comm/comm/common/STL/Src/LUPQueue.o
  2957. CC drivers/huawei_platform/usb/switch/switch_sensorhub/switch_fsa9685_sh.o
  2958. CC drivers/input/mouse/trackpoint.o
  2959. CC drivers/huawei_platform/usb/switch/switch_ap/switch_usb_class.o
  2960. CC drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.o
  2961. CC drivers/mmc/core/mmc.o
  2962. ../drivers/huawei_platform/net/bastet/bastet_reconn.c: In function ‘bastet_reconn_config’:
  2963. ../drivers/huawei_platform/net/bastet/bastet_reconn.c:49:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2964. struct bastet_reconn *reconn;
  2965. ^
  2966. CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_time.o
  2967. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
  2968. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:77:
  2969. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
  2970. #ifndef _DRIVER_REGISTER.H
  2971. ^
  2972. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
  2973. #define _DRIVER_REGISTER.H
  2974. ^
  2975. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:483:23: warning: extra tokens at end of #ifndef directive
  2976. #ifndef WLAIBSS_MCHAN || BRCM_RSDB
  2977. ^
  2978. LD drivers/connectivity/hisi/wifi/built-in.o
  2979. CC drivers/input/mouse/cypress_ps2.o
  2980. CC lib/kobject_uevent.o
  2981. CC drivers/media/huawei/camera/hwcam_compat32.o
  2982. CC fs/proc/hisi/hardware_info.o
  2983. CC drivers/gpu/arm/bifrost-r14p0-00cet0/platform/hisilicon/base/memory_group_manager/mali_kbase_hisi_memory_group_manager.o
  2984. CC drivers/hisi/tzdriver/agent.o
  2985. CC drivers/hisi/tzdriver/gp_ops.o
  2986. In file included from ../include/linux/list.h:8:0,
  2987. from ../include/linux/module.h:9,
  2988. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/linuxver.h:42,
  2989. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:28:
  2990. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_scan_prep’:
  2991. ../include/linux/kernel.h:745:16: warning: comparison of distinct pointer types lacks a cast
  2992. (void) (&min1 == &min2); \
  2993. ^
  2994. ../include/linux/kernel.h:748:2: note: in expansion of macro ‘__min’
  2995. __min(typeof(x), typeof(y), \
  2996. ^
  2997. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:3200:20: note: in expansion of macro ‘min’
  2998. ssid.SSID_len = min(request->ssids[i].ssid_len, DOT11_MAX_SSID_LEN);
  2999. ^
  3000. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_run_escan’:
  3001. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:3567:6: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3002. scb_val_t scbval;
  3003. ^
  3004. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_do_escan’:
  3005. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:3644:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3006. dhd_pub_t *dhd = (dhd_pub_t *)(cfg->pub);
  3007. ^
  3008. CC drivers/media/huawei/camera/cci/hw_cci.o
  3009. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_set_set_wapi_ie’:
  3010. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:5756:50: warning: passing argument 3 of ‘wldev_iovar_setbuf_bsscfg’ discards ‘const’ qualifier from pointer target type
  3011. err = wldev_iovar_setbuf_bsscfg(dev, "wapiie", sme->ie, sme->ie_len,
  3012. ^
  3013. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:71:0:
  3014. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wldev_common.h:76:5: note: expected ‘void *’ but argument is of type ‘const u8 *’
  3015. s32 wldev_iovar_setbuf_bsscfg(
  3016. ^
  3017. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_cfg80211_connect’:
  3018. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:6755:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3019. extern bool g_abs_enabled;
  3020. ^
  3021. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:6359:6: warning: unused variable ‘i’ [-Wunused-variable]
  3022. u32 i = 0;
  3023. ^
  3024. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_cfg80211_get_station’:
  3025. LD drivers/hisi/modem/drv/dump/mdmap/built-in.o
  3026. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:7840:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3027. dhd_pub_t *dhd = (dhd_pub_t *)(cfg->pub);
  3028. ^
  3029. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfgp2p.c:49:0:
  3030. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
  3031. #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
  3032. ^
  3033. ../drivers/huawei_platform/net/bastet/bastet_fastgrab.c: In function ‘BST_FG_HookPacket’:
  3034. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfgp2p.c:43:0:
  3035. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
  3036. #define strnicmp strncasecmp
  3037. ^
  3038. ../drivers/huawei_platform/net/bastet/bastet_fastgrab.c:287:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3039. uid_t lSockUid = 0;
  3040. ^
  3041. ../drivers/huawei_platform/net/bastet/bastet_fastgrab.c: In function ‘BST_FG_Save_Custom_Info’:
  3042. ../drivers/huawei_platform/net/bastet/bastet_fastgrab.c:777:22: warning: unused variable ‘pstCustom’ [-Wunused-variable]
  3043. BST_FG_CUSTOM_STRU *pstCustom;
  3044. ^
  3045. ../drivers/huawei_platform/net/bastet/bastet_fastgrab.c:775:10: warning: unused variable ‘ucAPPNum’ [-Wunused-variable]
  3046. uint8_t ucAPPNum;
  3047. ^
  3048. ../drivers/huawei_platform/net/bastet/bastet_fastgrab.c: In function ‘BST_FG_Custom_Process’:
  3049. ../drivers/huawei_platform/net/bastet/bastet_fastgrab.c:898:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  3050. BASTET_LOGD("BST_FG_CUSTOM:TCP Timeout is 0x%x",timeout);
  3051. ^
  3052. CC drivers/hisi/noc/hisi_noc_info_ATLA_es.o
  3053. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:7846:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3054. bool fw_assoc_state = FALSE;
  3055. ^
  3056. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:7822:6: warning: unused variable ‘ekvr_channel’ [-Wunused-variable]
  3057. u32 ekvr_channel;
  3058. ^
  3059. CC drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/dual_loadswitch.o
  3060. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_cfg80211_send_action_frame’:
  3061. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:9392:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3062. int ret_tmp = wl_cfgp2p_tx_action_frame(cfg, dev, af_params, bssidx);
  3063. ^
  3064. LD drivers/hisi/modem/drv/hwadp/built-in.o
  3065. CC drivers/hisi/tzdriver/mem.o
  3066. CC drivers/hisi/modem/drv/dump/mem/dump_modem_area.o
  3067. LD net/netfilter/nf_nat.o
  3068. CC drivers/hisi/modem/drv/dump/mdmcp/dump_lphy_tcm.o
  3069. CC drivers/hisi/modem/taf/comm/src/acore/ADS/Src/AdsCtx.o
  3070. ../drivers/huawei_platform/touch_key/cyp_touch_key.c: In function ‘rawdata_proc_show’:
  3071. LD net/netfilter/nf_tables.o
  3072. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/MUX/Src/PsMux.o
  3073. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_cfg80211_start_ap’:
  3074. LD drivers/huawei_platform/inputhub/hi3660/built-in.o
  3075. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:11967:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3076. s32 ap_channel = 0;
  3077. ^
  3078. ../drivers/huawei_platform/touch_key/cyp_touch_key.c:1464:1: warning: the frame size of 2880 bytes is larger than 2048 bytes [-Wframe-larger-than=]
  3079. }
  3080. ^
  3081. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/FLOWCTRL/Src/ACpuLoad.o
  3082. CC drivers/hid/hid-ntrig.o
  3083. LD drivers/huawei_platform/vendor_exception/built-in.o
  3084. CC drivers/huawei_platform/net/bastet/bastet_hbm.o
  3085. CC drivers/hisi/modem/drv/icc/icc_debug.o
  3086. CC drivers/mmc/card/dsm_emmc.o
  3087. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wifitim_seq_show’:
  3088. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:14419:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3089. dhd_pub_t *dhd = wl_cfg80211_get_dhdp();
  3090. ^
  3091. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_hw_temp_dmd_get_start_info’:
  3092. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:14979:9: warning: unused variable ‘rssi’ [-Wunused-variable]
  3093. s32 rssi, err = 0;
  3094. ^
  3095. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_hw_tem_ctrl_event_report’:
  3096. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:15025:6: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3097. static struct timeval tem_ctrl_cycle_end;
  3098. ^
  3099. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_hw_tem_ctrl_abnormal_event’:
  3100. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:15112:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3101. dhd_pub_t *dhd = (dhd_pub_t *)(cfg->pub);
  3102. ^
  3103. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_notify_roaming_status’:
  3104. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:15380:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3105. dhd_pub_t *dhd = (dhd_pub_t *)(cfg->pub);
  3106. ^
  3107. ../drivers/huawei_platform/net/bastet/bastet_filter.c:139:11: warning: initialization from incompatible pointer type
  3108. .hook = hook_local_out_cb,
  3109. ^
  3110. ../drivers/huawei_platform/usb/pd/hw_usb_vbus.c: In function ‘vbus_connect_work’:
  3111. ../drivers/huawei_platform/usb/pd/hw_usb_vbus.c:239:3: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
  3112. hwlog_info("%s: cc change, exit,complete_type = %d, timeout is %u\n", __func__, g_typec_complete_type, timeout);
  3113. ^
  3114. LD drivers/huawei_platform/inputhub/built-in.o
  3115. CC drivers/hisi/modem/ps/gu/../comm/comm/common/FLOWCTRL/Src/Fc.o
  3116. ../drivers/huawei_platform/net/bastet/bastet_filter.c:139:11: warning: (near initialization for ‘ipv4_local_out_ops.hook’)
  3117. ../drivers/huawei_platform/net/bastet/bastet_filter.c:149:11: warning: initialization from incompatible pointer type
  3118. .hook = hook_local_out_cb,
  3119. ^
  3120. ../drivers/huawei_platform/net/bastet/bastet_filter.c:149:11: warning: (near initialization for ‘ipv6_local_out_ops.hook’)
  3121. ../drivers/huawei_platform/net/bastet/bastet_filter.c: In function ‘set_proc_info’:
  3122. ../drivers/huawei_platform/net/bastet/bastet_filter.c:298:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3123. int rc = 0;
  3124. ^
  3125. In file included from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:57:0:
  3126. ../include/huawei_platform/usb/switch/switch_fsa9685.h:15:0: warning: "FSA9685_OPEN" redefined
  3127. #define FSA9685_OPEN (0)
  3128. ^
  3129. In file included from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:35:0:
  3130. ../drivers/huawei_platform/usb/switch/switch_ap/switch_usb_class.h:22:0: note: this is the location of the previous definition
  3131. #define FSA9685_OPEN 0
  3132. ^
  3133. In file included from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:57:0:
  3134. ../include/huawei_platform/usb/switch/switch_fsa9685.h:16:0: warning: "FSA9685_USB1_ID_TO_IDBYPASS" redefined
  3135. #define FSA9685_USB1_ID_TO_IDBYPASS (1)
  3136. ^
  3137. In file included from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:35:0:
  3138. ../drivers/huawei_platform/usb/switch/switch_ap/switch_usb_class.h:26:0: note: this is the location of the previous definition
  3139. #define FSA9685_USB1_ID_TO_IDBYPASS 1
  3140. ^
  3141. CC drivers/hid/hid-ortek.o
  3142. CC drivers/hisi/modem/drv/ipf/ipf_balong.o
  3143. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_notify_sched_scan_results’:
  3144. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:17130:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3145. struct wl_pfn_scanresults *pfn_result = (struct wl_pfn_scanresults *)data;
  3146. ^
  3147. In file included from ../drivers/huawei_platform/touthscreen/panel/atmel/../../huawei_touchscreen_chips.h:11:0,
  3148. from ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_fw_update.c:8:
  3149. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  3150. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  3151. ^
  3152. In file included from ../drivers/huawei_platform/touthscreen/panel/atmel/../../huawei_touchscreen_chips.h:11:0,
  3153. from ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_main.c:8:
  3154. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  3155. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  3156. ^
  3157. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_notify_txfail_event’:
  3158. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:17426:6: warning: unused variable ‘event’ [-Wunused-variable]
  3159. u32 event = ntoh32(e->event_type);
  3160. ^
  3161. CC drivers/hisi/modem/oam/gu/../gu/acore/cbtcpm/CbtCpm.o
  3162. In file included from ../drivers/huawei_platform/touthscreen/huawei_touchscreen_chips.h:11:0,
  3163. from ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:35:
  3164. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  3165. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  3166. ^
  3167. CC drivers/hisi/modem/oam/gu/../gu/acore/cbtppm/CbtPpm.o
  3168. CC drivers/huawei_platform/touthscreen/panel/st/fts.o
  3169. CC drivers/hisi/modem/oam/gu/../gu/acore/cbtscm/CBTSCMSoftDecode.o
  3170. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘put_one_cmd_direct_sync’:
  3171. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg_btcoex.o
  3172. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:482:1: warning: label ‘out’ defined but not used [-Wunused-label]
  3173. out:
  3174. ^
  3175. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_oem_info_show’:
  3176. CC drivers/hisi/modem/drv/ipc/ipc_balong.o
  3177. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:688:7: warning: unused variable ‘count’ [-Wunused-variable]
  3178. int count = 30;
  3179. ^
  3180. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:687:7: warning: unused variable ‘parade_flag’ [-Wunused-variable]
  3181. int parade_flag = 0;
  3182. ^
  3183. CC drivers/huawei_platform/touthscreen/panel/st/fts_sys.o
  3184. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_ome_info_store’:
  3185. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:825:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__kernel_size_t’ [-Wformat=]
  3186. TS_LOG_ERR("%s: Store TPIC type data size= %d larger than MAX input size=%d \n",
  3187. ^
  3188. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:791:15: warning: unused variable ‘value’ [-Wunused-variable]
  3189. unsigned int value;
  3190. ^
  3191. In file included from ../drivers/huawei_platform/oases/sign/mpicoder.c:25:0:
  3192. ../drivers/huawei_platform/oases/sign/../util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
  3193. static inline int oases_insn_patch_nosync(void* addr, u32 insn);
  3194. ^
  3195. In file included from ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_fw_update.c:12:0:
  3196. ../drivers/huawei_platform/touthscreen/panel/atmel/atmel.h:324:22: warning: ‘roi_data’ defined but not used [-Wunused-variable]
  3197. static unsigned char roi_data[ROI_DATA_READ_LENGTH] = { 0 };
  3198. ^
  3199. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_send_init_cmd’:
  3200. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:1387:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3201. struct ts_cmd_node cmd;
  3202. ^
  3203. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘tp_init_work_fn’:
  3204. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:1413:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3205. int error = NO_ERR;
  3206. ^
  3207. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_update_prof’:
  3208. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:20860:8: warning: assignment discards ‘const’ qualifier from pointer target type
  3209. ssid = (const wlc_ssid_t *) data;
  3210. ^
  3211. In file included from ../include/linux/list.h:8:0,
  3212. from ../include/linux/module.h:9,
  3213. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/linuxver.h:42,
  3214. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:28:
  3215. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_update_hidden_ap_ie’:
  3216. ../include/linux/kernel.h:745:16: warning: comparison of distinct pointer types lacks a cast
  3217. (void) (&min1 == &min2); \
  3218. ^
  3219. ../include/linux/kernel.h:748:2: note: in expansion of macro ‘__min’
  3220. __min(typeof(x), typeof(y), \
  3221. ^
  3222. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:20974:19: note: in expansion of macro ‘min’
  3223. int32 ssid_len = min(bi->SSID_len, DOT11_MAX_SSID_LEN);
  3224. ^
  3225. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_register_store_parse_param’:
  3226. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:1863:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3227. int error = NO_ERR;
  3228. ^
  3229. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_debug_otp_fs_read’:
  3230. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:22482:3: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘uint32’ [-Wformat=]
  3231. WL_ERR(("wl_debug_otp_fs_read nbytes %zu\n", cish.nbytes));
  3232. ^
  3233. ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_main.c: In function ‘mxt_read_roi_data’:
  3234. ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_main.c:3040:30: warning: initialization from incompatible pointer type
  3235. u16(*target)[MXT_ROI_ROW] = &roi_data[0] + 4;
  3236. ^
  3237. CC drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/rt9748/rt9748_main.o
  3238. CC drivers/hisi/modem/oam/gu/../gu/acore/cbtfun/cbtappfunction.o
  3239. ../drivers/huawei_platform/usb/pd/hw_pd.c: In function ‘pd_dpm_get_charge_event’:
  3240. ../drivers/huawei_platform/usb/pd/hw_pd.c:452:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  3241. hwlog_info("%s event =%d\n", __func__, g_charger_type_event);
  3242. ^
  3243. ../drivers/huawei_platform/usb/pd/hw_pd.c: In function ‘pd_dpm_set_charge_event’:
  3244. ../drivers/huawei_platform/usb/pd/hw_pd.c:459:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  3245. hwlog_info("%s event =%d\n", __func__, event);
  3246. ^
  3247. ../drivers/huawei_platform/usb/pd/hw_pd.c: In function ‘pd_dpm_report_pd_sink_vbus’:
  3248. ../drivers/huawei_platform/usb/pd/hw_pd.c:702:7: warning: unused variable ‘skip’ [-Wunused-variable]
  3249. bool skip = false;
  3250. ^
  3251. ../drivers/huawei_platform/usb/pd/hw_pd.c: In function ‘pd_dpm_vbus_ctrl’:
  3252. ../drivers/huawei_platform/usb/pd/hw_pd.c:800:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  3253. hwlog_info("%s event = %d\n", __func__, event);
  3254. ^
  3255. ../drivers/huawei_platform/usb/pd/hw_pd.c: In function ‘pd_dpm_report_bc12’:
  3256. ../drivers/huawei_platform/usb/pd/hw_pd.c:809:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  3257. hwlog_info("%s : received event (%d)\n", __func__, event);
  3258. ^
  3259. ../drivers/huawei_platform/usb/pd/hw_pd.c:854:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  3260. hwlog_info("%s : notify event (%d)\n", __func__, event);
  3261. ^
  3262. ../drivers/huawei_platform/usb/pd/hw_pd.c:806:28: warning: unused variable ‘vbus_state’ [-Wunused-variable]
  3263. struct pd_dpm_vbus_state *vbus_state = data;
  3264. ^
  3265. ../drivers/huawei_platform/usb/pd/hw_pd.c: In function ‘pd_dpm_report_host_attach’:
  3266. ../drivers/huawei_platform/usb/pd/hw_pd.c:968:18: warning: unused variable ‘con’ [-Wunused-variable]
  3267. struct console *con;
  3268. ^
  3269. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_notify_ant_event’:
  3270. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:25115:6: warning: unused variable ‘event’ [-Wunused-variable]
  3271. u32 event = ntoh32(e->event_type);
  3272. ^
  3273. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:25113:23: warning: unused variable ‘evt_data’ [-Wunused-variable]
  3274. wl_event_data_ant_t *evt_data = (wl_event_data_ant_t *)data;
  3275. ^
  3276. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘rawdata_proc_show’:
  3277. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘early_parse_direct_charger_cmdline’:
  3278. ../drivers/huawei_platform/usb/pd/hw_pd.c: In function ‘pd_dpm_probe’:
  3279. ../drivers/huawei_platform/usb/pd/hw_pd.c:1689:33: warning: unused variable ‘dual_role’ [-Wunused-variable]
  3280. struct dual_role_phy_instance *dual_role;
  3281. ^
  3282. ../drivers/huawei_platform/usb/pd/hw_pd.c:1688:29: warning: unused variable ‘desc’ [-Wunused-variable]
  3283. struct dual_role_phy_desc *desc;
  3284. ^
  3285. ../drivers/huawei_platform/usb/pd/hw_pd.c: At top level:
  3286. ../drivers/huawei_platform/usb/pd/hw_pd.c:84:21: warning: ‘dpm_sink_vbus_lock’ defined but not used [-Wunused-variable]
  3287. static struct mutex dpm_sink_vbus_lock;
  3288. ^
  3289. ../drivers/huawei_platform/usb/pd/hw_pd.c:119:23: warning: ‘g_con’ defined but not used [-Wunused-variable]
  3290. static struct console g_con;
  3291. ^
  3292. ../drivers/huawei_platform/usb/pd/hw_pd.c: In function ‘pd_dpm_get_cur_usb_event’:
  3293. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: At top level:
  3294. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:89:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
  3295. hwlog_info("%s:c_offset_a=%d,c_offset_b=%d\n", __func__, c_offset_a, c_offset_b);
  3296. ^
  3297. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:89:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
  3298. CC lib/md5.o
  3299. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:3945:1: warning: label ‘OUT’ defined but not used [-Wunused-label]
  3300. OUT:
  3301. ^
  3302. CC drivers/media/huawei/camera/clt/hisi_clt_flag.o
  3303. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘is_in_scp_charging_stage’:
  3304. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:375:6: warning: unused variable ‘ret’ [-Wunused-variable]
  3305. int ret = 0;
  3306. ^
  3307. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘get_bat_current’:
  3308. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:482:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
  3309. hwlog_info("%s:after cali current: bat_curr = %d c_offset_a = %d,c_offset_b = %d\n", __func__, bat_curr, c_offset_a, c_offset_b);
  3310. ^
  3311. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:482:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long int’ [-Wformat=]
  3312. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘fb_notifier_callback’:
  3313. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:4380:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
  3314. TS_LOG_DEBUG("event(%d) do not need process\n", event);
  3315. ^
  3316. LD drivers/hisi/modem/drv/adp/built-in.o
  3317. CC drivers/media/huawei/camera/csi/hw_csi.o
  3318. In file included from ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:28:0:
  3319. ../drivers/huawei_platform/sensor/fingerprint/fingerprint.h:23:0: warning: "KEY_MAX" redefined
  3320. #define KEY_MAX 255
  3321. ^
  3322. CC drivers/huawei_platform/power/charger/charger_ap/wired_channel_switch/ovp_switch/ovp_switch.o
  3323. LD drivers/hisi/soundtrigger/built-in.o
  3324. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/sc.c: In function ‘direct_charge_sc_check’:
  3325. LD drivers/hisi/mntn/blackbox/diaginfo/built-in.o
  3326. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/sc.c:72:24: warning: unused variable ‘charge_done_status’ [-Wunused-variable]
  3327. enum charge_done_type charge_done_status = get_charge_done_type();
  3328. ^
  3329. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/sc.c: In function ‘direct_charge_fault_work’:
  3330. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/sc.c:221:6: warning: unused variable ‘bat_capacity’ [-Wunused-variable]
  3331. int bat_capacity = 0;
  3332. ^
  3333. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:484:27: warning: ‘bcm_cfg80211_add_ibss_if’ declared ‘static’ but never defined [-Wunused-function]
  3334. static bcm_struct_cfgdev* bcm_cfg80211_add_ibss_if(struct wiphy *wiphy, char *name);
  3335. ^
  3336. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:485:12: warning: ‘bcm_cfg80211_del_ibss_if’ declared ‘static’ but never defined [-Wunused-function]
  3337. static s32 bcm_cfg80211_del_ibss_if(struct wiphy *wiphy, bcm_struct_cfgdev *cfgdev);
  3338. ^
  3339. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:13106:31: warning: ‘brcm_wowlan_config’ defined but not used [-Wunused-variable]
  3340. static struct cfg80211_wowlan brcm_wowlan_config = {
  3341. ^
  3342. ../drivers/huawei_platform/usb/pd/hw_pd.c:1114:1: warning: control reaches end of non-void function [-Wreturn-type]
  3343. }
  3344. ^
  3345. In file included from ../include/uapi/linux/input.h:19:0,
  3346. from ../include/linux/input.h:13,
  3347. from ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:5:
  3348. ../include/uapi/linux/input-event-codes.h:690:0: note: this is the location of the previous definition
  3349. #define KEY_MAX 0x2ff
  3350. ^
  3351. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘do_adpator_antifake_check’:
  3352. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:1268:6: warning: unused variable ‘val’ [-Wunused-variable]
  3353. int val = 0;
  3354. ^
  3355. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_proc_command_directly’:
  3356. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘do_adpator_voltage_accuracy_check’:
  3357. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:1373:7: warning: unused variable ‘buf’ [-Wunused-variable]
  3358. char buf[1024] = { 0 };
  3359. ^
  3360. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:1372:6: warning: unused variable ‘ret’ [-Wunused-variable]
  3361. int ret;
  3362. ^
  3363. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘get_vbus_vbat’:
  3364. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:1810:16: warning: unused variable ‘vbat_tmp’ [-Wunused-variable]
  3365. int vbus_tmp, vbat_tmp;
  3366. ^
  3367. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:1810:6: warning: unused variable ‘vbus_tmp’ [-Wunused-variable]
  3368. int vbus_tmp, vbat_tmp;
  3369. ^
  3370. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/sc.c: In function ‘direct_charge_sc_probe’:
  3371. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/sc.c:715:14: warning: assignment discards ‘const’ qualifier from pointer target type
  3372. di->ls_name = switchcap_name[di->ls_id];
  3373. ^
  3374. CC drivers/hid/hid-prodikeys.o
  3375. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/lvc.c: In function ‘direct_charge_lvc_check’:
  3376. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:5818:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3377. struct ts_cmd_node outcmd;
  3378. ^
  3379. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_ioctl_get_fingers_info’:
  3380. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:5969:6: warning: unused variable ‘frame_size’ [-Wunused-variable]
  3381. u32 frame_size;
  3382. ^
  3383. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:5968:20: warning: unused variable ‘data’ [-Wunused-variable]
  3384. struct ts_fingers data;
  3385. ^
  3386. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_ioctl_get_aft_param_info’:
  3387. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:6025:19: warning: passing argument 1 of ‘copy_to_user’ makes pointer from integer without a cast
  3388. if (copy_to_user(arg, &g_ts_data.aft_param,
  3389. ^
  3390. In file included from ../include/linux/uaccess.h:5:0,
  3391. from ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:25:
  3392. ../arch/arm64/include/asm/uaccess.h:454:42: note: expected ‘void *’ but argument is of type ‘long unsigned int’
  3393. static inline unsigned long __must_check copy_to_user(void __user *to, const void *from, unsigned long n)
  3394. ^
  3395. CC drivers/huawei_platform/sw/sw_utils.o
  3396. LD drivers/huawei_platform/sensor/fingerprint/built-in.o
  3397. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘direct_charge_parse_dts’:
  3398. CC drivers/huawei_platform/sw/sw_debug.o
  3399. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:2384:64: warning: passing argument 3 of ‘of_property_read_u32’ from incompatible pointer type
  3400. ret = of_property_read_u32(np, "adaptor_antifake_key_index", &(di->adaptor_antifake_key_index));
  3401. ^
  3402. In file included from ../include/huawei_platform/power/direct_charger.h:10:0,
  3403. from ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:20:
  3404. ../include/linux/of.h:1046:19: note: expected ‘u32 *’ but argument is of type ‘char *’
  3405. static inline int of_property_read_u32(const struct device_node *np,
  3406. ^
  3407. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘direct_charge_regulation’:
  3408. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:2816:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3409. int iadapt = get_adaptor_current();
  3410. ^
  3411. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:2824:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3412. int vbat = di->vbat;
  3413. ^
  3414. ../drivers/huawei_platform/power/charger/charger_ap/dual_charger/dual_charger.c: In function ‘dual_charger_sysfs_show’:
  3415. ../drivers/huawei_platform/power/charger/charger_ap/dual_charger/dual_charger.c:802:6: warning: unused variable ‘ret’ [-Wunused-variable]
  3416. int ret;
  3417. ^
  3418. ../drivers/huawei_platform/power/charger/charger_ap/dual_charger/dual_charger.c: In function ‘dual_charger_sysfs_store’:
  3419. ../drivers/huawei_platform/power/charger/charger_ap/dual_charger/dual_charger.c:826:6: warning: unused variable ‘ret’ [-Wunused-variable]
  3420. int ret;
  3421. ^
  3422. ../drivers/huawei_platform/power/charger/charger_ap/dual_charger/dual_charger.c: At top level:
  3423. ../drivers/huawei_platform/power/charger/charger_ap/dual_charger/dual_charger.c:1066:12: warning: initialization from incompatible pointer type
  3424. .remove = dual_charger_remove,
  3425. ^
  3426. ../drivers/huawei_platform/power/charger/charger_ap/dual_charger/dual_charger.c:1066:12: warning: (near initialization for ‘dual_charger_driver.remove’)
  3427. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/lvc.c:72:24: warning: unused variable ‘charge_done_status’ [-Wunused-variable]
  3428. enum charge_done_type charge_done_status = get_charge_done_type();
  3429. ^
  3430. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_ioctl_set_coordinates’:
  3431. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:6042:16: warning: unused variable ‘flags’ [-Wunused-variable]
  3432. unsigned long flags;
  3433. ^
  3434. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘get_ts_bus_info’:
  3435. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:6568:61: warning: passing argument 3 of ‘of_property_read_u32’ from incompatible pointer type
  3436. rc = of_property_read_u32(g_ts_data.node, "aft_enable", &g_ts_data.aft_param.aft_enable_flag);
  3437. ^
  3438. In file included from ../include/asm-generic/gpio.h:7:0,
  3439. from ../include/linux/gpio.h:51,
  3440. from ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:17:
  3441. ../include/linux/of.h:1046:19: note: expected ‘u32 *’ but argument is of type ‘char *’
  3442. static inline int of_property_read_u32(const struct device_node *np,
  3443. ^
  3444. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘check_tp_calibration_info’:
  3445. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:6814:2: warning: ‘return’ with a value, in function returning void
  3446. return error;
  3447. ^
  3448. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/lvc.c: In function ‘direct_charge_lvc_probe’:
  3449. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/lvc.c:664:14: warning: assignment discards ‘const’ qualifier from pointer target type
  3450. di->ls_name = loadswitch_name[di->ls_id];
  3451. ^
  3452. LD drivers/huawei_platform/sensor/built-in.o
  3453. In file included from ../drivers/huawei_platform/usb/switch/switch_sensorhub/switch_fsa9685_sh.c:42:0:
  3454. ../drivers/huawei_platform/inputhub/hi3660/sensor_info.h:491:1: warning: useless storage class specifier in empty declaration
  3455. };
  3456. ^
  3457. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘kick_watchdog_work’:
  3458. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:3004:6: warning: unused variable ‘bat_curr’ [-Wunused-variable]
  3459. int bat_curr;
  3460. ^
  3461. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:3003:6: warning: unused variable ‘ret’ [-Wunused-variable]
  3462. int ret;
  3463. ^
  3464. In file included from ../include/linux/mm_types.h:15:0,
  3465. from ../include/linux/sched.h:27,
  3466. from ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:8:
  3467. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_thread’:
  3468. ../include/linux/workqueue.h:219:17: warning: assignment from incompatible pointer type
  3469. (_work)->func = (_func); \
  3470. ^
  3471. ../include/linux/workqueue.h:224:2: note: in expansion of macro ‘__INIT_WORK’
  3472. __INIT_WORK((_work), (_func), 0)
  3473. ^
  3474. ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:7250:6: note: in expansion of macro ‘INIT_WORK’
  3475. INIT_WORK(&check_tp_calibration_info_work, check_tp_calibration_info);
  3476. ^
  3477. LD drivers/connectivity/hisi/built-in.o
  3478. LD net/netfilter/built-in.o
  3479. CC fs/proc/hisi/meminfo_lite.o
  3480. CC fs/proc/hisi/protect_lru.o
  3481. CC drivers/hisi/mntn/blackbox/platform_hifi/rdr_hisi_audio_adapter.o
  3482. ../drivers/huawei_platform/usb/switch/switch_sensorhub/switch_fsa9685_sh.c:309:31: warning: ‘fsa9685_get_charger_type’ defined but not used [-Wunused-function]
  3483. static enum hisi_charger_type fsa9685_get_charger_type(void)
  3484. ^
  3485. ../drivers/huawei_platform/usb/switch/switch_sensorhub/switch_fsa9685_sh.c:763:12: warning: ‘fcp_adapter_detect’ defined but not used [-Wunused-function]
  3486. static int fcp_adapter_detect(void)
  3487. ^
  3488. CC drivers/hisi/modem/drv/loadm/load_image.o
  3489. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c: In function ‘drv2605_parse_dt’:
  3490. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:798:57: warning: passing argument 3 of ‘of_property_read_string’ from incompatible pointer type
  3491. rc = of_property_read_string(dev->of_node, "ti,label", &pdata->name);
  3492. ^
  3493. In file included from ../include/linux/i2c.h:33:0,
  3494. from ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:8:
  3495. ../include/linux/of.h:314:12: note: expected ‘const char **’ but argument is of type ‘char **’
  3496. extern int of_property_read_string(const struct device_node *np,
  3497. ^
  3498. In file included from ../drivers/hisi/tzdriver/agent.c:40:0:
  3499. ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘struct mmc_blk_ioc_rpmb_data’ declared inside parameter list
  3500. struct mmc_blk_ioc_rpmb_data *idata);
  3501. ^
  3502. ../drivers/hisi/tzdriver/agent.h:111:14: warning: its scope is only this definition or declaration, which is probably not what you want
  3503. ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘enum func_id’ declared inside parameter list
  3504. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:796:21: warning: unused variable ‘flags’ [-Wunused-variable]
  3505. enum of_gpio_flags flags;
  3506. ^
  3507. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c: In function ‘vibrator_dbc_test_store’:
  3508. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:972:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat=]
  3509. dev_info(&client_temp->dev,
  3510. ^
  3511. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c: In function ‘vibrator_set_reg_value_store’:
  3512. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1126:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3513. char val = 0, set_reg[2] = { 0 };
  3514. ^
  3515. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c: In function ‘haptic_test_store’:
  3516. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1162:7: warning: unused variable ‘rtp_value’ [-Wunused-variable]
  3517. char rtp_value = 0;
  3518. ^
  3519. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1161:16: warning: unused variable ‘table_num’ [-Wunused-variable]
  3520. int time = 0, table_num = 0;
  3521. ^
  3522. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1161:6: warning: unused variable ‘time’ [-Wunused-variable]
  3523. int time = 0, table_num = 0;
  3524. ^
  3525. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1158:7: warning: unused variable ‘type’ [-Wunused-variable]
  3526. char type = 0;
  3527. ^
  3528. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1157:11: warning: unused variable ‘value’ [-Wunused-variable]
  3529. uint64_t value = 0;
  3530. ^
  3531. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c: In function ‘vibrator_set_rtp_value_store’:
  3532. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1200:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3533. char val = 0, set_reg[2]={0};
  3534. ^
  3535. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1200:16: warning: unused variable ‘set_reg’ [-Wunused-variable]
  3536. char val = 0, set_reg[2]={0};
  3537. ^
  3538. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1200:7: warning: unused variable ‘val’ [-Wunused-variable]
  3539. char val = 0, set_reg[2]={0};
  3540. ^
  3541. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c: In function ‘haptics_write’:
  3542. CC drivers/hisi/mntn/blackbox/platform_ap/rdr_hisi_ap_adapter.o
  3543. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger_power_supply.c: In function ‘direct_charge_ps_sysfs_show’:
  3544. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger_power_supply.c:36:2: warning: return makes integer from pointer without a cast
  3545. return NULL;
  3546. ^
  3547. CC drivers/hisi/tzdriver/cmdmonitor.o
  3548. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1376:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘uint64_t’ [-Wformat=]
  3549. dev_info(&(data->client->dev), "[haptics write] type:%d,table_num:%d.\n", type,table_num);
  3550. ^
  3551. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1381:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘uint64_t’ [-Wformat=]
  3552. dev_info(&(data->client->dev), "[haptics write] undefined type:%d.\n", type);
  3553. ^
  3554. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c: In function ‘drv2605_probe’:
  3555. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1469:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3556. struct led_classdev *cclassdev = NULL;
  3557. ^
  3558. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger_power_supply.c: At top level:
  3559. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger_power_supply.c:24:37: warning: ‘g_scp_ps_ops’ defined but not used [-Wunused-variable]
  3560. static struct scp_power_supply_ops* g_scp_ps_ops;
  3561. ^
  3562. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1534:28: warning: assignment from incompatible pointer type
  3563. cclassdev->brightness_set = vibrator_enable;
  3564. ^
  3565. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1464:7: warning: unused variable ‘status’ [-Wunused-variable]
  3566. char status = 0;
  3567. ^
  3568. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c: At top level:
  3569. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:166:12: warning: ‘device_id’ defined but not used [-Wunused-variable]
  3570. static int device_id = -1;
  3571. ^
  3572. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:167:13: warning: ‘read_val’ defined but not used [-Wunused-variable]
  3573. static char read_val;
  3574. ^
  3575. CC drivers/hisi/mntn/blackbox/platform_ap/rdr_hisi_ap_ringbuffer.o
  3576. CC drivers/mmc/card/dsm_sdcard.o
  3577. CC drivers/huawei_platform/voltage_detection/fsa7830.o
  3578. ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c: In function ‘rt8979_sw_open’:
  3579. ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:289:23: warning: ‘dsm_vibrator’ defined but not used [-Wunused-variable]
  3580. static struct dsm_dev dsm_vibrator = {
  3581. ^
  3582. ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c:615:6: warning: unused variable ‘ret’ [-Wunused-variable]
  3583. int ret;
  3584. ^
  3585. ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c: In function ‘rt8979_accp_enable’:
  3586. ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c:624:6: warning: unused variable ‘ret’ [-Wunused-variable]
  3587. int ret;
  3588. ^
  3589. CC drivers/hisi/modem/drv/dump/mdmcp/dump_cphy_tcm.o
  3590. CC drivers/huawei_platform/voltage_detection/hw_voltage_dev.o
  3591. LD drivers/hisi/slimbus/hisilicon-slimbus-platform.o
  3592. ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c: In function ‘switch_chip_reset’:
  3593. ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c:1283:16: warning: unused variable ‘reg_val2’ [-Wunused-variable]
  3594. int reg_val1, reg_val2;
  3595. ^
  3596. ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c:1283:6: warning: unused variable ‘reg_val1’ [-Wunused-variable]
  3597. int reg_val1, reg_val2;
  3598. ^
  3599. ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c:1282:21: warning: unused variable ‘accp_status_mask’ [-Wunused-variable]
  3600. int slave_good, accp_status_mask;
  3601. ^
  3602. ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c:1282:9: warning: unused variable ‘slave_good’ [-Wunused-variable]
  3603. int slave_good, accp_status_mask;
  3604. ^
  3605. ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c: In function ‘fsa9865_accp_adapter_detect’:
  3606. ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c:1790:10: warning: unused variable ‘is_dcp’ [-Wunused-variable]
  3607. bool is_dcp = false;
  3608. ^
  3609. ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c: In function ‘rt8979_accp_adapter_detect’:
  3610. In file included from ../drivers/hisi/tzdriver/mem.c:27:0:
  3611. ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘struct mmc_blk_ioc_rpmb_data’ declared inside parameter list
  3612. struct mmc_blk_ioc_rpmb_data *idata);
  3613. ^
  3614. CC drivers/huawei_platform/oases/sign/mpih-cmp.o
  3615. CC drivers/huawei_platform/oases/sign/mpih-div.o
  3616. ../drivers/hisi/tzdriver/agent.h:111:14: warning: its scope is only this definition or declaration, which is probably not what you want
  3617. ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘enum func_id’ declared inside parameter list
  3618. ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c:1867:10: warning: unused variable ‘is_dcp’ [-Wunused-variable]
  3619. bool is_dcp = false;
  3620. ^
  3621. CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_cfg.o
  3622. CC drivers/hisi/modem/taf/comm/src/acore/ADS/Src/AdsDownLink.o
  3623. CC drivers/hid/hid-pl.o
  3624. LD drivers/media/huawei/camera/fd/built-in.o
  3625. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wldev_common.o
  3626. CC drivers/mmc/card/hisi_cmdq_card.o
  3627. CC drivers/huawei_platform/oases/hook_func.o
  3628. LD drivers/hisi/slimbus/built-in.o
  3629. CC drivers/mmc/core/mmc_ops.o
  3630. CC drivers/hisi/modem/drv/dump/mem/dump_modem_field.o
  3631. LD drivers/hisi/modem/drv/hds/built-in.o
  3632. CC drivers/huawei_platform/touthscreen/panel/st/fts_update.o
  3633. CC drivers/mmc/core/sd.o
  3634. CC drivers/hisi/tzdriver/tzdebug.o
  3635. In file included from ../drivers/hisi/tzdriver/gp_ops.c:20:0:
  3636. ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘struct mmc_blk_ioc_rpmb_data’ declared inside parameter list
  3637. struct mmc_blk_ioc_rpmb_data *idata);
  3638. ^
  3639. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_linux_mon.o
  3640. ../drivers/hisi/tzdriver/agent.h:111:14: warning: its scope is only this definition or declaration, which is probably not what you want
  3641. ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘enum func_id’ declared inside parameter list
  3642. CC drivers/mmc/core/sd_ops.o
  3643. CC drivers/hisi/modem/oam/gu/../gu/acore/cbtfun/cbtapprl.o
  3644. CC drivers/hisi/modem/drv/log/bsp_om_log.o
  3645. LD drivers/gpu/arm/bifrost-r14p0-00cet0/platform/hisilicon/base/memory_group_manager/hisi_gpu_mgm.o
  3646. LD drivers/gpu/arm/bifrost-r14p0-00cet0/platform/hisilicon/base/memory_group_manager/built-in.o
  3647. CC drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_update.o
  3648. CC drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.o
  3649. CC drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/rt9748/rt9748.o
  3650. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux_platdev.o
  3651. CC drivers/huawei_platform/usb/pd/fsc/Platform_Linux/fusb30x_driver.o
  3652. CC drivers/hisi/modem/oam/gu/../gu/acore/osa/linux_sem.o
  3653. CC drivers/hisi/tzdriver/tz_spi_notify.o
  3654. CC drivers/hisi/modem/oam/gu/../gu/acore/osa/linux_task.o
  3655. CC drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.o
  3656. In file included from ../drivers/huawei_platform/touthscreen/panel/st/../../huawei_touchscreen_chips.h:11:0,
  3657. from ../drivers/huawei_platform/touthscreen/panel/st/fts.h:4,
  3658. from ../drivers/huawei_platform/touthscreen/panel/st/fts.c:40:
  3659. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  3660. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  3661. ^
  3662. CC drivers/hisi/mntn/blackbox/platform_lpm3/rdr_hisi_lpm3.o
  3663. CC drivers/hisi/mntn/blackbox/rdr_dfx_core.o
  3664. LD net/built-in.o
  3665. CC drivers/hisi/noc/hisi_noc_info_ATLA.o
  3666. CC drivers/hisi/tzdriver/dynamic_mem.o
  3667. ../drivers/huawei_platform/touthscreen/panel/st/fts.c: In function ‘st_parse_dts’:
  3668. ../drivers/huawei_platform/touthscreen/panel/st/fts.c:489:6: warning: passing argument 3 of ‘of_property_read_u32’ from incompatible pointer type
  3669. &chip_data->disable_reset);
  3670. ^
  3671. In file included from ../include/linux/i2c.h:33:0,
  3672. from ../drivers/huawei_platform/touthscreen/panel/st/fts.c:30:
  3673. ../include/linux/of.h:1046:19: note: expected ‘u32 *’ but argument is of type ‘bool *’
  3674. static inline int of_property_read_u32(const struct device_node *np,
  3675. ^
  3676. ../drivers/huawei_platform/touthscreen/panel/st/fts.c:491:3: warning: too many arguments for format [-Wformat-extra-args]
  3677. TS_LOG_INFO("not use hw reset\n",
  3678. ^
  3679. CC drivers/md/dm-kcopyd.o
  3680. ../drivers/huawei_platform/touthscreen/panel/st/fts.c: In function ‘st_leave_pointer_event_handler’:
  3681. ../drivers/huawei_platform/touthscreen/panel/st/fts.c:1192:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3682. unsigned char touchId, touchcount;
  3683. ^
  3684. ../drivers/huawei_platform/touthscreen/panel/st/fts.c: In function ‘st_error_event_handler’:
  3685. ../drivers/huawei_platform/touthscreen/panel/st/fts.c:1324:12: warning: unused variable ‘i’ [-Wunused-variable]
  3686. int error,i;
  3687. ^
  3688. ../drivers/huawei_platform/touthscreen/panel/st/fts.c: In function ‘st_after_resume’:
  3689. CC drivers/mmc/core/sdio.o
  3690. CC drivers/hid/hid-penmount.o
  3691. CC drivers/hisi/tzdriver/tlogger.o
  3692. ../drivers/huawei_platform/voltage_detection/hw_voltage_dev.c: In function ‘hw_voltage_values_show’:
  3693. ../drivers/huawei_platform/voltage_detection/hw_voltage_dev.c:287:25: warning: unused variable ‘info’ [-Wunused-variable]
  3694. struct hw_voltage_info info;
  3695. ^
  3696. ../drivers/huawei_platform/voltage_detection/hw_voltage_dev.c:285:16: warning: unused variable ‘ret’ [-Wunused-variable]
  3697. unsigned long ret = 0;
  3698. ^
  3699. LD drivers/media/huawei/camera/clt/built-in.o
  3700. ../drivers/huawei_platform/touthscreen/panel/st/fts.c:2255:17: warning: unused variable ‘ret’ [-Wunused-variable]
  3701. unsigned char* ret = NULL;
  3702. ^
  3703. In file included from ../drivers/huawei_platform/touthscreen/panel/st/../../huawei_touchscreen_chips.h:11:0,
  3704. from ../drivers/huawei_platform/touthscreen/panel/st/fts.h:4,
  3705. from ../drivers/huawei_platform/touthscreen/panel/st/fts_sys.c:40:
  3706. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  3707. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  3708. ^
  3709. ../drivers/huawei_platform/touthscreen/panel/st/fts.c: In function ‘st_regulator_enable’:
  3710. ../drivers/huawei_platform/touthscreen/panel/st/fts.c:756:4: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result]
  3711. regulator_enable(st_info->pwr_reg);
  3712. ^
  3713. ../drivers/huawei_platform/touthscreen/panel/st/fts.c:778:4: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result]
  3714. regulator_enable(st_info->bus_reg);
  3715. ^
  3716. CC drivers/media/huawei/camera/hisp/hisp.o
  3717. CC drivers/hid/hid-petalynx.o
  3718. LD drivers/huawei_platform/net/qtaguid_pid/built-in.o
  3719. ../drivers/huawei_platform/usb/pd/fsc/Platform_Linux/fusb30x_driver.c: In function ‘pd_dpm_wake_lock_call’:
  3720. ../drivers/huawei_platform/usb/pd/fsc/Platform_Linux/fusb30x_driver.c:58:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  3721. FSC_PRINT("FUSB %s - unknown event: %d\n", __func__, event);
  3722. ^
  3723. ../drivers/huawei_platform/usb/pd/fsc/Platform_Linux/fusb30x_driver.c: In function ‘is_cable_for_direct_charge’:
  3724. ../drivers/huawei_platform/usb/pd/fsc/Platform_Linux/fusb30x_driver.c:97:9: warning: unused variable ‘val’ [-Wunused-variable]
  3725. FSC_U8 val;
  3726. ^
  3727. CC drivers/hisi/tzdriver/tee_rdr_register.o
  3728. LD drivers/huawei_platform/power/charger/charger_ap/wired_channel_switch/ovp_switch/built-in.o
  3729. CC drivers/hisi/tzdriver/agent_rpmb.o
  3730. CC drivers/media/huawei/camera/io/hw_isp_io.o
  3731. CC drivers/media/huawei/camera/hisp/hisp150/hisp150.o
  3732. LD drivers/huawei_platform/power/charger/charger_ap/wired_channel_switch/built-in.o
  3733. CC drivers/hid/hid-picolcd_core.o
  3734. In file included from ../drivers/huawei_platform/oases/hook_func.c:20:0:
  3735. ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
  3736. static inline int oases_insn_patch_nosync(void* addr, u32 insn);
  3737. ^
  3738. CC drivers/hisi/modem/ps/tl/../comm/comm/acore/NDIS/Src/PsNdis.o
  3739. CC drivers/media/huawei/camera/hjpeg/hjpgenc.o
  3740. LD drivers/connectivity/built-in.o
  3741. In file included from ../drivers/huawei_platform/touthscreen/panel/st/fts_sys.c:40:0:
  3742. ../drivers/huawei_platform/touthscreen/panel/st/fts.h:53:22: warning: ‘roi_data’ defined but not used [-Wunused-variable]
  3743. static unsigned char roi_data[ROI_DATA_READ_LENGTH] = { 0 };
  3744. ^
  3745. ../drivers/huawei_platform/touthscreen/panel/st/fts_sys.c:51:22: warning: ‘i2c_cmd_class’ defined but not used [-Wunused-variable]
  3746. static struct class *i2c_cmd_class;
  3747. ^
  3748. CC drivers/hisi/modem/taf/comm/src/acore/ADS/Src/AdsInit.o
  3749. CC drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/rt9748/rt9748_aux.o
  3750. CC drivers/media/huawei/camera/hjpeg/hjpeg150/hjpgenc150.o
  3751. CC drivers/hisi/tzdriver/tui.o
  3752. ../drivers/huawei_platform/net/bastet/bastet_hbm.c: In function ‘bastet_mark_hb_reply’:
  3753. ../drivers/huawei_platform/net/bastet/bastet_hbm.c:321:3: warning: "/*" within comment [-Wcomment]
  3754. /* needs match heartbeat reply packet */
  3755. ^
  3756. CC drivers/huawei_platform/usb/typec/hw_typec.o
  3757. CC drivers/hid/hid-picolcd_fb.o
  3758. CC drivers/media/huawei/camera/laser/laser_common.o
  3759. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/rt9748/rt9748_main.c:158:16: warning: ‘rt9748_sysfs_show’ defined but not used [-Wunused-function]
  3760. static ssize_t rt9748_sysfs_show(struct device *dev, struct device_attribute *attr, char *buf)
  3761. ^
  3762. CC drivers/hisi/mntn/blackbox/platform_ap/rdr_hisi_ap_hook.o
  3763. LD drivers/hisi/modem/drv/dump/mem/built-in.o
  3764. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/rt9748/rt9748_main.c:172:16: warning: ‘rt9748_sysfs_store’ defined but not used [-Wunused-function]
  3765. static ssize_t rt9748_sysfs_store(struct device *dev,
  3766. ^
  3767. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/rt9748/rt9748_main.c:237:12: warning: ‘rt9748_read_mask’ defined but not used [-Wunused-function]
  3768. static int rt9748_read_mask(u8 reg, u8 MASK, u8 SHIFT, u8 *value)
  3769. ^
  3770. LD drivers/huawei_platform/touch_key/built-in.o
  3771. CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_debug.o
  3772. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_rtt.o
  3773. CC drivers/huawei_platform/oases/sign/mpih-mul.o
  3774. In file included from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.h:21:0,
  3775. from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_update.c:31:
  3776. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  3777. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  3778. ^
  3779. LD drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase.o
  3780. LD drivers/mmc/card/mmc_block.o
  3781. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hnd_pktq.o
  3782. CC drivers/hisi/modem/ps/gu/../comm/comm/common/LOGFILTER/Src/PsLogFilterComm.o
  3783. LD fs/ext4/ext4.o
  3784. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/LOGFILTER/Src/PsAcpuLogFilter.o
  3785. CC drivers/hisi/modem/taf/comm/src/acore/ADS/Src/AdsTimerMgmt.o
  3786. In file included from ../drivers/huawei_platform/touthscreen/panel/atmel/../../huawei_touchscreen_chips.h:11:0,
  3787. from ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:8:
  3788. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  3789. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  3790. ^
  3791. ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c: In function ‘get_enhance_refs_or_deltas_data_test’:
  3792. ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:196:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat=]
  3793. TS_LOG_ERR("error rawdata[%d]:%d out of range, min:%d, max:%d\n",
  3794. ^
  3795. In file included from ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:1:0:
  3796. ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c: In function ‘mxt_T37_fetch’:
  3797. ../include/linux/kernel.h:745:16: warning: comparison of distinct pointer types lacks a cast
  3798. (void) (&min1 == &min2); \
  3799. ^
  3800. ../include/linux/kernel.h:748:2: note: in expansion of macro ‘__min’
  3801. __min(typeof(x), typeof(y), \
  3802. ^
  3803. ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:506:16: note: in expansion of macro ‘min’
  3804. chunk_len = min(mxt_obj_size(T37) - 2, T37_buf_size - pos);
  3805. ^
  3806. ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c: In function ‘mxt_t25_selftest’:
  3807. ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:1002:3: warning: format ‘%x’ expects a matching ‘unsigned int’ argument [-Wformat=]
  3808. TS_LOG_DEBUG("%x %x %x %x %x %x %x\n",
  3809. ^
  3810. In file included from ../include/linux/thread_info.h:11:0,
  3811. from ../include/asm-generic/preempt.h:4,
  3812. from /home/coconutat/Downloads/Kernel/9.0/SUPLUS/android_kernel_huawei_hi3660/out/arch/arm64/include/generated/asm/preempt.h:1,
  3813. from ../include/linux/preempt.h:59,
  3814. from ../include/linux/spinlock.h:50,
  3815. from ../include/linux/seqlock.h:35,
  3816. from ../include/linux/time.h:5,
  3817. from ../include/uapi/linux/timex.h:56,
  3818. from ../include/linux/timex.h:56,
  3819. from ../include/linux/sched.h:19,
  3820. from ../arch/arm64/include/asm/compat.h:25,
  3821. from ../arch/arm64/include/asm/stat.h:23,
  3822. from ../include/linux/stat.h:5,
  3823. from ../include/linux/module.h:10,
  3824. from ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:2:
  3825. ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c: In function ‘mxt_cmd_store’:
  3826. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/FLOWCTRL/Src/FcACore.o
  3827. CC drivers/huawei_platform/oases/sign/mpi-pow.o
  3828. In file included from ../drivers/huawei_platform/touthscreen/panel/st/../../huawei_touchscreen_chips.h:11:0,
  3829. from ../drivers/huawei_platform/touthscreen/panel/st/fts.h:4,
  3830. from ../drivers/huawei_platform/touthscreen/panel/st/fts_update.c:39:
  3831. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  3832. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  3833. ^
  3834. ../include/linux/bug.h:37:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  3835. #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
  3836. ^
  3837. ../include/linux/compiler-gcc.h:64:28: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
  3838. #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
  3839. ^
  3840. ../include/linux/kernel.h:55:59: note: in expansion of macro ‘__must_be_array’
  3841. #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
  3842. ^
  3843. ../include/linux/printk.h:290:34: note: in expansion of macro ‘ARRAY_SIZE’
  3844. printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
  3845. ^
  3846. ../include/huawei_platform/log/hw_log.h:77:13: note: in expansion of macro ‘pr_info’
  3847. pr_info(hw_fmt_tag(TAG,I) fmt,##__VA_ARGS__); \
  3848. ^
  3849. ../include/huawei_platform/log/hw_log.h:72:9: note: in expansion of macro ‘__hwlog_info’
  3850. __hwlog_info(TAG,##x)
  3851. ^
  3852. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:194:3: note: in expansion of macro ‘_hwlog_info’
  3853. _hwlog_info(HWLOG_TAG, ##x); \
  3854. ^
  3855. ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:1059:3: note: in expansion of macro ‘TS_LOG_DEBUG’
  3856. TS_LOG_DEBUG("[mxt] cmd %u (%d): %s\n", cmd,
  3857. ^
  3858. In file included from ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:12:0:
  3859. ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c: At top level:
  3860. ../drivers/huawei_platform/touthscreen/panel/atmel/atmel.h:324:22: warning: ‘roi_data’ defined but not used [-Wunused-variable]
  3861. static unsigned char roi_data[ROI_DATA_READ_LENGTH] = { 0 };
  3862. ^
  3863. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg_btcoex.c:31:0:
  3864. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
  3865. #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
  3866. ^
  3867. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg_btcoex.c:29:0:
  3868. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
  3869. #define strnicmp strncasecmp
  3870. ^
  3871. LD drivers/media/huawei/camera/cci/built-in.o
  3872. CC drivers/hisi/mntn/blackbox/platform_hifi/rdr_hisi_audio_codec.o
  3873. LD drivers/gpu/arm/bifrost-r14p0-00cet0/built-in.o
  3874. LD drivers/hisi/modem/drv/dump/mdmcp/built-in.o
  3875. In file included from ../drivers/huawei_platform/touthscreen/panel/st/fts_update.c:39:0:
  3876. ../drivers/huawei_platform/touthscreen/panel/st/fts.h:53:22: warning: ‘roi_data’ defined but not used [-Wunused-variable]
  3877. static unsigned char roi_data[ROI_DATA_READ_LENGTH] = { 0 };
  3878. ^
  3879. ../drivers/huawei_platform/touthscreen/panel/st/fts_update.c:56:21: warning: ‘be_to_uint’ defined but not used [-Wunused-function]
  3880. static unsigned int be_to_uint(const unsigned char *ptr)
  3881. ^
  3882. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/FLOWCTRL/Src/FcACoreCReset.o
  3883. LD drivers/huawei_platform/sw/built-in.o
  3884. LD fs/ext4/built-in.o
  3885. CC drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsCompensation.o
  3886. CC drivers/hisi/modem/ps/tl/../comm/comm/acore/NDIS/Src/Ipv4DhcpServer.o
  3887. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/IMM/Src/IMMmemZC.o
  3888. In file included from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.h:21:0,
  3889. from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:9:
  3890. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  3891. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  3892. ^
  3893. CC drivers/huawei_platform/oases/hook_subfunc.o
  3894. CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_fs_proc.o
  3895. LD drivers/hisi/modem/drv/dump/built-in.o
  3896. CC drivers/huawei_platform/usb/pd/fsc/Platform_Linux/fusb30x_global.o
  3897. LD drivers/huawei_platform/usb/switch/switch_sensorhub/built-in.o
  3898. CC drivers/huawei_platform/usb/pd/fsc/Platform_Linux/platform.o
  3899. CC drivers/hisi/modem/oam/gu/../gu/acore/si/PcscProc.o
  3900. CC drivers/media/huawei/camera/pmic/hw_pmic.o
  3901. CC drivers/media/huawei/camera/platform/hi3660/sensor_common.o
  3902. ../drivers/hisi/tzdriver/dynamic_mem.c: In function ‘kill_ion_by_cafd’:
  3903. ../drivers/hisi/tzdriver/dynamic_mem.c:408:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3904. struct dynamic_mem_item *item;
  3905. ^
  3906. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_reconstruct_barcode’:
  3907. CC drivers/md/dm-sysfs.o
  3908. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:1146:4: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat=]
  3909. TS_LOG_INFO("Will write the data to info_buff, offset is %s", offset1);
  3910. ^
  3911. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:1154:4: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat=]
  3912. TS_LOG_INFO("Will write the data to info_buff, offset is %s", offset2);
  3913. ^
  3914. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_reconstruct_brightness’:
  3915. CC drivers/huawei_platform/oases/sign/oid_registry.o
  3916. CC drivers/huawei_platform/oases/sign/mpiutil.o
  3917. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:1178:4: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat=]
  3918. TS_LOG_INFO("Will write the data to info_buff, offset is %s", offset1);
  3919. ^
  3920. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:1186:4: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat=]
  3921. TS_LOG_INFO("Will write the data to info_buff, offset is %s", offset2);
  3922. ^
  3923. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_reconstruct_whitepoint’:
  3924. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:1210:3: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat=]
  3925. TS_LOG_INFO("Will write the data to info_buff, offset is %s", offset1);
  3926. ^
  3927. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:1218:3: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat=]
  3928. TS_LOG_INFO("Will write the data to info_buff, offset is %s", offset2);
  3929. ^
  3930. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_reconstruct_repair_recode’:
  3931. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:1251:4: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat=]
  3932. TS_LOG_INFO("Will write the data to info_buff, offset is %s", offset);
  3933. ^
  3934. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_set_oem_info’:
  3935. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:1426:3: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=]
  3936. TS_LOG_INFO("%s: invalid test cmd:%s\n", __func__);
  3937. ^
  3938. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_get_oem_info’:
  3939. LD fs/proc/proc.o
  3940. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:1569:6: warning: unused variable ‘count’ [-Wunused-variable]
  3941. int count = 0;
  3942. ^
  3943. CC drivers/hisi/modem/drv/modem_avs/avs_balong.o
  3944. CC drivers/media/huawei/camera/sensor/hwsensor.o
  3945. CC drivers/hisi/modem/drv/mem/mem_balong.o
  3946. CC drivers/media/huawei/camera/sensor/camerafs.o
  3947. In file included from ../drivers/huawei_platform/oases/hook_subfunc.c:21:0:
  3948. ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
  3949. static inline int oases_insn_patch_nosync(void* addr, u32 insn);
  3950. ^
  3951. ../drivers/hisi/tzdriver/tz_spi_notify.c: In function ‘tc_notify_wakeup_fn’:
  3952. ../drivers/hisi/tzdriver/tz_spi_notify.c:269:2: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘pid_t’ [-Wformat=]
  3953. tlogd("notify_data_entry_wakeup ca: %llx\n", tc_notify_wakeup->ca_thread_id);
  3954. ^
  3955. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_rmi4_set_page_f35’:
  3956. CC drivers/hisi/mntn/blackbox/platform_hifi/rdr_hisi_audio_soc.o
  3957. CC drivers/mmc/core/sdio_ops.o
  3958. LD drivers/hisi/modem/drv/icc/built-in.o
  3959. LD drivers/huawei_platform/net/bastet/built-in.o
  3960. LD drivers/gpu/arm/built-in.o
  3961. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:5019:21: warning: unused variable ‘i2c’ [-Wunused-variable]
  3962. struct i2c_client *i2c = to_i2c_client(rmi4_data->synaptics_dev->dev.parent);
  3963. ^
  3964. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_rmi4_i2c_read_f35’:
  3965. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:5046:22: warning: unused variable ‘adap’ [-Wunused-variable]
  3966. struct i2c_adapter *adap = g_ts_data.client->adapter;
  3967. ^
  3968. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:5045:21: warning: unused variable ‘i2c’ [-Wunused-variable]
  3969. struct i2c_client *i2c = to_i2c_client(rmi4_data->synaptics_dev->dev.parent);
  3970. ^
  3971. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:5040:16: warning: unused variable ‘index’ [-Wunused-variable]
  3972. unsigned char index = 0;
  3973. ^
  3974. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_rmi4_i2c_write_f35’:
  3975. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:5093:21: warning: unused variable ‘i2c’ [-Wunused-variable]
  3976. struct i2c_client *i2c = to_i2c_client(rmi4_data->synaptics_dev->dev.parent);
  3977. ^
  3978. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:5092:16: warning: unused variable ‘page’ [-Wunused-variable]
  3979. unsigned char page;
  3980. ^
  3981. In file included from ../drivers/hisi/tzdriver/tui.c:31:0:
  3982. ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘struct mmc_blk_ioc_rpmb_data’ declared inside parameter list
  3983. struct mmc_blk_ioc_rpmb_data *idata);
  3984. ^
  3985. ../drivers/hisi/tzdriver/agent.h:111:14: warning: its scope is only this definition or declaration, which is probably not what you want
  3986. ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘enum func_id’ declared inside parameter list
  3987. In file included from ../drivers/huawei_platform/oases/sign/mpih-mul.c:32:0:
  3988. ../drivers/huawei_platform/oases/sign/../util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
  3989. static inline int oases_insn_patch_nosync(void* addr, u32 insn);
  3990. ^
  3991. CC drivers/huawei_platform/usb/pd/fsc/Platform_Linux/platform_helpers.o
  3992. CC drivers/hisi/mntn/blackbox/platform_ap/rdr_hisi_ap_mntn.o
  3993. LD drivers/huawei_platform/net/built-in.o
  3994. CC drivers/hisi/mntn/blackbox/platform_ap/rdr_hisi_ap_subtype.o
  3995. ../drivers/huawei_platform/usb/pd/fsc/Platform_Linux/platform_helpers.c: In function ‘fusb_dual_role_prop_is_writeable’:
  3996. ../drivers/huawei_platform/usb/pd/fsc/Platform_Linux/platform_helpers.c:212:2: warning: enumeration value ‘DUAL_ROLE_PROP_SUPPORTED_MODES’ not handled in switch [-Wswitch]
  3997. switch (prop) {
  3998. ^
  3999. ../drivers/huawei_platform/usb/pd/fsc/Platform_Linux/platform_helpers.c:212:2: warning: enumeration value ‘DUAL_ROLE_PROP_MODE’ not handled in switch [-Wswitch]
  4000. ../drivers/huawei_platform/usb/pd/fsc/Platform_Linux/platform_helpers.c:212:2: warning: enumeration value ‘DUAL_ROLE_PROP_VCONN_SUPPLY’ not handled in switch [-Wswitch]
  4001. ../drivers/huawei_platform/usb/pd/fsc/Platform_Linux/platform_helpers.c: In function ‘fusb_dual_role_set_prop’:
  4002. ../drivers/huawei_platform/usb/pd/fsc/Platform_Linux/platform_helpers.c:222:23: warning: unused variable ‘chip’ [-Wunused-variable]
  4003. struct fusb30x_chip* chip = fusb30x_GetChip();
  4004. ^
  4005. CC drivers/hisi/mntn/blackbox/platform_ap/hisi_pstore.o
  4006. CC drivers/hisi/mntn/blackbox/platform_ap/rdr_hisi_ap_cleartext.o
  4007. LD drivers/media/huawei/camera/io/built-in.o
  4008. CC drivers/hisi/noc/hisi_noc_info_ORLA.o
  4009. CC drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.o
  4010. LD drivers/huawei_platform/vibrator/drv2605/built-in.o
  4011. CC drivers/hisi/modem/oam/gu/../gu/acore/sc/ScAppComm.o
  4012. aarch64-elf-cpp ../drivers/hisi/tzdriver/rule.in > drivers/hisi/tzdriver/rule.out
  4013. LD drivers/huawei_platform/vibrator/built-in.o
  4014. CC drivers/hisi/modem/oam/gu/../gu/comm/om/OmHdlc.o
  4015. LD drivers/media/huawei/camera/csi/built-in.o
  4016. CC drivers/mmc/core/sdio_bus.o
  4017. CC drivers/hisi/modem/drv/loadm/loadm_phone.o
  4018. CC drivers/hisi/tzdriver/cfc_coresight.o
  4019. LD drivers/gpu/built-in.o
  4020. CC drivers/hisi/mntn/blackbox/rdr_cleartext.o
  4021. CC drivers/hisi/modem/drv/nvim/nv_emmc.o
  4022. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘do_adpator_voltage_accuracy_check’:
  4023. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:1419:1: warning: the frame size of 2336 bytes is larger than 2048 bytes [-Wframe-larger-than=]
  4024. }
  4025. ^
  4026. ../drivers/huawei_platform/usb/typec/hw_typec.c: In function ‘typec_chip_register’:
  4027. ../drivers/huawei_platform/usb/typec/hw_typec.c:712:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4028. struct dual_role_phy_desc *desc;
  4029. ^
  4030. CC drivers/hisi/tzdriver/libhwsecurec/memcpy_s.o
  4031. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx298.o
  4032. CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_message.o
  4033. CC drivers/hisi/modem/oam/gu/../gu/comm/om/ombufmngr.o
  4034. CC drivers/hisi/modem/oam/gu/../gu/comm/om/omringbuffer.o
  4035. CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_msgmsp.o
  4036. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx230.o
  4037. CC lib/nmi_backtrace.o
  4038. CC lib/nodemask.o
  4039. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx179.o
  4040. LD drivers/huawei_platform/power/charger/charger_ap/dual_charger/bq25892_aux/built-in.o
  4041. LD drivers/mmc/host/built-in.o
  4042. In file included from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.h:21:0,
  4043. from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:31:
  4044. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  4045. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  4046. ^
  4047. LD drivers/hisi/modem/drv/log/built-in.o
  4048. CC drivers/hisi/modem/drv/nvim/NVIM_ResumeId.o
  4049. CC drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsCrossCompile.o
  4050. CC drivers/hisi/modem/taf/comm/src/acore/ADS/Src/AdsUpLink.o
  4051. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘do_full_path_resistance_check’:
  4052. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:1528:1: warning: the frame size of 2320 bytes is larger than 2048 bytes [-Wframe-larger-than=]
  4053. }
  4054. ^
  4055. CC drivers/hisi/modem/taf/comm/src/acore/ADS/Src/AdsDebug.o
  4056. CC drivers/hid/hid-picolcd_leds.o
  4057. LD drivers/hisi/modem/drv/ipc/built-in.o
  4058. In file included from ../drivers/huawei_platform/oases/sign/mpiutil.c:22:0:
  4059. ../drivers/huawei_platform/oases/sign/../util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
  4060. static inline int oases_insn_patch_nosync(void* addr, u32 insn);
  4061. ^
  4062. CC drivers/hid/hid-picolcd_debugfs.o
  4063. In file included from ../include/asm-generic/gpio.h:4:0,
  4064. from ../include/linux/gpio.h:51,
  4065. from ../drivers/media/huawei/camera/hjpeg/hjpgenc.c:27:
  4066. ../drivers/media/huawei/camera/hjpeg/hjpgenc.c: In function ‘hjpeg_unregister’:
  4067. ../include/linux/kernel.h:842:48: warning: initialization from incompatible pointer type
  4068. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  4069. ^
  4070. ../drivers/media/huawei/camera/hjpeg/hjpgenc.c:56:28: note: in expansion of macro ‘container_of’
  4071. #define I2Hjpeg(jpeg_intf) container_of(jpeg_intf, hjpeg_t, intf)
  4072. ^
  4073. ../drivers/media/huawei/camera/hjpeg/hjpgenc.c:276:13: note: in expansion of macro ‘I2Hjpeg’
  4074. jpeg = I2Hjpeg(si);
  4075. ^
  4076. LD fs/proc/hisi/built-in.o
  4077. python ../drivers/hisi/tzdriver/cfc_codegen.py drivers/hisi/tzdriver/rule.out > drivers/hisi/tzdriver/cfc_data.c
  4078. CC drivers/hid/hid-plantronics.o
  4079. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘fwu_go_nogo’:
  4080. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:2475:4: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 3 has type ‘unsigned char *’ [-Wformat=]
  4081. retval = sscanf(rmi4_data->synaptics_chip_data->adv_width + ii, "%01x", dts_set_buf + ii);
  4082. ^
  4083. CC drivers/hisi/modem/ps/tl/../comm/comm/common/ND/IPCOMM/Src/IpComm.o
  4084. LD fs/proc/built-in.o
  4085. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘fwu_erase_guest_code’:
  4086. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:2863:30: warning: unused variable ‘rmi4_data’ [-Wunused-variable]
  4087. struct synaptics_rmi4_data *rmi4_data = fwu->rmi4_data;
  4088. ^
  4089. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘fwu_read_utility_parameter’:
  4090. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:2985:6: warning: unused variable ‘i’ [-Wunused-variable]
  4091. int i;
  4092. ^
  4093. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:2984:30: warning: unused variable ‘rmi4_data’ [-Wunused-variable]
  4094. struct synaptics_rmi4_data *rmi4_data = fwu->rmi4_data;
  4095. ^
  4096. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘fwu_write_utility_parameter’:
  4097. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:3008:30: warning: unused variable ‘rmi4_data’ [-Wunused-variable]
  4098. struct synaptics_rmi4_data *rmi4_data = fwu->rmi4_data;
  4099. ^
  4100. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘fwu_write_partition_table’:
  4101. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:3154:30: warning: unused variable ‘rmi4_data’ [-Wunused-variable]
  4102. struct synaptics_rmi4_data *rmi4_data = fwu->rmi4_data;
  4103. ^
  4104. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘synaptics_read_lockdown_data’:
  4105. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
  4106. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wldev_common.c:34:
  4107. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
  4108. #ifndef _DRIVER_REGISTER.H
  4109. ^
  4110. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
  4111. #define _DRIVER_REGISTER.H
  4112. ^
  4113. CC drivers/hisi/mntn/blackbox/rdr_exception_trace.o
  4114. CC drivers/media/huawei/camera/sensor/flash/hw_flash_i2c.o
  4115. CC drivers/media/huawei/camera/sensor/flash/hw_flash.o
  4116. CC drivers/media/huawei/camera/laser/vl53l0_ml.o
  4117. CC drivers/media/huawei/camera/laser/vl53l0_cmb.o
  4118. CC drivers/hisi/modem/ps/tl/../comm/comm/acore/ND/NDSERVER/Src/IpNdServer.o
  4119. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:3965:16: warning: unused variable ‘test’ [-Wunused-variable]
  4120. unsigned char test[10];
  4121. ^
  4122. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:3964:17: warning: unused variable ‘block_count’ [-Wunused-variable]
  4123. unsigned short block_count;
  4124. ^
  4125. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:3963:6: warning: unused variable ‘index’ [-Wunused-variable]
  4126. int index = 0;
  4127. ^
  4128. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘fwu_erase_oem_data’:
  4129. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:3990:30: warning: unused variable ‘rmi4_data’ [-Wunused-variable]
  4130. struct synaptics_rmi4_data *rmi4_data = fwu->rmi4_data;
  4131. ^
  4132. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘synaptics_read_oem_data’:
  4133. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:4016:6: warning: unused variable ‘index’ [-Wunused-variable]
  4134. int index = 0;
  4135. ^
  4136. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘set_oem_data’:
  4137. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:4326:4: warning: too many arguments for format [-Wformat-extra-args]
  4138. TS_LOG_INFO( "fwu->blkcount.oem_data * fwu->block_size > 0x7FFFFFFF\n",__func__);
  4139. ^
  4140. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘synaptics_get_project_id’:
  4141. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:4435:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4142. unsigned char *project_id =
  4143. ^
  4144. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘synaptics_read_project_id’:
  4145. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:4492:4: warning: too many arguments for format [-Wformat-extra-args]
  4146. TS_LOG_INFO("get_lockdown_data successfully\n", __func__);
  4147. ^
  4148. CC drivers/huawei_platform/oases/sign/public_key.o
  4149. CC drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsFrame.o
  4150. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/rt9748/rt9748_aux.c:148:16: warning: ‘rt9748_sysfs_show’ defined but not used [-Wunused-function]
  4151. static ssize_t rt9748_sysfs_show(struct device *dev, struct device_attribute *attr, char *buf)
  4152. ^
  4153. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/rt9748/rt9748_aux.c:162:16: warning: ‘rt9748_sysfs_store’ defined but not used [-Wunused-function]
  4154. static ssize_t rt9748_sysfs_store(struct device *dev,
  4155. ^
  4156. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/rt9748/rt9748_aux.c:227:12: warning: ‘rt9748_read_mask’ defined but not used [-Wunused-function]
  4157. static int rt9748_read_mask(u8 reg, u8 MASK, u8 SHIFT, u8 *value)
  4158. ^
  4159. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/rt9748/rt9748_aux.c:745:12: warning: ‘rt9748_get_vbus_voltage_mv’ defined but not used [-Wunused-function]
  4160. static int rt9748_get_vbus_voltage_mv(int *vbus)
  4161. ^
  4162. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/rt9748/rt9748_aux.c:786:12: warning: ‘rt9748_get_bat_voltage_mv’ defined but not used [-Wunused-function]
  4163. static int rt9748_get_bat_voltage_mv(void)
  4164. ^
  4165. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/rt9748/rt9748_aux.c:831:12: warning: ‘rt9748_get_bat_current_ma’ defined but not used [-Wunused-function]
  4166. static int rt9748_get_bat_current_ma(int * ibat)
  4167. ^
  4168. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/rt9748/rt9748_aux.c:988:12: warning: ‘batinfo_init’ defined but not used [-Wunused-function]
  4169. static int batinfo_init(void)
  4170. ^
  4171. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/rt9748/rt9748_aux.c:1018:12: warning: ‘rt9748_batinfo_exit’ defined but not used [-Wunused-function]
  4172. static int rt9748_batinfo_exit(void)
  4173. ^
  4174. LD drivers/huawei_platform/voltage_detection/built-in.o
  4175. In file included from ../drivers/media/huawei/camera/hjpeg/hjpeg150/hjpgenc150.c:31:0:
  4176. ../drivers/media/huawei/camera/hjpeg/hjpeg150/hjpgenc150.h:40:0: warning: "ALIGN_DOWN" redefined
  4177. #define ALIGN_DOWN(value, al) ((unsigned int )(value) & ~((al) - 1))
  4178. ^
  4179. In file included from ../include/linux/list.h:8:0,
  4180. from ../include/linux/kobject.h:20,
  4181. from ../include/linux/of.h:21,
  4182. from ../drivers/media/huawei/camera/hjpeg/hjpeg150/hjpgenc150.c:3:
  4183. ../include/linux/kernel.h:50:0: note: this is the location of the previous definition
  4184. #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a))
  4185. ^
  4186. CC drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_debug.o
  4187. In file included from ../include/linux/kernel.h:13:0,
  4188. from ../include/linux/list.h:8,
  4189. from ../include/linux/module.h:9,
  4190. from ../include/huawei_platform/power/direct_charger.h:4,
  4191. from ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:20:
  4192. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘scp_stop_charging’:
  4193. ../include/linux/printk.h:290:2: warning: ‘vbat’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  4194. printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
  4195. ^
  4196. CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_msgps.o
  4197. ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:1866:6: note: ‘vbat’ was declared here
  4198. int vbat;
  4199. ^
  4200. CC drivers/hisi/tzdriver/cfc_data.o
  4201. ../drivers/hisi/tzdriver/tui.c: In function ‘get_frame_addr’:
  4202. ../drivers/hisi/tzdriver/tui.c:299:6: warning: unused variable ‘num’ [-Wunused-variable]
  4203. u64 num = 1;
  4204. ^
  4205. CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_msgbbp.o
  4206. LD drivers/media/v4l2-core/videodev.o
  4207. CC drivers/media/huawei/camera/laser/vl53l0_duke.o
  4208. In file included from ../include/linux/list.h:8:0,
  4209. from ../include/linux/preempt.h:10,
  4210. from ../include/linux/spinlock.h:50,
  4211. from ../include/linux/seqlock.h:35,
  4212. from ../include/linux/time.h:5,
  4213. from ../include/linux/videodev2.h:59,
  4214. from ../include/media/huawei/hisp_cfg_base.h:8,
  4215. from ../include/media/huawei/hisp150_cfg.h:7,
  4216. from ../drivers/media/huawei/camera/hisp/hisp.c:6:
  4217. ../drivers/media/huawei/camera/hisp/hisp.c: In function ‘hisp_unregister’:
  4218. CC drivers/md/dm-stats.o
  4219. ../include/linux/kernel.h:842:48: warning: initialization from incompatible pointer type
  4220. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  4221. ^
  4222. ../drivers/media/huawei/camera/hisp/hisp.c:44:29: note: in expansion of macro ‘container_of’
  4223. #define HwtoHisp(isp_intf) container_of(isp_intf, hisp_t, hw)
  4224. ^
  4225. ../drivers/media/huawei/camera/hisp/hisp.c:486:11: note: in expansion of macro ‘HwtoHisp’
  4226. isp = HwtoHisp(isp_intf);
  4227. ^
  4228. LD drivers/huawei_platform/power/charger/charger_ap/dual_charger/bq25892_main/built-in.o
  4229. LD drivers/huawei_platform/power/charger/charger_ap/dual_charger/built-in.o
  4230. CC drivers/media/huawei/camera/pmic/hw_pmic_i2c.o
  4231. CC drivers/hisi/modem/taf/comm/src/acore/ADS/Src/AdsFilter.o
  4232. CC drivers/mmc/core/sdio_cis.o
  4233. ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c: In function ‘hisp150_power_on’:
  4234. ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c:627:38: warning: passing argument 2 of ‘rpmsg_create_ept’ from incompatible pointer type
  4235. rpmsg_create_ept(hisi_serv->rpdev, hisp150_rpmsg_ept_cb, hisi_serv, chinfo);
  4236. ^
  4237. In file included from ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c:11:0:
  4238. ../include/linux/rpmsg.h:140:24: note: expected ‘rpmsg_rx_cb_t’ but argument is of type ‘void (*)(struct rpmsg_device *, void *, int, void *, u32)’
  4239. struct rpmsg_endpoint *rpmsg_create_ept(struct rpmsg_device *,
  4240. ^
  4241. ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c: At top level:
  4242. CC drivers/hisi/modem/drv/ocp/pmic_ocp.o
  4243. ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c:1126:14: warning: initialization from incompatible pointer type
  4244. .callback = hisp150_rpmsg_driver_cb,
  4245. ^
  4246. ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c:1126:14: warning: (near initialization for ‘rpmsg_hisp150_driver.callback’)
  4247. CC drivers/hisi/modem/ps/gu/../comm/comm/common/IP/Src/TtfIpComm.o
  4248. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hnd_pktpool.o
  4249. ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c:154:13: warning: ‘hisp150_is_secure_supported’ defined but not used [-Wunused-function]
  4250. static bool hisp150_is_secure_supported(void)
  4251. ^
  4252. LD drivers/input/mouse/psmouse.o
  4253. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
  4254. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux_platdev.c:39:
  4255. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
  4256. #ifndef _DRIVER_REGISTER.H
  4257. ^
  4258. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
  4259. #define _DRIVER_REGISTER.H
  4260. ^
  4261. ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c:1025:16: warning: ‘hisp_ddr_freq_ctrl_show’ defined but not used [-Wunused-function]
  4262. static ssize_t hisp_ddr_freq_ctrl_show(struct device *dev,
  4263. ^
  4264. ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c:1033:16: warning: ‘hisp_ddr_freq_store’ defined but not used [-Wunused-function]
  4265. static ssize_t hisp_ddr_freq_store(struct device *dev,
  4266. ^
  4267. LD drivers/media/v4l2-core/built-in.o
  4268. CC drivers/huawei_platform/usb/typec/fusb301/fusb301.o
  4269. In file included from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/../../../huawei_touchscreen_chips.h:11:0,
  4270. from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsCompensation.c:37:
  4271. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  4272. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  4273. ^
  4274. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfgvendor.o
  4275. CC drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_dsx_test_reporting.o
  4276. LD drivers/input/mouse/built-in.o
  4277. CC drivers/media/huawei/camera/sensor/flash/lm3646.o
  4278. ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c: In function ‘mxt_T37_fetch’:
  4279. ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:554:3: warning: ‘obuf’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  4280. kfree(obuf);
  4281. ^
  4282. ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:412:9: warning: ‘chunk_len’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  4283. pos += chunk_len;
  4284. ^
  4285. CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_blkmem.o
  4286. LD drivers/media/media.o
  4287. LD drivers/input/built-in.o
  4288. CC drivers/media/huawei/camera/sensor/flash/mp3336.o
  4289. CC drivers/huawei_platform/usb/pd/richtek/tcpci_dual_role.o
  4290. CC drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_debug.o
  4291. CC drivers/huawei_platform/usb/switch/switch_ap/usbswitch_fsa9685.o
  4292. CC drivers/hisi/modem/taf/comm/src/acore/ADS/Src/AdsMntn.o
  4293. LD drivers/hisi/mntn/blackbox/platform_lpm3/built-in.o
  4294. LD fs/f2fs/f2fs.o
  4295. LD fs/f2fs/built-in.o
  4296. CC drivers/hisi/modem/taf/comm/src/acore/APPVCOM/Src/AppVcomDev.o
  4297. In file included from ../include/asm-generic/gpio.h:4:0,
  4298. from ../include/linux/gpio.h:51,
  4299. from ../drivers/media/huawei/camera/sensor/hwsensor.c:5:
  4300. ../drivers/media/huawei/camera/sensor/hwsensor.c: In function ‘hwsensor_unregister’:
  4301. ../include/linux/kernel.h:842:48: warning: initialization from incompatible pointer type
  4302. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  4303. ^
  4304. ../drivers/media/huawei/camera/sensor/hwsensor.c:470:27: note: in expansion of macro ‘container_of’
  4305. #define Intf2Hwsensor(si) container_of(si, hwsensor_t, intf)
  4306. ^
  4307. ../drivers/media/huawei/camera/sensor/hwsensor.c:474:26: note: in expansion of macro ‘Intf2Hwsensor’
  4308. hwsensor_t* sensor = Intf2Hwsensor(si);
  4309. ^
  4310. ../include/linux/kernel.h:842:48: warning: (near initialization for ‘sensor’)
  4311. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  4312. ^
  4313. ../drivers/media/huawei/camera/sensor/hwsensor.c:470:27: note: in expansion of macro ‘container_of’
  4314. #define Intf2Hwsensor(si) container_of(si, hwsensor_t, intf)
  4315. ^
  4316. ../drivers/media/huawei/camera/sensor/hwsensor.c:474:26: note: in expansion of macro ‘Intf2Hwsensor’
  4317. hwsensor_t* sensor = Intf2Hwsensor(si);
  4318. ^
  4319. CC drivers/media/huawei/camera/sensor/ois/hwois.o
  4320. CC drivers/hisi/modem/ps/gu/../comm/comm/common/LINK/Src/TTFUtil.o
  4321. CC drivers/media/huawei/camera/sensor/ois/lc8981.o
  4322. CC drivers/media/huawei/camera/sensor/vcm/hwvcm.o
  4323. CC drivers/media/huawei/camera/sensor/vcm/dw9714.o
  4324. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/acf.o
  4325. LD fs/built-in.o
  4326. LD drivers/hisi/modem/drv/loadm/built-in.o
  4327. CC drivers/hisi/tzdriver/libhwsecurec/memset_s.o
  4328. CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_msgbsp.o
  4329. CC drivers/md/dm-rq.o
  4330. CC drivers/hisi/noc/hisi_noc_info_PHOE_es.o
  4331. CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_private.o
  4332. CC drivers/mmc/core/sdio_io.o
  4333. CC drivers/huawei_platform/oases/sign/rsa.o
  4334. CC drivers/hid/hid-primax.o
  4335. CC drivers/huawei_platform/usb/pd/fsc/Platform_Linux/hostcomm.o
  4336. CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_msgphy.o
  4337. CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_int.o
  4338. CC drivers/mmc/core/sdio_irq.o
  4339. CC drivers/huawei_platform/oases/sign/sha512_generic.o
  4340. CC drivers/hisi/modem/oam/gu/../gu/comm/osa/rtc_timer.o
  4341. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/bcmxtlv.o
  4342. CC drivers/mmc/core/quirks.o
  4343. CC drivers/hisi/modem/taf/comm/src/acore/CSD/Src/CsdCtx.o
  4344. CC lib/plist.o
  4345. CC drivers/hisi/modem/taf/comm/src/acore/CSD/Src/CsdDebug.o
  4346. CC drivers/mmc/core/slot-gpio.o
  4347. In file included from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.h:21:0,
  4348. from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_debug.c:29:
  4349. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  4350. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  4351. ^
  4352. CC drivers/hisi/modem/drv/nvim/nv_ctrl.o
  4353. CC drivers/hisi/modem/taf/comm/src/acore/CSD/Src/CsdDownLink.o
  4354. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_debug.c: In function ‘rmidev_write’:
  4355. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_debug.c:464:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat=]
  4356. TS_LOG_ERR("count =%d is invalid",count);
  4357. ^
  4358. CC drivers/huawei_platform/usb/switch/usbswitch_common.o
  4359. CC drivers/huawei_platform/usb/pd/fsc/core/core.o
  4360. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx179_cmb.o
  4361. LD drivers/mmc/card/built-in.o
  4362. CC drivers/media/huawei/camera/sensor/flash/lm3646_mix.o
  4363. CC drivers/md/dm-builtin.o
  4364. In file included from ../drivers/huawei_platform/usb/pd/fsc/core/platform.h:56:0,
  4365. from ../drivers/huawei_platform/usb/pd/fsc/core/core.h:9,
  4366. from ../drivers/huawei_platform/usb/pd/fsc/core/core.c:1:
  4367. ../include/linux/kernel.h:32:0: warning: "U8_MAX" redefined
  4368. #define U8_MAX ((u8)~0U)
  4369. ^
  4370. In file included from ../drivers/huawei_platform/usb/pd/fsc/core/platform.h:55:0,
  4371. from ../drivers/huawei_platform/usb/pd/fsc/core/core.h:9,
  4372. from ../drivers/huawei_platform/usb/pd/fsc/core/core.c:1:
  4373. ../drivers/huawei_platform/usb/pd/fsc/core/../Platform_Linux/FSCTypes.h:34:0: note: this is the location of the previous definition
  4374. #define U8_MAX ((__u8)~0U)
  4375. ^
  4376. CC drivers/huawei_platform/usb/pd/fsc/core/fusb30X.o
  4377. In file included from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/../../../huawei_touchscreen_chips.h:11:0,
  4378. from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsFrame.c:37:
  4379. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  4380. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  4381. ^
  4382. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsFrame.c: In function ‘getMSFrame’:
  4383. CC drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsIO.o
  4384. CC drivers/media/huawei/camera/pmic/ncp6925.o
  4385. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsFrame.c:144:4: warning: ' ' flag used with ‘%X’ gnu_printf format [-Wformat=]
  4386. TS_LOG_ERR("%s getMSFrame: ERROR % 02X\n", __func__, ERROR_OP_NOT_ALLOW);
  4387. ^
  4388. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsFrame.c: In function ‘getSSFrame’:
  4389. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsFrame.c:203:3: warning: ' ' flag used with ‘%X’ gnu_printf format [-Wformat=]
  4390. TS_LOG_ERR("%s getSSFrame: ERROR % 02X\n", __func__, ERROR_OP_NOT_ALLOW);
  4391. ^
  4392. LD drivers/hisi/modem/drv/modem_avs/built-in.o
  4393. In file included from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.h:21:0,
  4394. from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_dsx_test_reporting.c:29:
  4395. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  4396. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  4397. ^
  4398. CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_msghifi.o
  4399. CC drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.o
  4400. In file included from ../drivers/huawei_platform/usb/typec/fusb301/fusb301.c:47:0:
  4401. ../include/huawei_platform/usb/hw_typec_platform.h:15:29: warning: ‘struct typec_device_info’ declared inside parameter list
  4402. void typec_wake_lock(struct typec_device_info *di);
  4403. ^
  4404. ../include/huawei_platform/usb/hw_typec_platform.h:15:29: warning: its scope is only this definition or declaration, which is probably not what you want
  4405. ../include/huawei_platform/usb/hw_typec_platform.h:17:31: warning: ‘struct typec_device_info’ declared inside parameter list
  4406. void typec_wake_unlock(struct typec_device_info *di);
  4407. ^
  4408. ../drivers/huawei_platform/usb/typec/fusb301/fusb301.c: In function ‘fusb301_irq_handler’:
  4409. ../drivers/huawei_platform/usb/typec/fusb301/fusb301.c:494:21: warning: passing argument 1 of ‘typec_wake_lock’ from incompatible pointer type
  4410. typec_wake_lock(di);
  4411. ^
  4412. In file included from ../drivers/huawei_platform/usb/typec/fusb301/fusb301.c:47:0:
  4413. ../include/huawei_platform/usb/hw_typec_platform.h:15:6: note: expected ‘struct typec_device_info *’ but argument is of type ‘struct typec_device_info *’
  4414. void typec_wake_lock(struct typec_device_info *di);
  4415. ^
  4416. CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_msgapplog.o
  4417. CC drivers/huawei_platform/oases/sign/x509-asn1.o
  4418. CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_service.o
  4419. CC lib/radix-tree.o
  4420. CC drivers/huawei_platform/oases/sign/x509_cert_parser.o
  4421. CC drivers/huawei_platform/usb/switch/switch_ap/usbswitch_rt8979.o
  4422. CC drivers/hisi/modem/drv/onoff/power_exchange.o
  4423. CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_queue.o
  4424. CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_timer.o
  4425. LD drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/rt9748/built-in.o
  4426. CC drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711.o
  4427. CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_msg.o
  4428. LD drivers/hisi/modem/drv/ipf/built-in.o
  4429. CC drivers/hisi/noc/hisi_noc_info_PHOE.o
  4430. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_dual_role.c:24:0:
  4431. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  4432. In file included from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.h:21:0,
  4433. from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_debug.c:28:
  4434. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  4435. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  4436. ^
  4437. CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_lib.o
  4438. LD drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/built-in.o
  4439. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  4440. int ret = 0;
  4441. ^
  4442. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_debug.o
  4443. CC drivers/hisi/modem/oam/gu/../gu/comm/osa/vos_Id.o
  4444. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_dual_role.c:24:0:
  4445. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  4446. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  4447. int ret = 0;
  4448. ^
  4449. ../drivers/huawei_platform/usb/pd/richtek/tcpci_dual_role.c: In function ‘tcpc_dual_role_phy_init’:
  4450. ../drivers/huawei_platform/usb/pd/richtek/tcpci_dual_role.c:189:6: warning: unused variable ‘len’ [-Wunused-variable]
  4451. int len;
  4452. ^
  4453. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_dual_role.c:24:0:
  4454. ../drivers/huawei_platform/usb/pd/richtek/tcpci_dual_role.c: At top level:
  4455. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  4456. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  4457. ^
  4458. CC drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTime.o
  4459. CC drivers/hisi/modem/oam/gu/../gu/comm/osa/vos_main.o
  4460. CC drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTool.o
  4461. LD drivers/hisi/modem/drv/ocp/built-in.o
  4462. CC drivers/huawei_platform/usb/pd/fsc/core/Log.o
  4463. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx219.o
  4464. CC drivers/mmc/core/cache_enable.o
  4465. CC drivers/media/huawei/camera/platform/hi3660/sensor/ov8865.o
  4466. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_debug.c: In function ‘synaptics_rmi4_f54_attention_cust’:
  4467. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_debug.c:2486:6: warning: unused variable ‘l’ [-Wunused-variable]
  4468. int l;
  4469. ^
  4470. CC drivers/huawei_platform/oases/sign/x509_rsakey-asn1.o
  4471. CC drivers/huawei_platform/usb/pd/fsc/core/PDPolicy.o
  4472. CC drivers/media/huawei/camera/sensor/flash/mp3336_mix.o
  4473. CC drivers/hid/hid-roccat.o
  4474. LD drivers/hisi/modem/drv/mem/built-in.o
  4475. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/async.o
  4476. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/auth.o
  4477. CC drivers/hisi/modem/drv/pm_om/pm_om.o
  4478. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx219_vic.o
  4479. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx219_duke.o
  4480. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/chap.o
  4481. CC drivers/mmc/core/lock.o
  4482. CC drivers/huawei_platform/usb/pd/fsc/core/PDProtocol.o
  4483. CC drivers/mmc/core/sysfs.o
  4484. ../drivers/huawei_platform/usb/pd/fsc/core/PDPolicy.c: In function ‘PolicySourceStartup’:
  4485. ../drivers/huawei_platform/usb/pd/fsc/core/PDPolicy.c:839:16: warning: unused variable ‘temp’ [-Wunused-variable]
  4486. CCTermType temp;
  4487. ^
  4488. CC drivers/huawei_platform/usb/pd/fsc/core/TypeC.o
  4489. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx219_stf.o
  4490. In file included from ../include/linux/mm_types.h:15:0,
  4491. from ../include/linux/sched.h:27,
  4492. from ../arch/arm64/include/asm/compat.h:25,
  4493. from ../arch/arm64/include/asm/stat.h:23,
  4494. from ../include/linux/stat.h:5,
  4495. from ../include/linux/module.h:10,
  4496. from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_dsx_test_reporting.c:21:
  4497. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_dsx_test_reporting.c: In function ‘synaptics_rmi4_f54_s3207_init’:
  4498. ../include/linux/workqueue.h:219:17: warning: assignment from incompatible pointer type
  4499. (_work)->func = (_func); \
  4500. ^
  4501. ../include/linux/workqueue.h:224:2: note: in expansion of macro ‘__INIT_WORK’
  4502. __INIT_WORK((_work), (_func), 0)
  4503. ^
  4504. ../include/linux/workqueue.h:231:3: note: in expansion of macro ‘INIT_WORK’
  4505. INIT_WORK(&(_work)->work, (_func)); \
  4506. ^
  4507. ../include/linux/workqueue.h:247:2: note: in expansion of macro ‘__INIT_DELAYED_WORK’
  4508. __INIT_DELAYED_WORK(_work, _func, 0)
  4509. ^
  4510. ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_dsx_test_reporting.c:5110:2: note: in expansion of macro ‘INIT_DELAYED_WORK’
  4511. INIT_DELAYED_WORK(&f54->status_work, synaptics_rmi4_f54_status_work);
  4512. ^
  4513. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/hdlc.o
  4514. CC drivers/hisi/modem/drv/psam/psam_balong.o
  4515. CC drivers/huawei_platform/usb/pd/fsc/core/vdm/bitfield_translators.o
  4516. In file included from ../include/asm-generic/gpio.h:4:0,
  4517. from ../include/linux/gpio.h:51,
  4518. from ../drivers/media/huawei/camera/sensor/vcm/hwvcm.c:27:
  4519. ../drivers/media/huawei/camera/sensor/vcm/hwvcm.c: In function ‘hw_vcm_unregister’:
  4520. ../include/linux/kernel.h:842:48: warning: initialization from incompatible pointer type
  4521. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  4522. ^
  4523. ../drivers/media/huawei/camera/sensor/vcm/hwvcm.c:229:24: note: in expansion of macro ‘container_of’
  4524. #define Intf2Hwvcm(si) container_of(si, hw_vcm_t, intf)
  4525. ^
  4526. ../drivers/media/huawei/camera/sensor/vcm/hwvcm.c:233:21: note: in expansion of macro ‘Intf2Hwvcm’
  4527. hw_vcm_t* hw_vcm = Intf2Hwvcm(intf);
  4528. ^
  4529. ../include/linux/kernel.h:842:48: warning: (near initialization for ‘hw_vcm’)
  4530. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  4531. ^
  4532. ../drivers/media/huawei/camera/sensor/vcm/hwvcm.c:229:24: note: in expansion of macro ‘container_of’
  4533. #define Intf2Hwvcm(si) container_of(si, hw_vcm_t, intf)
  4534. ^
  4535. ../drivers/media/huawei/camera/sensor/vcm/hwvcm.c:233:21: note: in expansion of macro ‘Intf2Hwvcm’
  4536. hw_vcm_t* hw_vcm = Intf2Hwvcm(intf);
  4537. ^
  4538. CC drivers/mmc/core/pwrseq.o
  4539. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx319.o
  4540. In file included from ../drivers/huawei_platform/usb/pd/fsc/core/platform.h:56:0,
  4541. from ../drivers/huawei_platform/usb/pd/fsc/core/PDProtocol.h:34,
  4542. from ../drivers/huawei_platform/usb/pd/fsc/core/PDProtocol.c:26:
  4543. ../include/linux/kernel.h:32:0: warning: "U8_MAX" redefined
  4544. #define U8_MAX ((u8)~0U)
  4545. ^
  4546. In file included from ../drivers/huawei_platform/usb/pd/fsc/core/platform.h:55:0,
  4547. from ../drivers/huawei_platform/usb/pd/fsc/core/PDProtocol.h:34,
  4548. from ../drivers/huawei_platform/usb/pd/fsc/core/PDProtocol.c:26:
  4549. ../drivers/huawei_platform/usb/pd/fsc/core/../Platform_Linux/FSCTypes.h:34:0: note: this is the location of the previous definition
  4550. #define U8_MAX ((__u8)~0U)
  4551. ^
  4552. CC drivers/mmc/core/debugfs.o
  4553. CC drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm.o
  4554. In file included from ../drivers/huawei_platform/oases/sign/x509_cert_parser.c:22:0:
  4555. ../drivers/huawei_platform/oases/sign/../util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
  4556. static inline int oases_insn_patch_nosync(void* addr, u32 insn);
  4557. ^
  4558. CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_nsprintf.o
  4559. ../drivers/huawei_platform/usb/pd/fsc/core/PDProtocol.c: In function ‘ProtocolGetRxPacket’:
  4560. ../drivers/huawei_platform/usb/pd/fsc/core/PDProtocol.c:185:12: warning: unused variable ‘reg41h’ [-Wunused-variable]
  4561. FSC_U8 reg41h = 0;
  4562. ^
  4563. In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../platform.h:56:0,
  4564. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_types.h:39,
  4565. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/bitfield_translators.c:32:
  4566. ../include/linux/kernel.h:32:0: warning: "U8_MAX" redefined
  4567. #define U8_MAX ((u8)~0U)
  4568. ^
  4569. In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../platform.h:55:0,
  4570. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_types.h:39,
  4571. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/bitfield_translators.c:32:
  4572. ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../../Platform_Linux/FSCTypes.h:34:0: note: this is the location of the previous definition
  4573. #define U8_MAX ((__u8)~0U)
  4574. ^
  4575. CC drivers/hisi/modem/oam/lt/../lt/acore/service/msp_service.o
  4576. CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_sprintf.o
  4577. In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../platform.h:56:0,
  4578. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm.h:35,
  4579. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm.c:33:
  4580. ../include/linux/kernel.h:32:0: warning: "U8_MAX" redefined
  4581. #define U8_MAX ((u8)~0U)
  4582. ^
  4583. In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../platform.h:55:0,
  4584. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm.h:35,
  4585. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm.c:33:
  4586. ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../../Platform_Linux/FSCTypes.h:34:0: note: this is the location of the previous definition
  4587. #define U8_MAX ((__u8)~0U)
  4588. ^
  4589. LD drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/rt9748/built-in.o
  4590. LD drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/built-in.o
  4591. In file included from ../include/asm-generic/gpio.h:4:0,
  4592. from ../include/linux/gpio.h:51,
  4593. from ../drivers/media/huawei/camera/sensor/ois/hwois.c:27:
  4594. ../drivers/media/huawei/camera/sensor/ois/hwois.c: In function ‘hw_ois_unregister’:
  4595. ../include/linux/kernel.h:842:48: warning: initialization from incompatible pointer type
  4596. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  4597. ^
  4598. ../drivers/media/huawei/camera/sensor/ois/hwois.c:228:24: note: in expansion of macro ‘container_of’
  4599. #define Intf2Hwois(si) container_of(si, hw_ois_t, intf)
  4600. ^
  4601. ../drivers/media/huawei/camera/sensor/ois/hwois.c:232:21: note: in expansion of macro ‘Intf2Hwois’
  4602. hw_ois_t* hw_ois = Intf2Hwois(intf);
  4603. ^
  4604. ../include/linux/kernel.h:842:48: warning: (near initialization for ‘hw_ois’)
  4605. const typeof( ((type *)0)->member ) *__mptr = (ptr); \
  4606. ^
  4607. ../drivers/media/huawei/camera/sensor/ois/hwois.c:228:24: note: in expansion of macro ‘container_of’
  4608. #define Intf2Hwois(si) container_of(si, hw_ois_t, intf)
  4609. ^
  4610. ../drivers/media/huawei/camera/sensor/ois/hwois.c:232:21: note: in expansion of macro ‘Intf2Hwois’
  4611. hw_ois_t* hw_ois = Intf2Hwois(intf);
  4612. ^
  4613. LD drivers/media/huawei/camera/hisp/hisp150/built-in.o
  4614. CC drivers/hisi/modem/oam/lt/../lt/acore/debug/msp_debug.o
  4615. CC drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711h.o
  4616. LD drivers/media/huawei/camera/hisp/built-in.o
  4617. CC drivers/media/huawei/camera/platform/hi3660/sensor/hi843.o
  4618. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/ipcp.o
  4619. CC drivers/hisi/modem/oam/gu/../gu/comm/si/pbapi.o
  4620. CC drivers/hisi/modem/oam/gu/../gu/comm/si/pbmsg.o
  4621. CC drivers/hisi/modem/drv/pm_om/pm_om_platform.o
  4622. CC drivers/md/dm-bufio.o
  4623. CC drivers/hisi/modem/oam/lt/../lt/comm/list/blist.o
  4624. LD drivers/media/huawei/camera/hjpeg/hjpeg150/built-in.o
  4625. CC drivers/hisi/modem/oam/gu/../gu/comm/si/pbdata.o
  4626. CC drivers/hid/hid-roccat-common.o
  4627. CC drivers/hisi/tzdriver/libhwsecurec/strcpy_s.o
  4628. CC drivers/hisi/modem/drv/reset/reset_balong.o
  4629. CC drivers/hisi/modem/oam/gu/../gu/comm/si/stkapi.o
  4630. LD drivers/media/huawei/camera/hjpeg/built-in.o
  4631. LD drivers/hisi/mntn/blackbox/platform_ap/built-in.o
  4632. CC drivers/mmc/core/pwrseq_simple.o
  4633. CC drivers/media/huawei/camera/sensor/vcm/ad5823.o
  4634. CC drivers/hid/hid-roccat-arvo.o
  4635. CC drivers/media/huawei/camera/sensor/vcm/ad5816.o
  4636. CC drivers/hisi/modem/drv/nvim/nv_comm.o
  4637. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711.c:32:0:
  4638. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  4639. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  4640. int ret = 0;
  4641. ^
  4642. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711.c:32:0:
  4643. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  4644. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  4645. int ret = 0;
  4646. ^
  4647. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_cfg80211.h:31:0,
  4648. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfgvendor.c:50:
  4649. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
  4650. #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
  4651. ^
  4652. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfgvendor.c:37:0:
  4653. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
  4654. #define strnicmp strncasecmp
  4655. ^
  4656. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711.c:32:0:
  4657. ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711.c: At top level:
  4658. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  4659. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  4660. ^
  4661. CC drivers/media/huawei/camera/platform/hi3660/sensor/hi843_duke.o
  4662. CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_errorlog.o
  4663. CC drivers/hisi/modem/oam/lt/../lt/acore/cpm/cpm.o
  4664. In file included from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/../../../huawei_touchscreen_chips.h:11:0,
  4665. from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsIO.c:36:
  4666. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  4667. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  4668. ^
  4669. CC drivers/hisi/modem/oam/lt/../lt/acore/ppm/OmHsicPpm.o
  4670. CC drivers/hisi/modem/oam/lt/../lt/acore/ppm/OmCommonPpm.o
  4671. CC drivers/hisi/modem/drv/onoff/power_on.o
  4672. LD drivers/huawei_platform/power/charger/charger_ap/direct_charger/built-in.o
  4673. CC drivers/hisi/modem/drv/nvim/nv_base.o
  4674. CC drivers/media/huawei/camera/platform/hi3660/sensor/ov8856_duke.o
  4675. CC drivers/hisi/modem/drv/nvim/nv_cust.o
  4676. CC drivers/hisi/modem/taf/comm/src/acore/CSD/Src/CsdUpLink.o
  4677. In file included from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/../../../huawei_touchscreen_chips.h:11:0,
  4678. from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.h:2,
  4679. from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:8:
  4680. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  4681. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  4682. ^
  4683. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘computeAdjHoriz’:
  4684. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:47:3: warning: ' ' flag used with ‘%X’ gnu_printf format [-Wformat=]
  4685. TS_LOG_ERR("%s computeAdjHoriz: ERROR % 02X\n", __func__, ERROR_OP_NOT_ALLOW);
  4686. ^
  4687. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘computeAdjHorizTotal’:
  4688. LD drivers/huawei_platform/power/charger/charger_ap/built-in.o
  4689. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:78:3: warning: ' ' flag used with ‘%X’ gnu_printf format [-Wformat=]
  4690. TS_LOG_ERR("%s computeAdjHorizTotal: ERROR % 02X\n", __func__, ERROR_OP_NOT_ALLOW);
  4691. ^
  4692. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘computeAdjVert’:
  4693. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:109:3: warning: ' ' flag used with ‘%X’ gnu_printf format [-Wformat=]
  4694. TS_LOG_ERR("%s computeAdjVert: ERROR % 02X\n", __func__, ERROR_OP_NOT_ALLOW);
  4695. ^
  4696. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘computeAdjVertTotal’:
  4697. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:139:3: warning: ' ' flag used with ‘%X’ gnu_printf format [-Wformat=]
  4698. TS_LOG_ERR("%s computeAdjVertTotal: ERROR % 02X\n", __func__, ERROR_OP_NOT_ALLOW);
  4699. ^
  4700. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘production_test_initialization’:
  4701. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:494:6: warning: unused variable ‘eventToSearch’ [-Wunused-variable]
  4702. int eventToSearch[2] = { EVENTID_STATUS_UPDATE, EVENT_TYPE_FULL_INITIALIZATION};
  4703. ^
  4704. CC drivers/huawei_platform/usb/pd/richtek/tcpci_core.o
  4705. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:493:5: warning: unused variable ‘readData’ [-Wunused-variable]
  4706. u8 readData[FIFO_EVENT_SIZE];
  4707. ^
  4708. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:492:5: warning: unused variable ‘cmd’ [-Wunused-variable]
  4709. u8 cmd;
  4710. ^
  4711. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘print_data_u8’:
  4712. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:580:6: warning: unused variable ‘count’ [-Wunused-variable]
  4713. int count = 0;
  4714. ^
  4715. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘copy_data_from_csv’:
  4716. CC drivers/mmc/core/pwrseq_emmc.o
  4717. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:603:6: warning: unused variable ‘count’ [-Wunused-variable]
  4718. int count = 0;
  4719. ^
  4720. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘print_data_s16’:
  4721. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:669:6: warning: unused variable ‘count’ [-Wunused-variable]
  4722. int count = 0;
  4723. ^
  4724. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘print_data_u16’:
  4725. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:692:6: warning: unused variable ‘count’ [-Wunused-variable]
  4726. int count = 0;
  4727. ^
  4728. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘st_fill_rawdata_buf’:
  4729. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:718:6: warning: unused variable ‘strength_rows’ [-Wunused-variable]
  4730. int strength_rows = 0;
  4731. ^
  4732. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:717:6: warning: unused variable ‘mutual_rows’ [-Wunused-variable]
  4733. int mutual_rows = 0;
  4734. ^
  4735. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘st_get_rawdata_test’:
  4736. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:814:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4737. TestToDo todoDefault;//struct used for defining which test perform during the production test
  4738. ^
  4739. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:960:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__kernel_size_t’ [-Wformat=]
  4740. TS_LOG_INFO("result size is %d, sensor_len is %d, force_len is %d\n", strlen(info->result), sensor_len, force_len);
  4741. ^
  4742. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘production_test_ms_raw’:
  4743. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1163:13: warning: unused variable ‘tcolumns’ [-Wunused-variable]
  4744. int trows, tcolumns;
  4745. ^
  4746. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1163:6: warning: unused variable ‘trows’ [-Wunused-variable]
  4747. int trows, tcolumns;
  4748. ^
  4749. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘production_test_ms_cx’:
  4750. LD drivers/hisi/mntn/blackbox/platform_hifi/built-in.o
  4751. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1269:13: warning: unused variable ‘tcolumns’ [-Wunused-variable]
  4752. int trows, tcolumns;
  4753. ^
  4754. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1269:6: warning: unused variable ‘trows’ [-Wunused-variable]
  4755. int trows, tcolumns;
  4756. ^
  4757. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘production_test_ss_raw’:
  4758. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1374:13: warning: unused variable ‘tcolumns’ [-Wunused-variable]
  4759. int trows, tcolumns;
  4760. ^
  4761. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1374:6: warning: unused variable ‘trows’ [-Wunused-variable]
  4762. int trows, tcolumns;
  4763. ^
  4764. CC drivers/huawei_platform/usb/pd/richtek/tcpci_typec.o
  4765. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘production_test_ss_ix_cx’:
  4766. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1644:30: warning: passing argument 1 of ‘checkLimitsMinMaxU16’ from incompatible pointer type
  4767. ret = checkLimitsMinMaxU16(ssCompData.cx2_fm, ssCompData.header.force_node, 1, thresholds[0], thresholds[1]); //check the values with thresholds
  4768. ^
  4769. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:193:5: note: expected ‘short unsigned int *’ but argument is of type ‘unsigned char *’
  4770. int checkLimitsMinMaxU16(u16 *data, int row, int column, int min, int max)
  4771. ^
  4772. LD drivers/hisi/mntn/blackbox/built-in.o
  4773. CC drivers/hisi/modem/taf/comm/src/acore/CSD/Src/CsdInit.o
  4774. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1717:72: warning: passing argument 4 of ‘checkLimitsMapTotal’ makes pointer from integer without a cast
  4775. ret = checkLimitsMapTotal(total_cx, 1, ssCompData.header.sense_node, thresholds[0], thresholds[1]); //check the values with thresholds
  4776. ^
  4777. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:366:5: note: expected ‘int *’ but argument is of type ‘int’
  4778. int checkLimitsMapTotal(u16 *data, int row, int column, int *min, int *max)
  4779. ^
  4780. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1717:87: warning: passing argument 5 of ‘checkLimitsMapTotal’ makes pointer from integer without a cast
  4781. ret = checkLimitsMapTotal(total_cx, 1, ssCompData.header.sense_node, thresholds[0], thresholds[1]); //check the values with thresholds
  4782. ^
  4783. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:366:5: note: expected ‘int *’ but argument is of type ‘int’
  4784. int checkLimitsMapTotal(u16 *data, int row, int column, int *min, int *max)
  4785. ^
  4786. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1486:13: warning: unused variable ‘tcolumns’ [-Wunused-variable]
  4787. int trows, tcolumns;
  4788. ^
  4789. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1486:6: warning: unused variable ‘trows’ [-Wunused-variable]
  4790. int trows, tcolumns;
  4791. ^
  4792. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘production_test_data’:
  4793. ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1767:11: warning: unused variable ‘todoDefault’ [-Wunused-variable]
  4794. TestToDo todoDefault;
  4795. ^
  4796. CC drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_callbacks.o
  4797. In file included from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/../../../huawei_touchscreen_chips.h:11:0,
  4798. from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTool.c:30:
  4799. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  4800. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  4801. ^
  4802. CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicCtx.o
  4803. In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../platform.h:56:0,
  4804. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm.h:35,
  4805. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_callbacks.c:32:
  4806. ../include/linux/kernel.h:32:0: warning: "U8_MAX" redefined
  4807. #define U8_MAX ((u8)~0U)
  4808. ^
  4809. In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../platform.h:55:0,
  4810. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm.h:35,
  4811. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_callbacks.c:32:
  4812. ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../../Platform_Linux/FSCTypes.h:34:0: note: this is the location of the previous definition
  4813. #define U8_MAX ((__u8)~0U)
  4814. ^
  4815. LD drivers/huawei_platform/power/charger/built-in.o
  4816. LD drivers/huawei_platform/usb/typec/fusb301/built-in.o
  4817. CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicEntity.o
  4818. LD drivers/media/huawei/camera/sensor/ois/built-in.o
  4819. CC drivers/md/dm-bio-prison.o
  4820. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_debug_linux.o
  4821. LD drivers/hisi/noc/built-in.o
  4822. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
  4823. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfgvendor.c:81:
  4824. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
  4825. #ifndef _DRIVER_REGISTER.H
  4826. ^
  4827. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
  4828. #define _DRIVER_REGISTER.H
  4829. ^
  4830. LD drivers/hisi/mntn/built-in.o
  4831. CC drivers/media/huawei/camera/laser/vl53l0_stf.o
  4832. CC drivers/huawei_platform/usb/typec/pericom30216/pericom30216.o
  4833. CC drivers/media/huawei/camera/laser/gp2ap0xvt_stf.o
  4834. CC drivers/hisi/modem/drv/pm_om/pm_om_debug.o
  4835. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/link.o
  4836. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.o
  4837. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/lcp.o
  4838. CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicInit.o
  4839. LD drivers/huawei_platform/power/built-in.o
  4840. CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicProcMsg.o
  4841. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi_freq_ctrl.o
  4842. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_debug_otp_fs_write.part.28’:
  4843. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:22436:1: warning: the frame size of 2608 bytes is larger than 2048 bytes [-Wframe-larger-than=]
  4844. }
  4845. ^
  4846. CC lib/ratelimit.o
  4847. CC lib/rbtree.o
  4848. CC drivers/md/dm-crypt.o
  4849. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.o
  4850. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_debug_otp_fs_read.part.29’:
  4851. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:22488:1: warning: the frame size of 8224 bytes is larger than 2048 bytes [-Wframe-larger-than=]
  4852. }
  4853. ^
  4854. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711h.c:39:0:
  4855. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  4856. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  4857. int ret = 0;
  4858. ^
  4859. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711h.c:39:0:
  4860. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  4861. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  4862. int ret = 0;
  4863. ^
  4864. CC drivers/hisi/modem/oam/lt/../lt/acore/ppm/OmSocketPpm.o
  4865. CC drivers/md/dm-cache-target.o
  4866. CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicTimerMgmt.o
  4867. LD drivers/huawei_platform/oases/sign/built-in.o
  4868. CC drivers/hisi/tzdriver/libhwsecurec/strncpy_s.o
  4869. CC drivers/hisi/tzdriver/libhwsecurec/memmove_s.o
  4870. LD drivers/huawei_platform/oases/built-in.o
  4871. CC drivers/hisi/tzdriver/libhwsecurec/strcat_s.o
  4872. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711h.c:39:0:
  4873. ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711h.c: At top level:
  4874. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  4875. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  4876. ^
  4877. ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711h.c:97:13: warning: ‘rt1711h_wake_lock’ defined but not used [-Wunused-function]
  4878. static void rt1711h_wake_lock(struct rt1711_chip* chip)
  4879. ^
  4880. ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711h.c:108:13: warning: ‘rt1711h_wake_unlock’ defined but not used [-Wunused-function]
  4881. static void rt1711h_wake_unlock(struct rt1711_chip* chip)
  4882. ^
  4883. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/pap.o
  4884. CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicDebug.o
  4885. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/ppp_fsm.o
  4886. CC drivers/md/dm-cache-metadata.o
  4887. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie_linux.o
  4888. rm drivers/huawei_platform/oases/inlinehook_subfunc_post.oas drivers/huawei_platform/oases/inlinehook_func_post.oas drivers/huawei_platform/oases/inlinehook_func_pre_post.oas drivers/huawei_platform/oases/inlinehook_subfunc_pre.oas drivers/huawei_platform/oases/inlinehook_func_pre.oas
  4889. CC drivers/md/persistent-data/dm-array.o
  4890. CC drivers/md/dm-cache-policy.o
  4891. CC drivers/hisi/modem/oam/lt/../lt/acore/ppm/OmUsbPpm.o
  4892. CC drivers/md/persistent-data/dm-bitset.o
  4893. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:21:0:
  4894. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  4895. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  4896. int ret = 0;
  4897. ^
  4898. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:21:0:
  4899. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  4900. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  4901. int ret = 0;
  4902. ^
  4903. CC drivers/hisi/modem/oam/lt/../lt/acore/ppm/OmVcomPpm.o
  4904. CC drivers/mmc/core/emmc-rpmb.o
  4905. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_debug.c:374:1: warning: ‘dhd_dbg_msgtrace_msg_parser’ defined but not used [-Wunused-function]
  4906. {
  4907. ^
  4908. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_debug.c:430:1: warning: ‘dhd_dbg_custom_evnt_handler’ defined but not used [-Wunused-function]
  4909. {
  4910. ^
  4911. LD drivers/huawei_platform/usb/switch/switch_ap/built-in.o
  4912. CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicDemandDialFileIO.o
  4913. LD drivers/huawei_platform/usb/switch/built-in.o
  4914. CC drivers/hisi/modem/oam/lt/../lt/comm/scm/SCMProc.o
  4915. CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicDev.o
  4916. CC drivers/mmc/core/hisi_cmdq_core.o
  4917. CC drivers/hisi/modem/drv/nvim/nv_xml_dec.o
  4918. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_core.c:26:0:
  4919. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  4920. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  4921. int ret = 0;
  4922. ^
  4923. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_core.c:26:0:
  4924. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  4925. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  4926. int ret = 0;
  4927. ^
  4928. ../drivers/huawei_platform/usb/pd/richtek/tcpci_core.c: In function ‘pd_dpm_wake_lock_call’:
  4929. CC drivers/media/huawei/camera/platform/hi3660/sensor/ov8856_stf.o
  4930. CC drivers/media/huawei/camera/platform/hi3660/sensor/hi843_stf.o
  4931. CC drivers/huawei_platform/usb/pd/richtek/tcpci_alert.o
  4932. ../drivers/huawei_platform/usb/pd/richtek/tcpci_core.c:390:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  4933. pr_info("%s unknown event (%d)\n", __func__, event);
  4934. ^
  4935. ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c: In function ‘tcpc_pd_dpm_get_hw_dock_svid_exist’:
  4936. ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:2433:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4937. struct tcpc_device* tcpc_dev = ((struct tcpc_device*)client);
  4938. ^
  4939. ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:2430:6: warning: unused variable ‘ret’ [-Wunused-variable]
  4940. int ret;
  4941. ^
  4942. ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c: In function ‘tcpc_pd_dpm_set_voltage’:
  4943. ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:2446:9: warning: missing braces around initializer [-Wmissing-braces]
  4944. struct local_sink_cap sink_cap_info[TCPM_PDO_MAX_SIZE] = {0};
  4945. ^
  4946. ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:2446:9: warning: (near initialization for ‘sink_cap_info[0]’) [-Wmissing-braces]
  4947. ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c: At top level:
  4948. ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:2485:40: warning: initialization from incompatible pointer type
  4949. .pd_dpm_notify_direct_charge_status = tcpm_typec_notify_direct_charge,
  4950. ^
  4951. CC drivers/huawei_platform/usb/pd/richtek/tcpci_timer.o
  4952. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_core.c:26:0:
  4953. ../drivers/huawei_platform/usb/pd/richtek/tcpci_core.c: At top level:
  4954. ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:2485:40: warning: (near initialization for ‘tcpc_device_pd_dpm_ops.pd_dpm_notify_direct_charge_status’)
  4955. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  4956. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  4957. ^
  4958. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/ppp_mbuf.o
  4959. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:21:0:
  4960. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  4961. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  4962. ^
  4963. ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c: In function ‘tcpc_typec_notify_direct_charge’:
  4964. ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:2306:1: warning: control reaches end of non-void function [-Wreturn-type]
  4965. }
  4966. ^
  4967. CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicSndMsg.o
  4968. CC lib/seq_buf.o
  4969. CC drivers/huawei_platform/touthscreen/huawei_touchscreen_algo.o
  4970. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.o
  4971. CC drivers/hisi/modem/drv/nvim/nv_debug.o
  4972. CC drivers/huawei_platform/usb/typec/ptn5150h/ptn5150h.o
  4973. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx286dual.o
  4974. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_flowring.o
  4975. CC drivers/hid/hid-roccat-isku.o
  4976. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx286hybird.o
  4977. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi_freq_ctrl.c: In function ‘get_rate_freq_data_from_dts’:
  4978. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi_freq_ctrl.c:546:33: warning: passing argument 4 of ‘of_property_read_u32_index’ from incompatible pointer type
  4979. &(p_table[i].speed_level));
  4980. ^
  4981. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi_freq_ctrl.c:17:0:
  4982. ../include/linux/of.h:292:12: note: expected ‘u32 *’ but argument is of type ‘long unsigned int *’
  4983. extern int of_property_read_u32_index(const struct device_node *np,
  4984. ^
  4985. CC drivers/md/dm-cache-policy-smq.o
  4986. CC drivers/mmc/core/hisi_core_mmc.o
  4987. CC drivers/huawei_platform/usb/pd/ti/tcpci.o
  4988. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/ppp_public.o
  4989. CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/pcie_core.o
  4990. CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/Taf_MmiStrParse.o
  4991. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx286dual_cmb.o
  4992. LD drivers/huawei_platform/touthscreen/panel/atmel/built-in.o
  4993. CC drivers/hisi/modem/oam/gu/../gu/comm/si/pihapi.o
  4994. In file included from ../drivers/huawei_platform/touthscreen/huawei_touchscreen_chips.h:11:0,
  4995. from ../drivers/huawei_platform/touthscreen/huawei_touchscreen_algo.h:3,
  4996. from ../drivers/huawei_platform/touthscreen/huawei_touchscreen_algo.c:1:
  4997. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  4998. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  4999. ^
  5000. CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/MnMsgDecode.o
  5001. CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/TafApsApi.o
  5002. CC drivers/hisi/modem/drv/nvim/nv_crc.o
  5003. LD drivers/mmc/core/mmc_core.o
  5004. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx286dual_duke.o
  5005. CC drivers/hisi/modem/drv/pm_om/bsp_ring_buffer.o
  5006. CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/TafMtcApi.o
  5007. CC drivers/huawei_platform/usb/typec/tusb320/tusb320.o
  5008. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx386hybird.o
  5009. CC drivers/hisi/tzdriver/libhwsecurec/strncat_s.o
  5010. CC drivers/hisi/modem/drv/onoff/power_off.o
  5011. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/pppid.o
  5012. CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/TafMmaApi.o
  5013. LD drivers/media/huawei/camera/sensor/vcm/built-in.o
  5014. CC drivers/huawei_platform/usb/pd/ti/tusb422.o
  5015. CC drivers/huawei_platform/usb/pd/ti/tcpm.o
  5016. CC drivers/hisi/tzdriver/libhwsecurec/strtok_s.o
  5017. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/proto.o
  5018. CC drivers/huawei_platform/usb/pd/ti/tusb422_common.o
  5019. CC lib/sha1.o
  5020. CC lib/show_mem.o
  5021. CC drivers/hisi/tzdriver/libhwsecurec/securecutil.o
  5022. CC drivers/huawei_platform/usb/pd/ti/tusb422_linux.o
  5023. CC drivers/md/persistent-data/dm-block-manager.o
  5024. CC drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_config.o
  5025. CC drivers/hisi/modem/oam/lt/../lt/comm/scm/SCMSoftDecode.o
  5026. CC drivers/hisi/modem/drv/nvim/nv_index.o
  5027. CC lib/string.o
  5028. CC drivers/hisi/modem/drv/pm_om/modem_log_linux.o
  5029. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_alert.c:25:0:
  5030. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5031. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5032. int ret = 0;
  5033. ^
  5034. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_alert.c:25:0:
  5035. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5036. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5037. int ret = 0;
  5038. ^
  5039. In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../platform.h:56:0,
  5040. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_config.h:5,
  5041. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_config.c:3:
  5042. ../include/linux/kernel.h:32:0: warning: "U8_MAX" redefined
  5043. #define U8_MAX ((u8)~0U)
  5044. ^
  5045. In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../platform.h:55:0,
  5046. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_config.h:5,
  5047. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_config.c:3:
  5048. ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../../Platform_Linux/FSCTypes.h:34:0: note: this is the location of the previous definition
  5049. #define U8_MAX ((__u8)~0U)
  5050. ^
  5051. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_alert.c:25:0:
  5052. ../drivers/huawei_platform/usb/pd/richtek/tcpci_alert.c: At top level:
  5053. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5054. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5055. ^
  5056. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx386hybird_stf.o
  5057. CC drivers/huawei_platform/usb/pd/richtek/tcpm.o
  5058. CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/TafSsaApi.o
  5059. CC drivers/md/dm-cache-policy-cleaner.o
  5060. CC drivers/huawei_platform/usb/pd/richtek/pd_dbg_info.o
  5061. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_timer.c:29:0:
  5062. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5063. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5064. int ret = 0;
  5065. ^
  5066. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_timer.c:29:0:
  5067. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5068. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5069. int ret = 0;
  5070. ^
  5071. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/throughput.o
  5072. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/hdlc_software.o
  5073. CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/MnCommApi.o
  5074. CC lib/timerqueue.o
  5075. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_timer.c:29:0:
  5076. ../drivers/huawei_platform/usb/pd/richtek/tcpci_timer.c: At top level:
  5077. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5078. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5079. ^
  5080. LD drivers/media/huawei/camera/sensor/flash/built-in.o
  5081. CC lib/vsprintf.o
  5082. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
  5083. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:6:
  5084. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
  5085. #ifndef _DRIVER_REGISTER.H
  5086. ^
  5087. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
  5088. #define _DRIVER_REGISTER.H
  5089. ^
  5090. CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/MnMsgEncode.o
  5091. LD drivers/hisi/modem/drv/psam/built-in.o
  5092. CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/MnMsgCbEncDec.o
  5093. LD drivers/media/huawei/camera/sensor/built-in.o
  5094. LD drivers/huawei_platform/usb/typec/pericom30216/built-in.o
  5095. CC drivers/huawei_platform/usb/pd/richtek/rt-regmap.o
  5096. CC drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/configure.o
  5097. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:8:0:
  5098. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
  5099. #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
  5100. ^
  5101. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:17:0,
  5102. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:6:
  5103. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
  5104. #define strnicmp strncasecmp
  5105. ^
  5106. CC drivers/huawei_platform/usb/pd/richtek/tcpci_event.o
  5107. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/ppp_atcmd.o
  5108. CC drivers/hisi/modem/drv/rfile/rfile_balong.o
  5109. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c: In function ‘dump_ipv6_addr’:
  5110. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:414:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
  5111. HW_PRINT_HI(":%lx:%lx:%lx:%lx\n", ntohs(addr[0]),ntohs(addr[1]),ntohs(addr[2]),ntohs(addr[3]));
  5112. ^
  5113. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:414:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=]
  5114. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:414:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘int’ [-Wformat=]
  5115. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:414:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat=]
  5116. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:415:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
  5117. HW_PRINT_HI(":%lx:%lx:%lx:%lx\n", ntohs(addr[4]),ntohs(addr[5]),ntohs(addr[6]),ntohs(addr[7]));
  5118. ^
  5119. CC drivers/hid/hid-roccat-kone.o
  5120. CC drivers/hisi/tzdriver/libhwsecurec/secureprintoutput_a.o
  5121. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/ppp_init.o
  5122. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:415:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=]
  5123. CC lib/win_minmax.o
  5124. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:415:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘int’ [-Wformat=]
  5125. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:415:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat=]
  5126. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c: In function ‘get_next_ipv6_chain_header’:
  5127. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:424:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  5128. uint16_t next_header_offset = 0;
  5129. ^
  5130. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c: In function ‘hw_counters_hex_dump’:
  5131. CC drivers/hid/hid-roccat-koneplus.o
  5132. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:983:12: warning: unused variable ‘i’ [-Wunused-variable]
  5133. size_t i = 0;
  5134. ^
  5135. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c: In function ‘hw_iovar_int_set’:
  5136. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:1434:7: warning: unused variable ‘data_null’ [-Wunused-variable]
  5137. uint data_null;
  5138. ^
  5139. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c: In function ‘hw_get_filter_pkg_stat’:
  5140. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:1753:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
  5141. HW_PRINT_HI("%s: type=%d, program len=%d\n", __FUNCTION__, filterp->type, WL_APF_PROGRAM_LEN(apf_program));
  5142. ^
  5143. CC drivers/hid/hid-roccat-konepure.o
  5144. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c: At top level:
  5145. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:506:13: warning: ‘get_ipv6_protocal_ports’ defined but not used [-Wunused-function]
  5146. static void get_ipv6_protocal_ports(uint8_t *payload, uint16_t payload_len, uint8_t next_header, uint16_t *src_port, uint16_t *des_port)
  5147. ^
  5148. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx486hybird.o
  5149. CC drivers/huawei_platform/usb/pd/richtek/pd_core.o
  5150. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx486hybirdOisNA.o
  5151. CC drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp.o
  5152. CC drivers/media/huawei/camera/platform/hi3660/sensor/ov12a10hybird.o
  5153. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
  5154. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.c:69:
  5155. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
  5156. #ifndef _DRIVER_REGISTER.H
  5157. ^
  5158. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
  5159. #define _DRIVER_REGISTER.H
  5160. ^
  5161. CC drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp_system_stubs.o
  5162. GEN lib/crc32table.h
  5163. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx258.o
  5164. CC lib/crc32.o
  5165. CC lib/oid_registry.o
  5166. CC drivers/hisi/tzdriver/libhwsecurec/snprintf_s.o
  5167. In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/../../platform.h:56:0,
  5168. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp.h:6,
  5169. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp.c:3:
  5170. ../include/linux/kernel.h:32:0: warning: "U8_MAX" redefined
  5171. #define U8_MAX ((u8)~0U)
  5172. ^
  5173. In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/../../platform.h:55:0,
  5174. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp.h:6,
  5175. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp.c:3:
  5176. ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/../../../Platform_Linux/FSCTypes.h:34:0: note: this is the location of the previous definition
  5177. #define U8_MAX ((__u8)~0U)
  5178. ^
  5179. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.c: In function ‘dhdpcie_downloadvars’:
  5180. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.c:4583:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  5181. char *ce_5g_high_band = NULL;
  5182. ^
  5183. In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/../../platform.h:56:0,
  5184. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp_system_stubs.c:3:
  5185. ../include/linux/kernel.h:32:0: warning: "U8_MAX" redefined
  5186. #define U8_MAX ((u8)~0U)
  5187. ^
  5188. In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/../../platform.h:55:0,
  5189. from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp_system_stubs.c:3:
  5190. ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/../../../Platform_Linux/FSCTypes.h:34:0: note: this is the location of the previous definition
  5191. #define U8_MAX ((__u8)~0U)
  5192. ^
  5193. ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp.c: In function ‘requestDpConfig’:
  5194. ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp.c:253:10: warning: unused variable ‘fsc_polarity’ [-Wunused-variable]
  5195. bool fsc_polarity = FALSE;
  5196. ^
  5197. CC drivers/hisi/tzdriver/libhwsecurec/output.o
  5198. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.c: In function ‘dhdpcie_cc_nvmshadow’:
  5199. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.c:5686:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
  5200. return;
  5201. ^
  5202. LD drivers/media/huawei/camera/pmic/built-in.o
  5203. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.c: In function ‘hw_check_var’:
  5204. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.c:6298:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  5205. uint i=0;
  5206. ^
  5207. CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine.o
  5208. CC drivers/hisi/tzdriver/libhwsecurec/vsnprintf_s.o
  5209. LD drivers/hisi/modem/drv/reset/built-in.o
  5210. CC drivers/huawei_platform/usb/pd/richtek/pd_process_evt.o
  5211. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.c: At top level:
  5212. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.c:3404:1: warning: ‘pcie2_mdioop’ defined but not used [-Wunused-function]
  5213. pcie2_mdioop(dhd_bus_t *bus, uint physmedia, uint regaddr, bool write, uint *val,
  5214. ^
  5215. LD drivers/media/huawei/camera/laser/built-in.o
  5216. CC drivers/hid/hid-roccat-kovaplus.o
  5217. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
  5218. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie_linux.c:77:
  5219. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
  5220. #ifndef _DRIVER_REGISTER.H
  5221. ^
  5222. CC drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.o
  5223. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
  5224. #define _DRIVER_REGISTER.H
  5225. ^
  5226. ../drivers/huawei_platform/usb/pd/ti/tusb422_linux.c: In function ‘pd_dpm_wake_lock_call’:
  5227. ../drivers/huawei_platform/usb/pd/ti/tusb422_linux.c:1208:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  5228. PRINT("%s - unknown event: %d\n", __func__, event);
  5229. ^
  5230. CC drivers/hisi/modem/drv/s_memory/s_memory.o
  5231. CC drivers/media/huawei/camera/platform/hi3660/sensor/ov8856_sht.o
  5232. CC drivers/media/huawei/camera/platform/hi3660/sensor/ov13855.o
  5233. In file included from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.h:21:0,
  5234. from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:31:
  5235. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  5236. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  5237. ^
  5238. CC drivers/hisi/modem/drv/nvim/nv_partition_upgrade.o
  5239. CC drivers/media/huawei/camera/platform/hi3660/sensor/hi846.o
  5240. CC drivers/media/huawei/camera/platform/hi3660/sensor/gc2375_hwi.o
  5241. CC drivers/huawei_platform/usb/pd/ti/tusb422_linux_dual_role.o
  5242. CC drivers/media/huawei/camera/platform/hi3660/sensor/hi259b_hwi.o
  5243. CC drivers/md/persistent-data/dm-space-map-common.o
  5244. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpm.c:19:0:
  5245. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5246. CC drivers/media/huawei/camera/platform/hi3660/sensor/ov20880_hwi.o
  5247. CC drivers/hid/hid-roccat-lua.o
  5248. CC drivers/huawei_platform/usb/pd/ti/usb_pd_policy_engine.o
  5249. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5250. int ret = 0;
  5251. ^
  5252. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpm.c:19:0:
  5253. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5254. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5255. int ret = 0;
  5256. ^
  5257. CC drivers/huawei_platform/usb/pd/ti/usb_pd_policy_manager.o
  5258. CC drivers/md/persistent-data/dm-space-map-disk.o
  5259. In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpm.c:19:0:
  5260. ../drivers/huawei_platform/usb/pd/richtek/tcpm.c: At top level:
  5261. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5262. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5263. ^
  5264. CC drivers/huawei_platform/usb/pd/ti/usb_pd_protocol.o
  5265. LD drivers/hisi/modem/ps/tl/tlps.o
  5266. CC drivers/huawei_platform/usb/pd/richtek/pd_dpm_uvdm.o
  5267. CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/hi_list.o
  5268. CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/TafStdlib.o
  5269. LD drivers/hisi/modem/ps/tl/built-in.o
  5270. In file included from ../include/huawei_platform/usb/pd/richtek/tcpci_typec.h:17:0,
  5271. from ../drivers/huawei_platform/usb/pd/richtek/tcpci_event.c:29:
  5272. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5273. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5274. int ret = 0;
  5275. ^
  5276. In file included from ../include/huawei_platform/usb/pd/richtek/tcpci_typec.h:17:0,
  5277. from ../drivers/huawei_platform/usb/pd/richtek/tcpci_event.c:29:
  5278. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5279. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5280. int ret = 0;
  5281. ^
  5282. CC drivers/huawei_platform/usb/pd/richtek/pd_dpm_alt_mode_dp.o
  5283. CC drivers/hisi/modem/drv/onoff/bsp_modem_boot.o
  5284. LD drivers/md/dm-mod.o
  5285. ../drivers/huawei_platform/usb/pd/richtek/tcpci_event.c: In function ‘pd_put_vdm_event’:
  5286. ../drivers/huawei_platform/usb/pd/richtek/tcpci_event.c:306:12: warning: unused variable ‘pd_msg_prev’ [-Wunused-variable]
  5287. pd_msg_t *pd_msg_prev = tcpc_dev->pd_vdm_event.pd_msg;
  5288. ^
  5289. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_flowring.c: In function ‘dhd_flowid_find’:
  5290. CC drivers/hisi/modem/drv/sec_call/sec_call.o
  5291. CC drivers/huawei_platform/usb/pd/richtek/pd_process_evt_snk.o
  5292. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_flowring.c:509:5: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
  5293. return;
  5294. ^
  5295. In file included from ../include/huawei_platform/usb/pd/richtek/tcpci_typec.h:17:0,
  5296. from ../drivers/huawei_platform/usb/pd/richtek/tcpci_event.c:29:
  5297. ../drivers/huawei_platform/usb/pd/richtek/tcpci_event.c: At top level:
  5298. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5299. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5300. ^
  5301. CC drivers/md/persistent-data/dm-space-map-metadata.o
  5302. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/ppp_input.o
  5303. CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/GuNasLogFilter.o
  5304. CC drivers/hisi/modem/drv/nvim/nv_partition_img.o
  5305. CC drivers/hisi/modem/taf/comm/src/acore/TAFAGENT/Src/TafAgent.o
  5306. CC drivers/huawei_platform/touthscreen/huawei_touchscreen_csvparse.o
  5307. CC drivers/hisi/modem/drv/sim_hotplug/hisi_sim_hotplug.o
  5308. CC drivers/hisi/modem/drv/nvim/nv_partition_bakup.o
  5309. CC drivers/hisi/modem/taf/comm/src/acore/TAFAGENT/Src/TafAgentCtx.o
  5310. CC drivers/huawei_platform/touthscreen/tp_color.o
  5311. CC drivers/huawei_platform/usb/pd/richtek/pd_process_evt_src.o
  5312. CC drivers/hid/hid-roccat-pyra.o
  5313. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx376_hwi.o
  5314. CC drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vdm.o
  5315. ../drivers/hisi/tzdriver/libhwsecurec/output.c: In function ‘securec_output_s’:
  5316. ../drivers/hisi/tzdriver/libhwsecurec/output.c:824:1: warning: label ‘FILL_STRING_BUFFER’ defined but not used [-Wunused-label]
  5317. FILL_STRING_BUFFER:
  5318. ^
  5319. ../drivers/hisi/tzdriver/libhwsecurec/output.c:165:6: warning: unused variable ‘bufferSize’ [-Wunused-variable]
  5320. int bufferSize = 0; /* size of text.sz */
  5321. ^
  5322. ../drivers/hisi/tzdriver/libhwsecurec/output.c: At top level:
  5323. ../drivers/hisi/tzdriver/libhwsecurec/output.c:63:12: warning: ‘indirectSprintf’ defined but not used [-Wunused-function]
  5324. static int indirectSprintf(char *strDest, const char *format, ...)
  5325. ^
  5326. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtBasicCmd.o
  5327. CC drivers/huawei_platform/usb/pd/richtek/pd_process_evt_drs.o
  5328. CC drivers/hisi/modem/drv/nvim/nv_factory_check.o
  5329. CC drivers/huawei_platform/usb/pd/ti/usb_pd_pal.o
  5330. ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp_system_stubs.c: In function ‘informStatus’:
  5331. ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp_system_stubs.c:33:9: warning: unused variable ‘ret’ [-Wunused-variable]
  5332. int ret = 0;
  5333. ^
  5334. ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp_system_stubs.c: At top level:
  5335. ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp_system_stubs.c:11:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5336. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5337. ^
  5338. In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_core.c:20:0:
  5339. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5340. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5341. int ret = 0;
  5342. ^
  5343. In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_core.c:20:0:
  5344. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5345. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5346. int ret = 0;
  5347. ^
  5348. ../drivers/huawei_platform/usb/pd/richtek/pd_core.c: In function ‘dpm_alt_mode_parse_svid_data’:
  5349. ../drivers/huawei_platform/usb/pd/richtek/pd_core.c:212:3: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Wformat=]
  5350. snprintf(buf, sizeof(buf), "the connect mode is %s.\n", pd_port->dp_second_connected);
  5351. ^
  5352. CC drivers/md/persistent-data/dm-transaction-manager.o
  5353. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCheckFunc.o
  5354. CC drivers/huawei_platform/usb/pd/richtek/pd_process_evt_prs.o
  5355. ../drivers/huawei_platform/usb/pd/richtek/pd_core.c: In function ‘pd_send_hard_reset’:
  5356. ../drivers/huawei_platform/usb/pd/richtek/pd_core.c:784:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5357. int ret;
  5358. ^
  5359. In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_core.c:20:0:
  5360. ../drivers/huawei_platform/usb/pd/richtek/pd_core.c: At top level:
  5361. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5362. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5363. ^
  5364. CC drivers/media/huawei/camera/platform/hi3660/sensor/imx498hybird.o
  5365. CC drivers/hisi/modem/drv/socp/socp_balong.o
  5366. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
  5367. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c:55:
  5368. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
  5369. #ifndef _DRIVER_REGISTER.H
  5370. ^
  5371. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
  5372. #define _DRIVER_REGISTER.H
  5373. ^
  5374. CC drivers/media/huawei/camera/platform/hi3660/sensor/ov16b10hybird.o
  5375. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c: In function ‘dhd_pktid_map_avail_cnt’:
  5376. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c:1642:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
  5377. return;
  5378. ^
  5379. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c: In function ‘__dhd_pktid_map_reserve’:
  5380. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c:1669:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
  5381. return;
  5382. ^
  5383. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c: In function ‘dhd_pktid_map_free’:
  5384. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c:1825:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
  5385. return;
  5386. ^
  5387. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c: At top level:
  5388. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c:2084:0: warning: "H2DRING_PREALLOC_SIZE" redefined
  5389. #define H2DRING_PREALLOC_SIZE (H2DRING_TXPOST_MAX_ITEM * H2DRING_TXPOST_ITEMSIZE * 40)
  5390. ^
  5391. <command-line>:0:0: note: this is the location of the previous definition
  5392. CC drivers/hisi/modem/drv/socp/socp_api_test.o
  5393. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c: In function ‘dhd_prot_ring_attach’:
  5394. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c:4651:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
  5395. return;
  5396. ^
  5397. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5398. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine.c:18:
  5399. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5400. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5401. int ret = 0;
  5402. ^
  5403. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c: In function ‘dhd_prot_flowrings_pool_fetch’:
  5404. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c:5030:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
  5405. return;
  5406. ^
  5407. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5408. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine.c:18:
  5409. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5410. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5411. int ret = 0;
  5412. ^
  5413. CC drivers/hid/hid-roccat-ryos.o
  5414. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5415. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine.c:18:
  5416. ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine.c: At top level:
  5417. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5418. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5419. ^
  5420. CC drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vcs.o
  5421. CC drivers/md/persistent-data/dm-btree.o
  5422. In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_alt_mode_dp.c:19:0:
  5423. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5424. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5425. int ret = 0;
  5426. ^
  5427. ../drivers/hisi/tzdriver/libhwsecurec/output.c: In function ‘securec_output_s’:
  5428. ../drivers/hisi/tzdriver/libhwsecurec/output.c:30:22: warning: ‘retval’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  5429. #define write_string write_string_a
  5430. ^
  5431. ../drivers/hisi/tzdriver/libhwsecurec/output.c:828:10: note: ‘retval’ was declared here
  5432. int retval;
  5433. ^
  5434. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdFtmProc.o
  5435. In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_alt_mode_dp.c:19:0:
  5436. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5437. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5438. int ret = 0;
  5439. ^
  5440. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/NFEXT/IpsMntn.o
  5441. In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:19:0:
  5442. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5443. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5444. int ret = 0;
  5445. ^
  5446. In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:19:0:
  5447. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5448. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5449. int ret = 0;
  5450. ^
  5451. LD drivers/huawei_platform/usb/typec/ptn5150h/built-in.o
  5452. In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_alt_mode_dp.c:19:0:
  5453. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_alt_mode_dp.c: At top level:
  5454. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5455. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt.c:19:
  5456. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5457. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5458. int ret = 0;
  5459. ^
  5460. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5461. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt.c:19:
  5462. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5463. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5464. int ret = 0;
  5465. ^
  5466. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5467. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5468. ^
  5469. LD drivers/huawei_platform/usb/pd/fsc/fusb30x_whole.o
  5470. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5471. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt.c:19:
  5472. ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt.c: At top level:
  5473. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5474. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5475. ^
  5476. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/NFEXT/NetfilterEx.o
  5477. LD drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/built-in.o
  5478. CC drivers/hid/hid-roccat-savu.o
  5479. In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:19:0:
  5480. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c: At top level:
  5481. LD drivers/huawei_platform/usb/pd/fsc/built-in.o
  5482. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5483. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5484. ^
  5485. LD drivers/huawei_platform/touthscreen/panel/st/built-in.o
  5486. LD drivers/huawei_platform/usb/typec/tusb320/built-in.o
  5487. LD drivers/huawei_platform/usb/typec/built-in.o
  5488. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/NFEXT/NetfilterExCtrl.o
  5489. CC drivers/huawei_platform/usb/pd/richtek/pd_process_evt_dbg.o
  5490. LD drivers/hisi/modem/drv/pm_om/built-in.o
  5491. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5492. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_snk.c:18:
  5493. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5494. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5495. int ret = 0;
  5496. ^
  5497. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5498. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_snk.c:18:
  5499. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5500. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5501. int ret = 0;
  5502. ^
  5503. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdMsgProc.o
  5504. CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_src.o
  5505. CC drivers/hid/hid-rmi.o
  5506. CC drivers/hisi/modem/taf/comm/src/acore/at/src/ATCmdProc.o
  5507. CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_snk.o
  5508. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5509. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_snk.c:18:
  5510. ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_snk.c: At top level:
  5511. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5512. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5513. ^
  5514. CC drivers/hisi/modem/drv/nvim/nv_msg.o
  5515. CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_vcs.o
  5516. CC drivers/hisi/modem/drv/nvim/nv_proc.o
  5517. CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_ufp.o
  5518. CC drivers/hisi/modem/ps/gu/../comm/comm/acore/HISOCKET/Src/hisocket.o
  5519. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdCallProc.o
  5520. LD drivers/md/dm-cache-cleaner.o
  5521. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c: In function ‘hw_check_chip_otp’:
  5522. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:1944:1: warning: the frame size of 3120 bytes is larger than 2048 bytes [-Wframe-larger-than=]
  5523. }
  5524. ^
  5525. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdSimProc.o
  5526. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdPacketProc.o
  5527. CC drivers/hid/hid-saitek.o
  5528. CC drivers/hid/hid-vr.o
  5529. CC drivers/hid/hid-samsung.o
  5530. In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_uvdm.c:17:0:
  5531. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5532. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5533. int ret = 0;
  5534. ^
  5535. In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_uvdm.c:17:0:
  5536. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5537. ../drivers/huawei_platform/touthscreen/tp_color.c: In function ‘attr_get_tp_color_info’:
  5538. ../drivers/huawei_platform/touthscreen/tp_color.c:244:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5539. int ret = 0;
  5540. ^
  5541. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5542. int ret = 0;
  5543. ^
  5544. In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_uvdm.c:17:0:
  5545. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_uvdm.c: At top level:
  5546. CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dfp.o
  5547. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5548. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5549. ^
  5550. CC drivers/hid/hid-sjoy.o
  5551. CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dr.o
  5552. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdSupsProc.o
  5553. CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_drs.o
  5554. In file included from ../drivers/huawei_platform/touthscreen/huawei_touchscreen_chips.h:11:0,
  5555. from ../drivers/huawei_platform/touthscreen/huawei_touchscreen_csvparse.c:8:
  5556. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  5557. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  5558. ^
  5559. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5560. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_snk.c:18:
  5561. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5562. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5563. int ret = 0;
  5564. ^
  5565. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5566. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_snk.c:18:
  5567. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5568. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5569. int ret = 0;
  5570. ^
  5571. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5572. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_src.c:19:
  5573. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5574. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5575. int ret = 0;
  5576. ^
  5577. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5578. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_src.c:19:
  5579. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5580. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5581. int ret = 0;
  5582. ^
  5583. ../drivers/huawei_platform/touthscreen/huawei_touchscreen_csvparse.c: In function ‘parse_valid_data’:
  5584. ../drivers/huawei_platform/touthscreen/huawei_touchscreen_csvparse.c:48:3: warning: too many arguments for format [-Wformat-extra-args]
  5585. TS_LOG_ERR("%s, ptr is NULL\n", __func__, ptr);
  5586. ^
  5587. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5588. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_snk.c:18:
  5589. ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_snk.c: At top level:
  5590. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5591. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5592. ^
  5593. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5594. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_drs.c:19:
  5595. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5596. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5597. int ret = 0;
  5598. ^
  5599. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5600. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_drs.c:19:
  5601. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5602. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5603. int ret = 0;
  5604. ^
  5605. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5606. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_drs.c:19:
  5607. ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_drs.c: At top level:
  5608. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5609. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_ufp.c:18:
  5610. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5611. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5612. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_src.c:19:
  5613. ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_src.c: At top level:
  5614. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdMiscProc.o
  5615. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5616. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5617. ^
  5618. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5619. int ret = 0;
  5620. ^
  5621. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5622. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_ufp.c:18:
  5623. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5624. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5625. int ret = 0;
  5626. ^
  5627. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5628. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_ufp.c:18:
  5629. ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_ufp.c: At top level:
  5630. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5631. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5632. ^
  5633. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5634. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5635. ^
  5636. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5637. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vdm.c:19:
  5638. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5639. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5640. int ret = 0;
  5641. ^
  5642. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5643. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vdm.c:19:
  5644. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5645. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5646. int ret = 0;
  5647. ^
  5648. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5649. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vdm.c:19:
  5650. ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vdm.c: At top level:
  5651. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5652. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5653. ^
  5654. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5655. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_prs.c:19:
  5656. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5657. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5658. int ret = 0;
  5659. ^
  5660. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5661. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_prs.c:19:
  5662. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5663. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5664. int ret = 0;
  5665. ^
  5666. LD drivers/hisi/modem/drv/sec_call/built-in.o
  5667. CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_prs.o
  5668. CC drivers/hisi/modem/drv/socp/socp_ind_delay.o
  5669. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5670. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_prs.c:19:
  5671. ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_prs.c: At top level:
  5672. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5673. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5674. ^
  5675. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCombinecmd.o
  5676. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtDataProc.o
  5677. CC drivers/hid/hid-sony.o
  5678. CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dbg.o
  5679. LD drivers/hisi/modem/drv/s_memory/built-in.o
  5680. CC drivers/md/persistent-data/dm-btree-remove.o
  5681. CC drivers/hisi/modem/drv/sync/sync_balong.o
  5682. LD drivers/hisi/tzdriver/libhwsecurec/built-in.o
  5683. CC drivers/hid/hid-speedlink.o
  5684. CC drivers/md/persistent-data/dm-btree-spine.o
  5685. LD drivers/hisi/tzdriver/.built-in.o
  5686. CC drivers/hid/hid-steelseries.o
  5687. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtDeviceCmd.o
  5688. CC drivers/hid/hid-sunplus.o
  5689. CC drivers/hisi/modem/drv/sysctrl/dt_sysctrl.o
  5690. CC drivers/hid/hid-tmff.o
  5691. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5692. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_vcs.c:18:
  5693. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5694. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5695. int ret = 0;
  5696. ^
  5697. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtEventReport.o
  5698. CC drivers/hid/hid-gaff.o
  5699. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5700. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_vcs.c:18:
  5701. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5702. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5703. int ret = 0;
  5704. ^
  5705. CC drivers/hisi/modem/drv/thermal/thermal.o
  5706. CC drivers/hid/hid-tivo.o
  5707. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5708. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_vcs.c:18:
  5709. ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_vcs.c: At top level:
  5710. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5711. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5712. ^
  5713. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdImsProc.o
  5714. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdCssProc.o
  5715. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5716. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vcs.c:19:
  5717. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5718. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5719. int ret = 0;
  5720. ^
  5721. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5722. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vcs.c:19:
  5723. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5724. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5725. int ret = 0;
  5726. ^
  5727. CC drivers/hid/hid-twinhan.o
  5728. LD drivers/hisi/modem/drv/onoff/built-in.o
  5729. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5730. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vcs.c:19:
  5731. ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vcs.c: At top level:
  5732. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5733. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5734. ^
  5735. CC drivers/hisi/modem/drv/udi/udi_balong.o
  5736. CC drivers/hid/hid-topseed.o
  5737. CC drivers/hisi/modem/drv/udi/adp_udi.o
  5738. CC drivers/hid/hid-uclogic.o
  5739. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5740. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dr.c:18:
  5741. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5742. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5743. int ret = 0;
  5744. ^
  5745. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5746. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dr.c:18:
  5747. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5748. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtExtendCmd.o
  5749. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5750. int ret = 0;
  5751. ^
  5752. CC drivers/hisi/modem/drv/version/version_balong.o
  5753. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5754. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dr.c:18:
  5755. ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dr.c: At top level:
  5756. CC drivers/hid/hid-led.o
  5757. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5758. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5759. ^
  5760. LD drivers/mmc/core/built-in.o
  5761. CC drivers/hid/hid-xinmo.o
  5762. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtExtendPrivateCmd.o
  5763. CC drivers/hid/hid-zpff.o
  5764. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtInputProc.o
  5765. CC drivers/hid/hid-zydacron.o
  5766. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtMntn.o
  5767. CC drivers/hid/wacom_wac.o
  5768. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5769. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_dbg.c:19:
  5770. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5771. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5772. int ret = 0;
  5773. ^
  5774. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5775. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_dbg.c:19:
  5776. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5777. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5778. int ret = 0;
  5779. ^
  5780. In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
  5781. from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_dbg.c:19:
  5782. ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_dbg.c: At top level:
  5783. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5784. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5785. ^
  5786. LD drivers/mmc/built-in.o
  5787. CC drivers/hid/wacom_sys.o
  5788. CC drivers/hid/hid-waltop.o
  5789. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtMsgPrint.o
  5790. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5791. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_src.c:19:
  5792. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5793. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5794. int ret = 0;
  5795. ^
  5796. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5797. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_src.c:19:
  5798. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5799. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5800. int ret = 0;
  5801. ^
  5802. CC drivers/hid/hid-wiimote-core.o
  5803. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5804. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dfp.c:18:
  5805. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5806. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5807. int ret = 0;
  5808. ^
  5809. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5810. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dfp.c:18:
  5811. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5812. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5813. int ret = 0;
  5814. ^
  5815. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5816. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_src.c:19:
  5817. ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_src.c: At top level:
  5818. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5819. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5820. ^
  5821. CC drivers/hid/hid-wiimote-modules.o
  5822. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5823. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_drs.c:18:
  5824. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5825. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5826. int ret = 0;
  5827. ^
  5828. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5829. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_drs.c:18:
  5830. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5831. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5832. int ret = 0;
  5833. ^
  5834. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5835. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_drs.c:18:
  5836. ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_drs.c: At top level:
  5837. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5838. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5839. ^
  5840. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtOutputProc.o
  5841. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtParseCmd.o
  5842. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5843. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dfp.c:18:
  5844. ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dfp.c: At top level:
  5845. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5846. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5847. ^
  5848. CC drivers/hid/hid-wiimote-debug.o
  5849. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtParseBasicCmd.o
  5850. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtParseCore.o
  5851. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtParseDCmd.o
  5852. CC drivers/hid/hid-sensor-custom.o
  5853. CC drivers/hid/hid-sensor-hub.o
  5854. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtParseDMCmd.o
  5855. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtParseExtendCmd.o
  5856. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtParsePara.o
  5857. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtParseSCmd.o
  5858. CC drivers/hid/usbhid/hid-quirks.o
  5859. CC drivers/hid/usbhid/hid-core.o
  5860. LD drivers/md/dm-cache-smq.o
  5861. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtQueryParaCmd.o
  5862. CC drivers/hid/usbhid/hid-pidff.o
  5863. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtSetParaCmd.o
  5864. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtTestParaCmd.o
  5865. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtTimer.o
  5866. CC drivers/hisi/modem/taf/comm/src/acore/at/src/ATSndMsg.o
  5867. LD drivers/hid/hid.o
  5868. LD drivers/hid/hid-logitech.o
  5869. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5870. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dbg.c:18:
  5871. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5872. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5873. int ret = 0;
  5874. ^
  5875. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5876. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dbg.c:18:
  5877. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5878. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5879. int ret = 0;
  5880. ^
  5881. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5882. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dbg.c:18:
  5883. ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dbg.c: At top level:
  5884. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5885. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5886. ^
  5887. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5888. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_prs.c:20:
  5889. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
  5890. ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5891. int ret = 0;
  5892. ^
  5893. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5894. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_prs.c:20:
  5895. ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
  5896. ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
  5897. int ret = 0;
  5898. ^
  5899. LD drivers/hid/hid-picolcd.o
  5900. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtAbortParaCmd.o
  5901. In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
  5902. from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_prs.c:20:
  5903. ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_prs.c: At top level:
  5904. ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
  5905. static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
  5906. ^
  5907. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCtx.o
  5908. LD drivers/hisi/modem/oam/lt/tlmsp.o
  5909. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtInit.o
  5910. CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdCagpsProc.o
  5911. CC drivers/hisi/modem/taf/comm/src/acore/tafapi/src/MnCallApi.o
  5912. CC drivers/hisi/modem/taf/comm/src/acore/tafapi/src/MnMsgApi.o
  5913. CC drivers/hisi/modem/taf/comm/src/acore/tafapi/src/Ssa_App_Remote.o
  5914. CC drivers/hisi/modem/taf/comm/src/acore/tafapi/src/Taf_Tafm_AppRemote.o
  5915. CC drivers/hisi/modem/taf/comm/src/acore/tafapi/src/VcApi.o
  5916. CC drivers/hisi/modem/taf/comm/src/acore/tafapi/src/TafXsmsApi.o
  5917. CC drivers/hisi/modem/taf/comm/src/acore/dms/src/dms_acm_at_rx.o
  5918. CC drivers/hisi/modem/taf/comm/src/acore/dms/src/dms_acm_at_tx.o
  5919. CC drivers/hisi/modem/taf/comm/src/acore/dms/src/dms_core.o
  5920. LD drivers/hisi/modem/oam/lt/built-in.o
  5921. CC drivers/hisi/modem/taf/comm/src/acore/dms/src/dms_debug.o
  5922. CC drivers/hisi/modem/taf/comm/src/acore/dms/src/dms_ndis.o
  5923. CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/NetMgrCtrlVcom.o
  5924. CC drivers/hisi/modem/taf/comm/src/acore/bastet/src/BastetInit.o
  5925. LD drivers/hisi/modem/oam/gu/gumsp.o
  5926. LD drivers/md/dm-cache.o
  5927. CC drivers/hisi/modem/taf/comm/src/acore/bastet/src/BastetComm.o
  5928. CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_common.o
  5929. CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_ct_ex_proc.o
  5930. CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_ct_ex2_proc.o
  5931. CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_ct_proc.o
  5932. CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_eventreport.o
  5933. CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_ms_proc.o
  5934. CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_st_proc.o
  5935. LD drivers/hisi/modem/drv/sync/built-in.o
  5936. CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_upgrade_proc.o
  5937. CC drivers/hisi/modem/taf/lt/src/acore/at/AtDeviceCmdTL.o
  5938. CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_set_proc.o
  5939. CC drivers/hisi/modem/taf/lt/src/acore/at/at_comm_cmd.o
  5940. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
  5941. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:6:
  5942. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
  5943. #ifndef _DRIVER_REGISTER.H
  5944. ^
  5945. ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
  5946. #define _DRIVER_REGISTER.H
  5947. ^
  5948. LD drivers/hisi/modem/oam/gu/built-in.o
  5949. LD drivers/media/huawei/camera/platform/hi3660/sensor/built-in.o
  5950. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:8:0:
  5951. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
  5952. #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
  5953. ^
  5954. In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:17:0,
  5955. from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:6:
  5956. ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
  5957. #define strnicmp strncasecmp
  5958. ^
  5959. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c: In function ‘pd_dpm_ufp_request_enter_mode’:
  5960. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:768:25: warning: ‘ops’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  5961. svid_data->active_mode = ops;
  5962. ^
  5963. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:873:10: note: ‘ops’ was declared here
  5964. uint8_t ops;
  5965. ^
  5966. In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:23:0:
  5967. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_prv.h:127:6: warning: ‘svid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  5968. if (svid_data->svid == svid)
  5969. ^
  5970. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:872:11: note: ‘svid’ was declared here
  5971. uint16_t svid;
  5972. ^
  5973. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:883:1: warning: the frame size of 2080 bytes is larger than 2048 bytes [-Wframe-larger-than=]
  5974. }
  5975. ^
  5976. LD drivers/hisi/modem/drv/thermal/built-in.o
  5977. LD drivers/media/huawei/camera/platform/hi3660/built-in.o
  5978. LD drivers/hisi/modem/drv/sysctrl/built-in.o
  5979. LD drivers/hisi/modem/oam/built-in.o
  5980. In file included from ../include/linux/kernel.h:13:0,
  5981. from ../include/linux/delay.h:10,
  5982. from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:17:
  5983. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c: In function ‘pd_dpm_ufp_request_exit_mode’:
  5984. ../include/linux/printk.h:290:2: warning: ‘ops’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  5985. printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
  5986. ^
  5987. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:889:10: note: ‘ops’ was declared here
  5988. uint8_t ops;
  5989. ^
  5990. In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:23:0:
  5991. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_prv.h:127:6: warning: ‘svid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  5992. if (svid_data->svid == svid)
  5993. ^
  5994. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:888:11: note: ‘svid’ was declared here
  5995. uint16_t svid;
  5996. ^
  5997. LD drivers/media/huawei/camera/platform/built-in.o
  5998. LD drivers/hisi/modem/drv/sim_hotplug/built-in.o
  5999. LD drivers/hisi/modem/drv/nvim/built-in.o
  6000. In file included from ../drivers/huawei_platform/touthscreen/huawei_touchscreen_chips.h:11:0,
  6001. from ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:35:
  6002. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  6003. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  6004. ^
  6005. LD drivers/media/huawei/camera/built-in.o
  6006. LD drivers/media/huawei/built-in.o
  6007. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c: In function ‘pd_dpm_dfp_inform_exit_mode’:
  6008. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:1040:17: warning: ‘ops’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  6009. if ((ops == 0) || (ops == svid_data->active_mode)) {
  6010. ^
  6011. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:1202:10: note: ‘ops’ was declared here
  6012. uint8_t ops;
  6013. ^
  6014. LD drivers/media/built-in.o
  6015. In file included from ../include/linux/kernel.h:13:0,
  6016. from ../include/linux/delay.h:10,
  6017. from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:17:
  6018. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c: In function ‘pd_dpm_dfp_inform_attention’:
  6019. ../include/linux/printk.h:290:2: warning: ‘ops’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  6020. printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
  6021. ^
  6022. ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:1220:10: note: ‘ops’ was declared here
  6023. uint8_t ops;
  6024. ^
  6025. LD drivers/hisi/modem/drv/version/built-in.o
  6026. LD drivers/hisi/modem/drv/udi/built-in.o
  6027. In file included from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.h:21:0,
  6028. from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:9:
  6029. ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
  6030. /* TS_NUM_TOTAL = 12, /* total gesture numbers */
  6031. ^
  6032. LD drivers/hisi/modem/drv/rfile/built-in.o
  6033. LD drivers/hisi/modem/ps/gu/gups.o
  6034. LD drivers/md/persistent-data/dm-persistent-data.o
  6035. LD drivers/hisi/modem/ps/gu/built-in.o
  6036. LD drivers/huawei_platform/usb/pd/richtek/built-in.o
  6037. LD drivers/md/persistent-data/built-in.o
  6038. LD drivers/md/built-in.o
  6039. LD drivers/hisi/modem/ps/built-in.o
  6040. LD drivers/huawei_platform/usb/pd/ti/built-in.o
  6041. LD drivers/huawei_platform/usb/pd/built-in.o
  6042. LD drivers/hid/usbhid/usbhid.o
  6043. LD drivers/hid/usbhid/built-in.o
  6044. LD drivers/huawei_platform/usb/built-in.o
  6045. LD drivers/hid/hid-wiimote.o
  6046. LD drivers/huawei_platform/touthscreen/panel/synaptics/built-in.o
  6047. LD drivers/huawei_platform/touthscreen/panel/built-in.o
  6048. LD drivers/huawei_platform/touthscreen/built-in.o
  6049. AR lib/lib.a
  6050. EXPORTS lib/lib-ksyms.o
  6051. LD lib/built-in.o
  6052. LD drivers/hid/wacom.o
  6053. LD drivers/hid/built-in.o
  6054. LD drivers/hisi/modem/drv/socp/built-in.o
  6055. LD drivers/hisi/modem/drv/built-in.o
  6056. LD drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/bcmdhd.o
  6057. LD drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/built-in.o
  6058. LD drivers/huawei_platform/connectivity/bcm/wifi/driver/built-in.o
  6059. LD drivers/huawei_platform/connectivity/bcm/wifi/built-in.o
  6060. LD drivers/huawei_platform/connectivity/bcm/built-in.o
  6061. LD drivers/huawei_platform/connectivity/built-in.o
  6062. LD drivers/huawei_platform/built-in.o
  6063. LD drivers/hisi/modem/taf/taf.o
  6064. LD drivers/hisi/modem/taf/built-in.o
  6065. LD drivers/hisi/modem/built-in.o
  6066. LD drivers/hisi/built-in.o
  6067. /home/coconutat/Downloads/Kernel/9.0/SUPLUS/android_kernel_huawei_hi3660/Makefile:1219: recipe for target 'drivers' failed
  6068. make[1]: *** [drivers] Error 2
  6069. make[1]: Leaving directory '/home/coconutat/Downloads/Kernel/9.0/SUPLUS/android_kernel_huawei_hi3660/out'
  6070. Makefile:152: recipe for target 'sub-make' failed
  6071. make: *** [sub-make] Error 2
  6072.  
  6073. ***Failed!***
  6074. coconutat@coconutat-desktop:~/Downloads/Kernel/9.0/SUPLUS/android_kernel_huawei_hi3660$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement