Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ../include/linux/stddef.h:7:14: warning: passing argument 3 of ‘file_open’ makes integer from pointer without a cast
- #define NULL ((void *)0)
- ^
- ../drivers/hwzerohung/cgroup_info.c:296:39: note: in expansion of macro ‘NULL’
- file = file_open(fullname, O_RDONLY, NULL);
- ^
- ../drivers/hwzerohung/cgroup_info.c:115:21: note: expected ‘int’ but argument is of type ‘void *’
- static struct file *file_open(const char *path, int flags, int rights)
- ^
- ../drivers/hwzerohung/cgroup_info.c: In function ‘cgroup_info_node_init’:
- ../drivers/hwzerohung/cgroup_info.c:331:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- size_t name_buf_len = strlen(name_buf) + 1;
- ^
- In file included from ../include/uapi/linux/posix_types.h:4:0,
- from ../include/uapi/linux/types.h:13,
- from ../include/linux/compiler.h:228,
- from ../include/linux/linkage.h:4,
- from ../include/linux/fs.h:4,
- from ../drivers/hwzerohung/cgroup_info.c:1:
- ../drivers/hwzerohung/cgroup_info.c: In function ‘cgroup_info_get’:
- CC drivers/huawei_platform/audio/usb_analog_hs_module/usb_analog_hs_isl54405/usb_analog_hs_isl54405.o
- ../drivers/huawei_platform/iotrace/iotrace.c:1040:9: warning: unused variable ‘ret_e’ [-Wunused-variable]
- int ret_e = 0;
- ^
- ../drivers/huawei_platform/iotrace/iotrace.c: In function ‘io_trace_global_log’:
- ../include/linux/stddef.h:7:14: warning: passing argument 3 of ‘file_open’ makes integer from pointer without a cast
- #define NULL ((void *)0)
- ^
- ../drivers/hwzerohung/cgroup_info.c:390:40: note: in expansion of macro ‘NULL’
- file = file_open(path_buf, O_RDONLY, NULL);
- ^
- ../drivers/hwzerohung/cgroup_info.c:115:21: note: expected ‘int’ but argument is of type ‘void *’
- static struct file *file_open(const char *path, int flags, int rights)
- ^
- ../drivers/hwzerohung/cgroup_info.c:390:8: warning: assignment from incompatible pointer type
- file = file_open(path_buf, O_RDONLY, NULL);
- ^
- ../drivers/hwzerohung/cgroup_info.c:399:16: warning: passing argument 1 of ‘file_close’ from incompatible pointer type
- file_close(file);
- ^
- ../drivers/hwzerohung/cgroup_info.c:129:13: note: expected ‘struct file *’ but argument is of type ‘char *’
- static void file_close(struct file *file)
- ^
- In file included from ../include/uapi/linux/posix_types.h:4:0,
- from ../include/uapi/linux/types.h:13,
- from ../include/linux/compiler.h:228,
- from ../include/linux/linkage.h:4,
- from ../include/linux/fs.h:4,
- from ../drivers/hwzerohung/cgroup_info.c:1:
- ../include/linux/stddef.h:7:14: warning: passing argument 3 of ‘file_open’ makes integer from pointer without a cast
- #define NULL ((void *)0)
- ^
- ../drivers/hwzerohung/cgroup_info.c:400:42: note: in expansion of macro ‘NULL’
- file = file_open(path_buf, O_RDONLY, NULL);
- ^
- ../drivers/hwzerohung/cgroup_info.c:115:21: note: expected ‘int’ but argument is of type ‘void *’
- static struct file *file_open(const char *path, int flags, int rights)
- ^
- ../drivers/hwzerohung/cgroup_info.c:400:10: warning: assignment from incompatible pointer type
- file = file_open(path_buf, O_RDONLY, NULL);
- ^
- ../drivers/hwzerohung/cgroup_info.c:408:32: warning: passing argument 1 of ‘file_read_dir’ from incompatible pointer type
- while ((ret = file_read_dir(file, &is_dir)) > 0) {
- ^
- ../drivers/hwzerohung/cgroup_info.c:193:12: note: expected ‘struct file *’ but argument is of type ‘char *’
- static int file_read_dir(struct file *file, int *is_dir)
- ^
- ../drivers/hwzerohung/cgroup_info.c:442:14: warning: passing argument 1 of ‘file_close’ from incompatible pointer type
- file_close(file);
- ^
- ../drivers/hwzerohung/cgroup_info.c:129:13: note: expected ‘struct file *’ but argument is of type ‘char *’
- static void file_close(struct file *file)
- ^
- ../drivers/hwzerohung/cgroup_info.c:372:24: warning: unused variable ‘ss’ [-Wunused-variable]
- struct cgroup_subsys *ss = NULL;
- ^
- ../drivers/hwzerohung/cgroup_info.c: In function ‘freezer_info_print_messages’:
- ../drivers/hwzerohung/cgroup_info.c:464:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct cgroup_info_node *ccur = NULL;
- ^
- ../drivers/hwzerohung/cgroup_info.c:470:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct task_node *tcur = NULL;
- ^
- ../drivers/hwzerohung/cgroup_info.c: In function ‘freezer_info_show_messages’:
- ../drivers/hwzerohung/cgroup_info.c:492:48: warning: passing argument 2 of ‘freezer_info_print_messages’ from incompatible pointer type
- return freezer_info_print_messages(TO_MODULE, buf);
- ^
- ../drivers/hwzerohung/cgroup_info.c:453:12: note: expected ‘char **’ but argument is of type ‘char *’
- static int freezer_info_print_messages(int type, char **pbuf)
- ^
- ../drivers/hwzerohung/cgroup_info.c: In function ‘freezer_info_show’:
- ../drivers/huawei_platform/iotrace/iotrace.c:1590:22: warning: unused variable ‘cnt_flag’ [-Wunused-variable]
- unsigned int cnt_flag = 1;
- ^
- ../drivers/hwzerohung/cgroup_info.c:501:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- ssize_t size = (ssize_t) (buf - start);
- ^
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_hw.o
- CC drivers/leds/led-triggers.o
- ../drivers/huawei_platform/iotrace/iotrace.c: In function ‘io_trace_init’:
- ../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=]
- io_trace_print("io count upload thread start succeed, %d\n", io_count_thread);
- ^
- CC drivers/huawei_platform/emcom/smartcare/network_measurement/sample_ctrl.o
- CC fs/compat_ioctl.o
- CC fs/binfmt_script.o
- CC drivers/connectivity/hisi/wifi/hmac/hmac_traffic_classify.o
- CC fs/notify/dnotify/dnotify.o
- LD drivers/hisi/hifi_mailbox/mailbox/built-in.o
- CC drivers/hid/hid-holtekff.o
- CC drivers/input/serio/libps2.o
- CC fs/binfmt_elf.o
- CC fs/compat_binfmt_elf.o
- CC fs/ext4/ext4_jbd2.o
- LD drivers/hisi/hifi_mailbox/built-in.o
- ../drivers/kernelsu/allowlist.c: In function ‘do_persistent_allow_list’:
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_utility.o
- ../drivers/kernelsu/allowlist.c:127:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
- pr_err("save_allow_list creat file failed: %d\n", PTR_ERR(fp));
- ^
- LD drivers/huawei_platform/connectivity/bcm/gps/lhd/built-in.o
- CC lib/chacha20.o
- ../drivers/kernelsu/allowlist.c: In function ‘do_load_allow_list’:
- ../drivers/kernelsu/allowlist.c:178:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
- pr_err("load_allow_list open file failed: %d\n", PTR_ERR(fp));
- ^
- ../drivers/kernelsu/allowlist.c:203:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ssize_t’ [-Wformat=]
- pr_info("load_allow_list read err: %d\n", ret);
- ^
- CC net/netfilter/xt_CT.o
- CC drivers/huawei_platform/emcom/smartcare/nse/psr_ac.o
- CC fs/sdcardfs/xattr.o
- LD drivers/huawei_platform/connectivity/bcm/gps/built-in.o
- ../drivers/hwzerohung/watchpoint/hung_wp_lowmemorykiller.c:212:13: warning: ‘lmkwp_show_events’ defined but not used [-Wunused-function]
- static void lmkwp_show_events(void)
- ^
- CC net/netfilter/xt_DSCP.o
- CC drivers/huawei_platform/emcom/smartcare/nse/psr_dns.o
- CC net/netfilter/xt_NETMAP.o
- CC drivers/irqchip/irq-gic-v3-its-pci-msi.o
- CC net/netfilter/xt_LOG.o
- LD drivers/hisi/hifi_dsp/built-in.o
- LD drivers/hisi/hisi_syscounter/built-in.o
- CC fs/mbcache.o
- CC fs/proc/generic.o
- LD drivers/huawei_platform/audio/anc_hs_module/anc_ncx8293/built-in.o
- LD kernel/sched/built-in.o
- CC drivers/huawei_platform/inputhub/hi3660/sensor_info.o
- LD drivers/huawei_platform/audio/anc_hs_module/built-in.o
- CC fs/ntfs/mft.o
- CC net/netfilter/xt_NFLOG.o
- ../drivers/kernelsu/allowlist.c: At top level:
- LD drivers/huawei_platform/led_alwayson/built-in.o
- cc1: warning: unrecognized command line option "-Wno-macro-redefined"
- cc1: warning: unrecognized command line option "-Wno-gcc-compat"
- cc1: warning: unrecognized command line option "-Wno-int-conversion"
- CC lib/clz_tab.o
- CC drivers/hisi/ivp/ivp_smmu.o
- CC drivers/connectivity/hisi/wifi/hmac/hmac_proxysta.o
- CC drivers/kernelsu/apk_sign.o
- CC drivers/hisi/jpu/hisi_jpu.o
- CC drivers/kernelsu/module_api.o
- CC drivers/iommu/dma-iommu.o
- CC drivers/huawei_platform/madapt/madapt.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/device/dev_wifi.c:49:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
- #ifndef _DRIVER_REGISTER.H
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
- #define _DRIVER_REGISTER.H
- ^
- CC drivers/kernelsu/sucompat.o
- ../fs/proc/base.c: In function ‘is_special_entry’:
- LD drivers/huawei_platform/connectivity/bcm/wifi/device/built-in.o
- ../fs/proc/base.c:2000:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- const unsigned char *name = dentry->d_name.name;
- ^
- LD kernel/built-in.o
- CC lib/cmdline.o
- CC drivers/hid/hid-icade.o
- CC drivers/input/input-mt.o
- LD drivers/connectivity/hisi/platform/plat.o
- CC drivers/irqchip/irq-gic-v3-its-platform-msi.o
- CC drivers/hwzerohung/watchpoint/hung_wp_screen.o
- CC drivers/input/ff-core.o
- CC fs/proc/array.o
- CC net/netfilter/xt_NFQUEUE.o
- CC drivers/connectivity/hisi/wifi/hmac/hmac_wmmac.o
- CC drivers/kernelsu/uid_observer.o
- CC fs/ext4/migrate.o
- CC drivers/huawei_platform/emcom/smartcare/nse/psr_init.o
- CC drivers/huawei_platform/emcom/smartcare/nse/psr_proc.o
- LD drivers/hisi/hisi_lmk/built-in.o
- CC fs/ntfs/mst.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_debug.o
- CC net/netfilter/xt_REDIRECT.o
- CC net/netfilter/xt_SECMARK.o
- CC drivers/connectivity/hisi/wifi/hmac/hmac_btcoex.o
- LD drivers/huawei_platform/irda/built-in.o
- CC drivers/huawei_platform/inputhub/hi3660/sensorhub_logbuff.o
- CC lib/cpumask.o
- CC drivers/huawei_platform/inputhub/hi3660/sensor_debug.o
- ../drivers/huawei_platform/emcom/xengine/emcom_xengine.c: In function ‘Emcom_Xengine_Clear_Mpip_Config’:
- ../drivers/huawei_platform/emcom/xengine/emcom_xengine.c:603:21: warning: unused variable ‘ulength’ [-Wunused-variable]
- uint8_t ulength;
- ^
- ../drivers/huawei_platform/emcom/xengine/emcom_xengine.c:602:22: warning: unused variable ‘ptemp’ [-Wunused-variable]
- uint8_t *ptemp;
- ^
- LD drivers/i2c/algos/built-in.o
- CC drivers/connectivity/hisi/wifi/dmac/mac_device.o
- LD drivers/hisi/l3cache/built-in.o
- LD drivers/hisi/hisee/built-in.o
- CC drivers/connectivity/hisi/wifi/dmac/mac_frame.o
- LD drivers/huawei_platform/audio/usb_analog_hs_module/usb_analog_hs_fsa4476/built-in.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pno.o
- CC drivers/i2c/busses/i2c-designware-core.o
- CC drivers/i2c/busses/i2c-designware-platdrv.o
- LD drivers/connectivity/hisi/platform/built-in.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/wlanfty/wlanfty.o
- CC drivers/hisi/load_image/load_image.o
- CC fs/ntfs/namei.o
- CC fs/posix_acl.o
- CC drivers/irqchip/irq-partition-percpu.o
- CC net/netfilter/xt_TPROXY.o
- CC drivers/irqchip/irq-mbigen.o
- LD fs/pstore/ramoops.o
- CC net/netfilter/xt_TCPMSS.o
- LD fs/pstore/built-in.o
- CC drivers/hisi/mailbox/hisi_mailbox/hisi_mailbox.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_trace_timeline.o
- CC fs/coredump.o
- CC drivers/leds/hisi_leds.o
- CC fs/drop_caches.o
- CC drivers/hisi/mailbox/hisi_mailbox/hisi_rproc.o
- CC drivers/connectivity/hisi/wifi/dmac/mac_user.o
- CC fs/ntfs/runlist.o
- CC fs/dcookies.o
- CC drivers/leds/trigger/ledtrig-timer.o
- CC drivers/iommu/iova.o
- CC fs/ext4/mballoc.o
- LD drivers/hisi/isp/mntn/built-in.o
- CC drivers/hisi/isp/hisp_rpm.o
- In file included from ../drivers/kernelsu/uid_observer.c:13:0:
- ../drivers/kernelsu/manager.h:7:0: warning: "INVALID_UID" redefined
- #define INVALID_UID -1
- ^
- LD fs/quota/built-in.o
- In file included from ../include/linux/sysctl.h:28:0,
- from ../include/linux/timer.h:267,
- from ../include/linux/workqueue.h:8,
- from ../include/linux/mm_types.h:15,
- from ../include/linux/sched.h:27,
- from ../arch/arm64/include/asm/compat.h:25,
- from ../arch/arm64/include/asm/stat.h:23,
- from ../include/linux/stat.h:5,
- from ../include/linux/fs.h:9,
- from ../drivers/kernelsu/uid_observer.c:2:
- ../include/linux/uidgid.h:57:0: note: this is the location of the previous definition
- #define INVALID_UID KUIDT_INIT(-1)
- ^
- CC drivers/hisi/isp/nonsec.o
- In file included from ../include/linux/kernel.h:13:0,
- from ../include/linux/list.h:8,
- from ../include/linux/wait.h:6,
- from ../include/linux/fs.h:5,
- from ../drivers/kernelsu/uid_observer.c:2:
- ../drivers/kernelsu/uid_observer.c: In function ‘do_update_uid’:
- ../drivers/kernelsu/uid_observer.c:47:18: warning: passing argument 1 of ‘ERR_PTR’ makes integer from pointer without a cast
- ERR_PTR(fp));
- ^
- ../include/linux/printk.h:283:33: note: in definition of macro ‘pr_err’
- printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
- ^
- In file included from ../drivers/kernelsu/uid_observer.c:1:0:
- ../include/linux/err.h:23:35: note: expected ‘long int’ but argument is of type ‘struct file *’
- static inline void * __must_check ERR_PTR(long error)
- ^
- ../drivers/kernelsu/uid_observer.c:45:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘void *’ [-Wformat=]
- pr_err("do_update_uid, open " SYSTEM_PACKAGES_LIST_PATH
- ^
- CC drivers/kernelsu/manager.o
- CC drivers/huawei_platform/inputhub/hi3660/sensorhub_channel.o
- CC drivers/huawei_platform/inputhub/hi3660/iomcu_power.o
- CC drivers/hid/hid-kensington.o
- CC drivers/kernelsu/core_hook.o
- ../drivers/hwzerohung/watchpoint/hung_wp_screen.c: In function ‘hung_wp_screen_send_work’:
- ../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=]
- printk(KERN_ERR "%s: cur_stamp=%d\n", __func__, cur_stamp);
- ^
- ../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=]
- data.config->timeout+BUFFER_TIME_START, cur_stamp+BUFFER_TIME_END);
- ^
- ../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=]
- data.config->timeout+BUFFER_TIME_START, cur_stamp+BUFFER_TIME_END);
- ^
- ../drivers/hwzerohung/watchpoint/hung_wp_screen.c: At top level:
- ../drivers/hwzerohung/watchpoint/hung_wp_screen.c:93:13: warning: ‘prkyevt_init_done’ defined but not used [-Wunused-variable]
- static bool prkyevt_init_done = false;
- ^
- ../drivers/hwzerohung/watchpoint/hung_wp_screen.c:101:21: warning: ‘reservedevt’ defined but not used [-Wunused-variable]
- static unsigned int reservedevt = 0;
- ^
- LD fs/sysfs/built-in.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_gpu_memory_debugfs.o
- LD fs/notify/dnotify/built-in.o
- In file included from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:26:0:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.h:491:1: warning: useless storage class specifier in empty declaration
- };
- ^
- CC drivers/connectivity/hisi/wifi/dmac/mac_vap.o
- LD drivers/i2c/muxes/built-in.o
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:294:19: warning: initialization from incompatible pointer type
- .notifier_call = read_tp_module_notify,
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:294:19: warning: (near initialization for ‘readtp_notify.notifier_call’)
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:306:8: warning: missing braces around initializer [-Wmissing-braces]
- struct sleeve_detect_pare sleeve_detect_paremeter[MAX_PHONE_COLOR_NUM] = {0};
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:306:8: warning: (near initialization for ‘sleeve_detect_paremeter[0]’) [-Wmissing-braces]
- CC drivers/kernelsu/ksud.o
- LD drivers/huawei_platform/audio/tfa98xx/tfa9872/built-in.o
- ../drivers/kernelsu/uid_observer.c: At top level:
- cc1: warning: unrecognized command line option "-Wno-macro-redefined"
- cc1: warning: unrecognized command line option "-Wno-gcc-compat"
- cc1: warning: unrecognized command line option "-Wno-int-conversion"
- LD fs/notify/fanotify/built-in.o
- LD drivers/huawei_platform/audio/tfa98xx/built-in.o
- CC net/netfilter/xt_TEE.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_mem_linux.o
- CC drivers/iommu/of_iommu.o
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: In function ‘read_als_data_from_dts’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:3154:69: warning: passing argument 3 of ‘of_property_read_u32_array’ from incompatible pointer type
- ret = of_property_read_u32_array(dn, "sleeve_detect_threshhold", sleeve_detect_paremeter, temp * 2);
- ^
- In file included from ../include/huawei_platform/power/direct_charger.h:10:0,
- from ../include/huawei_platform/power/huawei_charger.h:30,
- from ../include/huawei_platform/power/charging_core_sh.h:18,
- from ../drivers/huawei_platform/inputhub/hi3660/inputhub_bridge.h:14,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:16:
- ../include/linux/of.h:464:19: note: expected ‘unsigned int *’ but argument is of type ‘struct sleeve_detect_pare *’
- static inline int of_property_read_u32_array(const struct device_node *np,
- ^
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_core_linux.o
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: In function ‘get_test_time’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:3860:29: warning: passing argument 2 of ‘rtc_time_to_tm’ from incompatible pointer type
- rtc_time_to_tm(local_time, &tm);
- ^
- In file included from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:31:0:
- ../include/linux/rtc.h:38:20: note: expected ‘struct rtc_time *’ but argument is of type ‘struct tm *’
- static inline void rtc_time_to_tm(unsigned long time, struct rtc_time *tm)
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: In function ‘attr_acc_calibrate_write’:
- ../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=]
- hwlog_err("acc calibrator val is %d len is %lu.\n", val, sizeof(val));
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: In function ‘als_calibrate_save’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:4533:12: warning: unused variable ‘bh1745_als_cal_result’ [-Wunused-variable]
- uint16_t *bh1745_als_cal_result = (uint16_t *) buf;
- ^
- CC fs/ext4/block_validity.o
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: In function ‘attr_get_fingersense_enable’:
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_replay.o
- CC fs/notify/inotify/inotify_fsnotify.o
- LD drivers/huawei_platform/emcom/argo/built-in.o
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5133:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
- return snprintf(buf, MAX_STR_SIZE, "%d\n", fingersense_enabled);
- ^
- In file included from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:9:0:
- ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
- int snprintf(char *buf, size_t size, const char *fmt, ...);
- ^
- In file included from ../include/linux/kobject.h:21:0,
- from ../include/linux/module.h:17,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:11:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: At top level:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5136:50: warning: initialization from incompatible pointer type
- static DEVICE_ATTR(set_fingersense_enable, 0660, attr_get_fingersense_enable,
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5136:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(set_fingersense_enable, 0660, attr_get_fingersense_enable,
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5136:50: warning: (near initialization for ‘dev_attr_set_fingersense_enable.show’)
- static DEVICE_ATTR(set_fingersense_enable, 0660, attr_get_fingersense_enable,
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5136:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(set_fingersense_enable, 0660, attr_get_fingersense_enable,
- ^
- LD drivers/gpu/vga/built-in.o
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: In function ‘attr_fingersense_data_ready’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5143:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
- return snprintf(buf, MAX_STR_SIZE, "%d\n", fingersense_data_ready);
- ^
- In file included from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:9:0:
- ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
- int snprintf(char *buf, size_t size, const char *fmt, ...);
- ^
- In file included from ../include/linux/kobject.h:21:0,
- from ../include/linux/module.h:17,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:11:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: At top level:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5146:50: warning: initialization from incompatible pointer type
- static DEVICE_ATTR(fingersense_data_ready, 0440, attr_fingersense_data_ready,
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5146:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(fingersense_data_ready, 0440, attr_fingersense_data_ready,
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5146:50: warning: (near initialization for ‘dev_attr_fingersense_data_ready.show’)
- static DEVICE_ATTR(fingersense_data_ready, 0440, attr_fingersense_data_ready,
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5146:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(fingersense_data_ready, 0440, attr_fingersense_data_ready,
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: In function ‘attr_fingersense_latch_data’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5163:9: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type
- memcpy(buf, (char *)fingersense_data, size);
- ^
- In file included from ../include/linux/string.h:18:0,
- from ../arch/arm64/include/asm/processor.h:37,
- from ../arch/arm64/include/asm/spinlock.h:21,
- from ../include/linux/spinlock.h:87,
- from ../include/linux/seqlock.h:35,
- from ../include/linux/time.h:5,
- from ../include/uapi/linux/timex.h:56,
- from ../include/linux/timex.h:56,
- from ../include/linux/sched.h:19,
- from ../arch/arm64/include/asm/compat.h:25,
- from ../arch/arm64/include/asm/stat.h:23,
- from ../include/linux/stat.h:5,
- from ../include/linux/module.h:10,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:11:
- ../arch/arm64/include/asm/string.h:38:14: note: expected ‘void *’ but argument is of type ‘const char *’
- extern void *memcpy(void *, const void *, __kernel_size_t);
- ^
- In file included from ../include/linux/kobject.h:21:0,
- from ../include/linux/module.h:17,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:11:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c: At top level:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5168:50: warning: initialization from incompatible pointer type
- static DEVICE_ATTR(fingersense_latch_data, 0440, attr_fingersense_latch_data,
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5168:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(fingersense_latch_data, 0440, attr_fingersense_latch_data,
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5168:50: warning: (near initialization for ‘dev_attr_fingersense_latch_data.show’)
- static DEVICE_ATTR(fingersense_latch_data, 0440, attr_fingersense_latch_data,
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:5168:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(fingersense_latch_data, 0440, attr_fingersense_latch_data,
- ^
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_mem_profile_debugfs.o
- CC drivers/connectivity/hisi/wifi/dmac/mac_regdomain.o
- CC fs/notify/inotify/inotify_user.o
- CC drivers/kernelsu/embed_ksud.o
- CC drivers/connectivity/hisi/wifi/dmac/mac_ie.o
- CC fs/ntfs/super.o
- CC drivers/input/ff-memless.o
- CC drivers/connectivity/hisi/wifi/dmac/mac_resource.o
- CC drivers/hwzerohung/watchpoint/zrhung_wp_sochalt.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_mmu_mode_lpae.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_mmu_mode_aarch64.o
- ../drivers/huawei_platform/inputhub/hi3660/sensorhub_logbuff.c: In function ‘emg_flush_logbuff’:
- ../drivers/huawei_platform/inputhub/hi3660/sensorhub_logbuff.c:394:6: warning: unused variable ‘i’ [-Wunused-variable]
- int i = 0;
- ^
- CC drivers/hwzerohung/watchpoint/zrhung_wp_io.o
- CC fs/ntfs/sysctl.o
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.c:4495:12: warning: ‘rgb_cal_result_write_file’ defined but not used [-Wunused-function]
- static int rgb_cal_result_write_file(char *filename, char *param)
- ^
- In file included from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:15:0:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.h:491:1: warning: useless storage class specifier in empty declaration
- };
- ^
- LD drivers/input/serio/built-in.o
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘aod_test’:
- ../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=]
- hwlog_info("@@@@@%d %d\n", sizeof(cpkt.display_param) + sizeof(cpkt.sub_cmd), sizeof(cpkt) - sizeof(cpkt.hd));
- ^
- ../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=]
- In file included from ../include/linux/kernel.h:13:0,
- from ../include/linux/list.h:8,
- from ../include/linux/module.h:9,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:334:81: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- 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);
- ^
- ../include/linux/printk.h:290:34: note: in definition of macro ‘pr_info’
- printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
- ^
- ../include/huawei_platform/log/hw_log.h:72:9: note: in expansion of macro ‘__hwlog_info’
- __hwlog_info(TAG,##x)
- ^
- ../include/huawei_platform/log/hw_log.h:69:9: note: in expansion of macro ‘_hwlog_info’
- _hwlog_info(HWLOG_TAG,##x)
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:334:3: note: in expansion of macro ‘hwlog_info’
- 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);
- ^
- ../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=]
- hwlog_info("@@@@@%d %d\n", sizeof(cpkt.config_param) + sizeof(cpkt.sub_cmd), sizeof(cpkt) - sizeof(cpkt.hd));
- ^
- ../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=]
- ../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=]
- hwlog_info("@@@@@%d %d\n", sizeof(cpkt.time_param) + sizeof(cpkt.sub_cmd), sizeof(cpkt) - sizeof(cpkt.hd));
- ^
- ../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=]
- ../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=]
- hwlog_info("@@@@@%d %d\n", sizeof(cpkt.start_param) + sizeof(cpkt.sub_cmd), sizeof(cpkt) - sizeof(cpkt.hd));
- ^
- ../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=]
- ../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=]
- hwlog_info("@@@@@%d %d\n", sizeof(cpkt.display_pos) + sizeof(cpkt.sub_cmd), sizeof(cpkt) - sizeof(cpkt.hd));
- ^
- ../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=]
- LD drivers/huawei_platform/audio/usb_analog_hs_module/usb_analog_hs_isl54405/built-in.o
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘store_get_data’:
- ../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=]
- hwlog_info("%s:time interval is less than 1s(from %u to %u), skip\n",
- ^
- ../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=]
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘store_als_debug_data’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1296:6: warning: unused variable ‘als_manufactor’ [-Wunused-variable]
- int als_manufactor = 0;
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘show_fingersense_enable’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1423:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
- return snprintf(buf, MAX_STR_SIZE, "%d\n", fingersense_enabled);
- ^
- In file included from ../include/linux/list.h:8:0,
- from ../include/linux/module.h:9,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
- ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
- int snprintf(char *buf, size_t size, const char *fmt, ...);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘show_fingersense_data_ready’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1430:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
- return snprintf(buf, MAX_STR_SIZE, "%d\n", fingersense_data_ready);
- ^
- In file included from ../include/linux/list.h:8:0,
- from ../include/linux/module.h:9,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
- ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
- int snprintf(char *buf, size_t size, const char *fmt, ...);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘show_fingersense_latch_data’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1448:9: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type
- memcpy(buf, (char *)fingersense_data, size);
- ^
- In file included from ../include/linux/string.h:18:0,
- from ../arch/arm64/include/asm/processor.h:37,
- from ../arch/arm64/include/asm/spinlock.h:21,
- from ../include/linux/spinlock.h:87,
- from ../include/linux/seqlock.h:35,
- from ../include/linux/time.h:5,
- from ../include/uapi/linux/timex.h:56,
- from ../include/linux/timex.h:56,
- from ../include/linux/sched.h:19,
- from ../arch/arm64/include/asm/compat.h:25,
- from ../arch/arm64/include/asm/stat.h:23,
- from ../include/linux/stat.h:5,
- from ../include/linux/module.h:10,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
- ../arch/arm64/include/asm/string.h:38:14: note: expected ‘void *’ but argument is of type ‘const char *’
- extern void *memcpy(void *, const void *, __kernel_size_t);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1437:6: warning: unused variable ‘i’ [-Wunused-variable]
- int i = 0;
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘show_rpc_motion_req’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1538:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
- return snprintf(buf, MAX_STR_SIZE, "%d\n", rpc_motion_request);
- ^
- In file included from ../include/linux/list.h:8:0,
- from ../include/linux/module.h:9,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
- ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
- int snprintf(char *buf, size_t size, const char *fmt, ...);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘store_ois_ctrl’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1552:27: warning: unused variable ‘i’ [-Wunused-variable]
- int source = 0, ret = 0, i = 0;
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: At top level:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1622:2: warning: missing braces around initializer [-Wmissing-braces]
- &sensors_attr_group,
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1622:2: warning: (near initialization for ‘sensors_attr_groups[0]’) [-Wmissing-braces]
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1622:2: warning: initialization from incompatible pointer type
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1622:2: warning: (near initialization for ‘sensors_attr_groups[0].name’)
- In file included from ../include/linux/kobject.h:21:0,
- from ../include/linux/module.h:17,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1648:50: warning: initialization from incompatible pointer type
- static DEVICE_ATTR(set_fingersense_enable, 0660, show_fingersense_enable,
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1648:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(set_fingersense_enable, 0660, show_fingersense_enable,
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1648:50: warning: (near initialization for ‘dev_attr_set_fingersense_enable.show’)
- static DEVICE_ATTR(set_fingersense_enable, 0660, show_fingersense_enable,
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1648:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(set_fingersense_enable, 0660, show_fingersense_enable,
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1650:50: warning: initialization from incompatible pointer type
- static DEVICE_ATTR(fingersense_data_ready, 0440, show_fingersense_data_ready,
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1650:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(fingersense_data_ready, 0440, show_fingersense_data_ready,
- ^
- LD drivers/huawei_platform/audio/usb_analog_hs_module/built-in.o
- LD drivers/lguest/built-in.o
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1650:50: warning: (near initialization for ‘dev_attr_fingersense_data_ready.show’)
- static DEVICE_ATTR(fingersense_data_ready, 0440, show_fingersense_data_ready,
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1650:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(fingersense_data_ready, 0440, show_fingersense_data_ready,
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1652:50: warning: initialization from incompatible pointer type
- static DEVICE_ATTR(fingersense_latch_data, 0440, show_fingersense_latch_data,
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1652:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(fingersense_latch_data, 0440, show_fingersense_latch_data,
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1652:50: warning: (near initialization for ‘dev_attr_fingersense_latch_data.show’)
- static DEVICE_ATTR(fingersense_latch_data, 0440, show_fingersense_latch_data,
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1652:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(fingersense_latch_data, 0440, show_fingersense_latch_data,
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1656:41: warning: initialization from incompatible pointer type
- static DEVICE_ATTR(rpc_motion_req,0660, show_rpc_motion_req,
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1656:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(rpc_motion_req,0660, show_rpc_motion_req,
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1656:41: warning: (near initialization for ‘dev_attr_rpc_motion_req.show’)
- static DEVICE_ATTR(rpc_motion_req,0660, show_rpc_motion_req,
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1656:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(rpc_motion_req,0660, show_rpc_motion_req,
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘show_sleeve_test_threshhold’:
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_disjoint_events.o
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1804:20: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
- return snprintf(buf, MAX_STR_SIZE, "%d\n", sleeve_detect_paremeter[i].sleeve_detect_threshhold);
- ^
- In file included from ../include/linux/list.h:8:0,
- from ../include/linux/module.h:9,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
- ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
- int snprintf(char *buf, size_t size, const char *fmt, ...);
- ^
- In file included from ../include/linux/kobject.h:21:0,
- from ../include/linux/module.h:17,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: At top level:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1814:50: warning: initialization from incompatible pointer type
- static DEVICE_ATTR(sleeve_test_threshhold, 0440, show_sleeve_test_threshhold, NULL);
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1814:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(sleeve_test_threshhold, 0440, show_sleeve_test_threshhold, NULL);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1814:50: warning: (near initialization for ‘dev_attr_sleeve_test_threshhold.show’)
- static DEVICE_ATTR(sleeve_test_threshhold, 0440, show_sleeve_test_threshhold, NULL);
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1814:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(sleeve_test_threshhold, 0440, show_sleeve_test_threshhold, NULL);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘sensors_debug_init’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:2090:28: warning: assignment from incompatible pointer type
- sensors_class->dev_groups = &sensors_attr_groups;
- ^
- CC drivers/connectivity/hisi/wifi/dmac/mac_board.o
- CC drivers/huawei_platform/inputhub/hi3660/motionhub_channel.o
- LD drivers/huawei_platform/audio/built-in.o
- In file included from ../drivers/kernelsu/manager.c:14:0:
- ../drivers/kernelsu/manager.h:7:0: warning: "INVALID_UID" redefined
- #define INVALID_UID -1
- ^
- CC drivers/connectivity/hisi/wifi/dmac/mac_pm.o
- In file included from ../include/linux/sysctl.h:28:0,
- from ../include/linux/key.h:22,
- from ../include/linux/cred.h:17,
- from ../drivers/kernelsu/manager.c:1:
- ../include/linux/uidgid.h:57:0: note: this is the location of the previous definition
- #define INVALID_UID KUIDT_INIT(-1)
- ^
- CC fs/ext4/move_extent.o
- CC drivers/log/log_exception.o
- LD drivers/hisi/hi64xx_dsp/built-in.o
- CC lib/ctype.o
- CC drivers/hisi/ivp/ivp_ipc.o
- LD fs/cifs/cifs.o
- CC drivers/log/imonitor_events.o
- cc1: warning: unrecognized command line option "-Wno-macro-redefined"
- cc1: warning: unrecognized command line option "-Wno-gcc-compat"
- cc1: warning: unrecognized command line option "-Wno-int-conversion"
- LD drivers/huawei_platform/connectivity/bcm/wifi/wlanfty/built-in.o
- In file included from ../drivers/huawei_platform/inputhub/hi3660/sensorhub_channel.c:23:0:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.h:491:1: warning: useless storage class specifier in empty declaration
- };
- ^
- CC drivers/hisi/jpu/hisi_jpu_utils.o
- CC drivers/log_usertype/log-usertype2.o
- CC net/netfilter/xt_TRACE.o
- LD drivers/huawei_platform/emcom/smartcare/nse/built-in.o
- CC drivers/input/input-leds.o
- CC drivers/iommu/hisi/ion-iommu-map.o
- CC drivers/input/mousedev.o
- CC lib/dec_and_lock.o
- CC lib/decompress.o
- CC drivers/hisi/memory_dump/kernel_dump.o
- CC fs/f2fs/node.o
- CC net/netfilter/xt_IDLETIMER.o
- LD fs/cifs/built-in.o
- CC drivers/input/evdev.o
- In file included from ../drivers/kernelsu/core_hook.c:22:0:
- ../drivers/kernelsu/manager.h:7:0: warning: "INVALID_UID" redefined
- #define INVALID_UID -1
- ^
- In file included from ../include/linux/sysctl.h:28:0,
- from ../include/linux/key.h:22,
- from ../include/linux/cred.h:17,
- from ../drivers/kernelsu/core_hook.c:1:
- ../include/linux/uidgid.h:57:0: note: this is the location of the previous definition
- #define INVALID_UID KUIDT_INIT(-1)
- ^
- ../drivers/kernelsu/core_hook.c: In function ‘ksu_handle_prctl’:
- ../drivers/kernelsu/ksud.c: In function ‘ksu_handle_vfs_read’:
- LD drivers/huawei_platform/madapt/built-in.o
- ../drivers/kernelsu/ksud.c:204:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t’ [-Wformat=]
- pr_info("vfs_read: %s, comm: %s, count: %d, rc_count: %d\n", dpath,
- ^
- ../drivers/kernelsu/ksud.c:204:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ [-Wformat=]
- ../drivers/kernelsu/ksud.c:208:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat=]
- pr_err("count: %d < rc_count: %d", count, rc_count);
- ^
- ../drivers/kernelsu/ksud.c:208:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ [-Wformat=]
- ../drivers/kernelsu/ksud.c:214:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat=]
- pr_err("copy ksud.rc failed: %d\n", ret);
- ^
- ../drivers/kernelsu/core_hook.c:147:29: warning: passing argument 2 of ‘copy_from_user’ makes pointer from integer without a cast
- if (copy_from_user(param, arg3, sizeof(param))) {
- ^
- In file included from ../include/linux/uaccess.h:5:0,
- from ../drivers/kernelsu/core_hook.c:8:
- ../arch/arm64/include/asm/uaccess.h:440:42: note: expected ‘const void *’ but argument is of type ‘long unsigned int’
- static inline unsigned long __must_check copy_from_user(void *to, const void __user *from, unsigned long n)
- ^
- ../drivers/kernelsu/core_hook.c:184:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘kuid_t’ [-Wformat=]
- pr_info("allow root for: %d\n", current_uid());
- ^
- ../drivers/kernelsu/core_hook.c:190:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘kuid_t’ [-Wformat=]
- pr_info("deny root for: %d\n", current_uid());
- ^
- ../drivers/kernelsu/core_hook.c:201:21: warning: passing argument 1 of ‘copy_to_user’ makes pointer from integer without a cast
- if (copy_to_user(arg3, &version, sizeof(version))) {
- ^
- In file included from ../include/linux/uaccess.h:5:0,
- from ../drivers/kernelsu/core_hook.c:8:
- ../arch/arm64/include/asm/uaccess.h:454:42: note: expected ‘void *’ but argument is of type ‘long unsigned int’
- static inline unsigned long __must_check copy_to_user(void __user *to, const void *from, unsigned long n)
- ^
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_gator_api.o
- CC drivers/leds/trigger/ledtrig-transient.o
- ../drivers/kernelsu/core_hook.c:202:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
- pr_err("prctl reply error, cmd: %d\n", arg2);
- ^
- ../drivers/kernelsu/core_hook.c:237:30: warning: passing argument 2 of ‘handle_sepolicy’ makes pointer from integer without a cast
- if (!handle_sepolicy(arg3, arg4)) {
- ^
- ../drivers/kernelsu/core_hook.c:27:12: note: expected ‘void *’ but argument is of type ‘long unsigned int’
- extern int handle_sepolicy(unsigned long arg3, void __user *arg4);
- ^
- ../drivers/kernelsu/core_hook.c:264:23: warning: passing argument 1 of ‘copy_to_user’ makes pointer from integer without a cast
- if (!copy_to_user(arg4, &array_length,
- ^
- In file included from ../include/linux/uaccess.h:5:0,
- from ../drivers/kernelsu/core_hook.c:8:
- ../arch/arm64/include/asm/uaccess.h:454:42: note: expected ‘void *’ but argument is of type ‘long unsigned int’
- static inline unsigned long __must_check copy_to_user(void __user *to, const void *from, unsigned long n)
- ^
- ../drivers/kernelsu/core_hook.c:266:23: warning: passing argument 1 of ‘copy_to_user’ makes pointer from integer without a cast
- !copy_to_user(arg3, array,
- ^
- In file included from ../include/linux/uaccess.h:5:0,
- from ../drivers/kernelsu/core_hook.c:8:
- ../arch/arm64/include/asm/uaccess.h:454:42: note: expected ‘void *’ but argument is of type ‘long unsigned int’
- static inline unsigned long __must_check copy_to_user(void __user *to, const void *from, unsigned long n)
- ^
- ../drivers/kernelsu/core_hook.c:270:7: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
- pr_err("prctl reply error, cmd: %d\n",
- ^
- ../drivers/kernelsu/core_hook.c:283:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
- pr_info("Only manager can do cmd: %d\n", arg2);
- ^
- ../drivers/kernelsu/core_hook.c:295:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
- pr_err("prctl reply error, cmd: %d\n", arg2);
- ^
- In file included from ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:32:0:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.h:491:1: warning: useless storage class specifier in empty declaration
- };
- ^
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_debug_mem_view.o
- CC net/netfilter/xt_bpf.o
- CC net/netfilter/xt_connbytes.o
- CC net/netfilter/xt_comment.o
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: In function ‘mcu_power_log_process’:
- ../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=]
- 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,
- ^
- ../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=]
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: In function ‘show_power_status’:
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:271:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
- return snprintf(buf, MAX_STR_SIZE, "%s\n", get_iomcu_power_status());
- ^
- In file included from ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:15:0:
- ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
- int snprintf(char *buf, size_t size, const char *fmt, ...);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: In function ‘show_app_status’:
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:278:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
- return snprintf(buf, MAX_STR_SIZE, "%s\n", get_iomcu_current_opened_app());
- ^
- In file included from ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:15:0:
- ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
- int snprintf(char *buf, size_t size, const char *fmt, ...);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: In function ‘show_idle_time’:
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:284:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
- return snprintf(buf, MAX_STR_SIZE, "%d\n", get_iomcu_idle_time());
- ^
- In file included from ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:15:0:
- ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
- int snprintf(char *buf, size_t size, const char *fmt, ...);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: In function ‘show_active_app_during_suspend’:
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:291:18: warning: passing argument 1 of ‘snprintf’ discards ‘const’ qualifier from pointer target type
- return snprintf(buf, MAX_STR_SIZE, "%s\n", get_iomcu_active_app_during_suspend());
- ^
- In file included from ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:15:0:
- ../include/linux/kernel.h:417:5: note: expected ‘char *’ but argument is of type ‘const char *’
- int snprintf(char *buf, size_t size, const char *fmt, ...);
- ^
- In file included from ../include/linux/kobject.h:21:0,
- from ../include/linux/module.h:17,
- from ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:17:
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: At top level:
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:295:40: warning: initialization from incompatible pointer type
- static DEVICE_ATTR(power_status, 0440, show_power_status, NULL);
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:295:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(power_status, 0440, show_power_status, NULL);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:295:40: warning: (near initialization for ‘dev_attr_power_status.show’)
- static DEVICE_ATTR(power_status, 0440, show_power_status, NULL);
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:295:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(power_status, 0440, show_power_status, NULL);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:296:39: warning: initialization from incompatible pointer type
- static DEVICE_ATTR(current_app, 0440, show_app_status, NULL);
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:296:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(current_app, 0440, show_app_status, NULL);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:296:39: warning: (near initialization for ‘dev_attr_current_app.show’)
- static DEVICE_ATTR(current_app, 0440, show_app_status, NULL);
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:296:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(current_app, 0440, show_app_status, NULL);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:297:37: warning: initialization from incompatible pointer type
- static DEVICE_ATTR(idle_time, 0440, show_idle_time, NULL);
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:297:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(idle_time, 0440, show_idle_time, NULL);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:297:37: warning: (near initialization for ‘dev_attr_idle_time.show’)
- static DEVICE_ATTR(idle_time, 0440, show_idle_time, NULL);
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:297:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(idle_time, 0440, show_idle_time, NULL);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:298:53: warning: initialization from incompatible pointer type
- static DEVICE_ATTR(active_app_during_suspend, 0440, show_active_app_during_suspend, NULL);
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:298:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(active_app_during_suspend, 0440, show_active_app_during_suspend, NULL);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:298:53: warning: (near initialization for ‘dev_attr_active_app_during_suspend.show’)
- static DEVICE_ATTR(active_app_during_suspend, 0440, show_active_app_during_suspend, NULL);
- ^
- ../include/linux/sysfs.h:103:10: note: in definition of macro ‘__ATTR’
- .show = _show, \
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:298:8: note: in expansion of macro ‘DEVICE_ATTR’
- static DEVICE_ATTR(active_app_during_suspend, 0440, show_active_app_during_suspend, NULL);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: In function ‘iomcu_power_info_init’:
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:337:7: warning: ‘return’ with a value, in function returning void
- { return PTR_ERR(iomcu_power); }
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:340:29: warning: assignment from incompatible pointer type
- iomcu_power->dev_groups = &power_info_attrs_grp;
- ^
- In file included from ../include/linux/printk.h:5:0,
- from ../include/linux/kernel.h:13,
- from ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:15:
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: At top level:
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:381:20: warning: initialization from incompatible pointer type
- late_initcall_sync(iomcu_power_info_init);
- ^
- ../include/linux/init.h:181:58: note: in definition of macro ‘__define_initcall’
- __attribute__((__section__(".initcall" #id ".init"))) = fn;
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c:381:1: note: in expansion of macro ‘late_initcall_sync’
- late_initcall_sync(iomcu_power_info_init);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/iomcu_power.c: In function ‘iomcu_power_info_init’:
- ../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]
- { return PTR_ERR(iomcu_power); }
- ^
- CC drivers/huawei_platform/nfc/NXP_PN547_64/pn547.o
- CC drivers/huawei_platform/net/bastet/bastet_sync_seq.o
- CC drivers/huawei_platform/net/bastet/bastet_traffic_flow.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_common.o
- CC fs/ext4/mmp.o
- In file included from ../drivers/huawei_platform/net/bastet/bastet_traffic_flow.c:19:0:
- ../include/linux/netfilter/xt_qtaguid.h:14:26: warning: ‘struct socket’ declared inside parameter list
- int qtaguid_untag(struct socket *sock, bool kernel);
- ^
- ../include/linux/netfilter/xt_qtaguid.h:14:26: warning: its scope is only this definition or declaration, which is probably not what you want
- CC fs/proc/fd.o
- CC net/netfilter/xt_connlimit.o
- CC drivers/hid/hid-keytouch.o
- CC net/netfilter/xt_conntrack.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pno.c:51:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
- #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
- ^
- CC drivers/connectivity/hisi/wifi/dmac/mac_data.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pno.c:32:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
- #define strnicmp strncasecmp
- ^
- CC fs/ext4/indirect.o
- CC fs/ext4/extents_status.o
- CC drivers/hisi/mailbox/hisi_mailbox/hisi_mailbox_dev.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_ip.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_debug_job_fault.o
- CC fs/f2fs/segment.o
- LD drivers/irqchip/built-in.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_smc.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_mem_pool.o
- CC net/netfilter/xt_dscp.o
- ../drivers/kernelsu/core_hook.c: At top level:
- cc1: warning: unrecognized command line option "-Wno-macro-redefined"
- cc1: warning: unrecognized command line option "-Wno-gcc-compat"
- ../drivers/kernelsu/ksud.c: At top level:
- cc1: warning: unrecognized command line option "-Wno-macro-redefined"
- cc1: warning: unrecognized command line option "-Wno-gcc-compat"
- cc1: warning: unrecognized command line option "-Wno-int-conversion"
- cc1: warning: unrecognized command line option "-Wno-int-conversion"
- CC drivers/i2c/busses/hisi_i2c_designware.o
- LD drivers/macintosh/built-in.o
- CC fs/proc/proc_tty.o
- CC lib/decompress_unlz4.o
- CC lib/decompress_inflate.o
- CC drivers/huawei_platform/oases/util.o
- ../drivers/hwzerohung/watchpoint/zrhung_wp_sochalt.c: In function ‘get_sr_position_from_fastboot’:
- CC drivers/md/dm-uevent.o
- ../drivers/hwzerohung/watchpoint/zrhung_wp_sochalt.c:81:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- int fd = sys_open(FASTBOOT_LOG_PATH, O_RDONLY, 0);
- ^
- ../drivers/hwzerohung/watchpoint/zrhung_wp_sochalt.c:99:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- unsigned int i = 0;
- ^
- CC drivers/md/dm.o
- CC drivers/log/hwlog_kernel.o
- CC drivers/kernelsu/kernel_compat.o
- LD drivers/hisi/load_image/built-in.o
- ../drivers/hwzerohung/watchpoint/zrhung_wp_io.c: In function ‘iowp_format_events’:
- ../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=]
- IOWP_INFO("written_len: %d \n", written_len);
- ^
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_mem_pool_debugfs.o
- ../drivers/hwzerohung/watchpoint/zrhung_wp_io.c: In function ‘iowp_event_send_work’:
- ../drivers/hwzerohung/watchpoint/zrhung_wp_io.c:226:2: warning: too many arguments for format [-Wformat-extra-args]
- IOWP_INFO("send event buffer: %s\n", __func__, iowp_logbuf);
- ^
- ../drivers/hwzerohung/watchpoint/zrhung_wp_io.c: In function ‘iowp_report’:
- ../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=]
- IOWP_WARN("buffer length (%d)\n", buf_len);
- ^
- CC fs/ext4/xattr.o
- LD drivers/huawei_platform/iotrace/built-in.o
- CC net/netfilter/xt_ecn.o
- CC drivers/kernelsu/selinux/selinux.o
- CC drivers/huawei_platform/inputhub/hi3660/sensor_detect.o
- CC fs/ntfs/unistr.o
- CC drivers/huawei_platform/inputhub/hi3660/cahub_channel.o
- CC net/netfilter/xt_esp.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_custom_gpio.o
- CC drivers/hisi/mntn/dump.o
- CC drivers/hisi/mntn/util.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.o
- CC net/netfilter/xt_hashlimit.o
- CC fs/ext4/xattr_user.o
- CC drivers/input/keyboard/atkbd.o
- CC fs/ext4/xattr_trusted.o
- CC drivers/hisi/isp/sec.o
- LD fs/sdcardfs/sdcardfs.o
- CC drivers/huawei_platform/power/boost_5v/boost_5v.o
- LD fs/sdcardfs/built-in.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux_sched.o
- CC drivers/huawei_platform/power/buckboost/buckboost.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_tlstream.o
- LD drivers/hisi/memory_dump/built-in.o
- CC drivers/huawei_platform/power/charger/charger_ap/huawei_charger.o
- CC drivers/huawei_platform/power/charger/charger_ap/charging_core.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_cfg80211.o
- LD drivers/leds/trigger/built-in.o
- LD drivers/leds/built-in.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_strings.o
- CC drivers/hid/hid-kye.o
- CC drivers/huawei_platform/inputhub/hi3660/fingerprinthub_channel.o
- ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c: In function ‘pn547_dev_ioctl’:
- ../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=]
- hwlog_err("%s bad arg %u\n", __func__, arg);
- ^
- ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c: In function ‘nfc_get_rssi_show’:
- ../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=]
- hwlog_info("%s:%s,%d\n", __func__, buf, nfc_get_rssi);
- ^
- ../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=]
- return (ssize_t)(snprintf(buf, 256, "%d", nfc_get_rssi));
- ^
- CC drivers/hisi/isp/cma.o
- LD drivers/huawei_platform/emcom/xengine/built-in.o
- ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c: In function ‘nfc_chip_type_store’:
- ../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=]
- hwlog_err("%s: %s count=%d\n", __func__, buf, count);
- ^
- ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c: In function ‘nfc_hal_dmd_info_store’:
- ../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=]
- if (sscanf(buf, "%9d", &val) == 1) {
- ^
- ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c:1657:16: warning: unused variable ‘cnt_hal_dmd’ [-Wunused-variable]
- long val = 0, cnt_hal_dmd = 0;
- ^
- ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c: In function ‘nfc_record_dmd_info’:
- ../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=]
- hwlog_info("%s: para error: %d\n", __func__, dmd_no); /*lint !e960*/
- ^
- ../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=]
- hwlog_info("%s: dmd no: %d - %s", __func__, dmd_no, dmd_info); /*lint !e960*/
- ^
- CC drivers/hisi/isp/smc.o
- ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c: In function ‘recovery_close_nfc’:
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_as_fault_debugfs.o
- ../drivers/huawei_platform/nfc/NXP_PN547_64/pn547.c:1742:16: warning: unused variable ‘get_ven_config’ [-Wunused-variable]
- unsigned char get_ven_config[] = {0x40,0x02,0x02,0x00,0x00};
- ^
- LD drivers/huawei_platform/emcom/smartcare/network_measurement/built-in.o
- LD drivers/huawei_platform/emcom/smartcare/built-in.o
- LD drivers/hwzerohung/watchpoint/built-in.o
- LD drivers/devkit/tpkit/panel/parade/built-in.o
- LD drivers/hwzerohung/built-in.o
- In file included from ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:31:0:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.h:491:1: warning: useless storage class specifier in empty declaration
- };
- ^
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_regs_history_debugfs.o
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘read_cap_prox_calibrate_data_from_nv’:
- CC net/netfilter/xt_helper.o
- ../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=]
- hwlog_info("idac:%d, rawdata:%d length:%d %d\n",
- ^
- ../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=]
- hwlog_info("sx9323:offset=%d, diff=%d length:%d %d\n",
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘read_capprox_data_from_dts’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:1037:53: warning: passing argument 3 of ‘of_property_read_string’ from incompatible pointer type
- if (of_property_read_string(dn, "calibrate_order", &sar_calibrate_order)) {
- ^
- In file included from ../include/huawei_platform/power/direct_charger.h:10:0,
- from ../include/huawei_platform/power/huawei_charger.h:30,
- from ../include/huawei_platform/power/charging_core_sh.h:18,
- from ../drivers/huawei_platform/inputhub/hi3660/inputhub_bridge.h:14,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:21:
- ../include/linux/of.h:314:12: note: expected ‘const char **’ but argument is of type ‘char **’
- extern int of_property_read_string(const struct device_node *np,
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘read_motion_data_from_dts’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:1284:6: warning: unused variable ‘temp’ [-Wunused-variable]
- int temp = 0;
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘handpress_sensor_detect’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:1835:14: warning: unused variable ‘irq’ [-Wunused-variable]
- u32 id = 0, irq = 0, points = 0, reg = 0;
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘key_sensor_detect’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:2052:10: warning: unused variable ‘u8_temp’ [-Wunused-variable]
- uint8_t u8_temp;
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘get_combo_prop’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:2259:54: warning: passing argument 3 of ‘of_property_read_string’ from incompatible pointer type
- ret = of_property_read_string(dn, "combo_bus_type", &bus_type);
- ^
- In file included from ../include/huawei_platform/power/direct_charger.h:10:0,
- from ../include/huawei_platform/power/huawei_charger.h:30,
- from ../include/huawei_platform/power/charging_core_sh.h:18,
- from ../drivers/huawei_platform/inputhub/hi3660/inputhub_bridge.h:14,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:21:
- ../include/linux/of.h:314:12: note: expected ‘const char **’ but argument is of type ‘char **’
- extern int of_property_read_string(const struct device_node *np,
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘device_detect’:
- ../fs/f2fs/node.c: In function ‘move_node_page’:
- ../fs/f2fs/node.c:1538:24: warning: unused variable ‘sbi’ [-Wunused-variable]
- struct f2fs_sb_info *sbi = F2FS_P_SB(node_page);
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:2464:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- uint32_t disable;
- ^
- LD drivers/huawei_platform/emcom/built-in.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/thirdparty/mali_kbase_mmap.o
- LD drivers/devkit/tpkit/panel/built-in.o
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘gyro_calibrate_data_from_mcu’:
- ../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
- return write_gyro_sensor_offset_to_nv(((const
- ^
- In file included from ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:31:0:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.h:590:12: note: expected ‘char *’ but argument is of type ‘const char *’
- extern int write_gyro_sensor_offset_to_nv(char *temp, int length);
- ^
- In file included from ../include/linux/kernel.h:13:0,
- from ../include/linux/list.h:8,
- from ../include/linux/module.h:9,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:1:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c: In function ‘aod_test’:
- ../include/linux/printk.h:290:2: warning: ‘phy_framebuffer’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_debug.c:295:6: note: ‘phy_framebuffer’ was declared here
- u64 phy_framebuffer;
- ^
- LD drivers/log_usertype/built-in.o
- In file included from ../include/linux/mm_types.h:15:0,
- from ../include/linux/sched.h:27,
- from ../arch/arm64/include/asm/compat.h:25,
- from ../arch/arm64/include/asm/stat.h:23,
- from ../include/linux/stat.h:5,
- from ../include/linux/module.h:10,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:16:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘sensor_redetect_init’:
- ../include/linux/workqueue.h:219:17: warning: assignment from incompatible pointer type
- (_work)->func = (_func); \
- ^
- ../include/linux/workqueue.h:224:2: note: in expansion of macro ‘__INIT_WORK’
- __INIT_WORK((_work), (_func), 0)
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:3044:2: note: in expansion of macro ‘INIT_WORK’
- INIT_WORK(&redetect_work, redetect_sensor_work_handler);
- ^
- ../fs/f2fs/node.c: In function ‘flush_nat_entries’:
- ../fs/f2fs/node.c:2834:15: warning: unused variable ‘over_journal’ [-Wunused-variable]
- unsigned int over_journal = 0;
- ^
- LD fs/notify/inotify/built-in.o
- CC drivers/iommu/hisi/hisi_smmu_lpae.o
- LD fs/notify/built-in.o
- CC drivers/input/keyboard/hisi_gpio_key.o
- CC drivers/hisi/isp/qos.o
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘motion_set_cfg_data’:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:3007:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- CC drivers/mfd/mfd-core.o
- CC fs/ext4/inline.o
- CC drivers/hisi/isp/sensor.o
- CC lib/dma-noop.o
- CC net/netfilter/xt_hl.o
- CC drivers/huawei_platform/power/cpu_buck/cpu_buck.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_gmc.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/platform/hisilicon/mali_kbase_config_hisilicon.o
- LD drivers/kernelsu/kernelsu.o
- LD drivers/devkit/tpkit/built-in.o
- CC drivers/hisi/jpu/hisi_jpu_isr.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux_wq.o
- LD drivers/media/common/b2c2/built-in.o
- CC drivers/mfd/hisi_pmic.o
- CC drivers/huawei_platform/oases/vmarea.o
- CC drivers/huawei_platform/oases/plts.o
- LD drivers/media/common/saa7146/built-in.o
- CC drivers/huawei_platform/oases/kallsyms.o
- CC net/netfilter/xt_iprange.o
- CC drivers/md/dm-table.o
- CC drivers/md/dm-target.o
- LD drivers/media/common/siano/built-in.o
- ../drivers/huawei_platform/inputhub/hi3660/cahub_channel.c: In function ‘cahub_init’:
- ../drivers/huawei_platform/inputhub/hi3660/cahub_channel.c:168:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- int ret;
- ^
- CC drivers/input/misc/hisi_powerkey_ssi.o
- In file included from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:57:0:
- ../include/huawei_platform/usb/switch/switch_fsa9685.h:15:0: warning: "FSA9685_OPEN" redefined
- #define FSA9685_OPEN (0)
- ^
- ../fs/f2fs/segment.c: In function ‘f2fs_wait_discard_bios’:
- ../fs/f2fs/segment.c:1583:30: warning: unused variable ‘dcc’ [-Wunused-variable]
- struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info;
- ^
- In file included from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:35:0:
- ../drivers/huawei_platform/usb/switch/switch_ap/switch_usb_class.h:22:0: note: this is the location of the previous definition
- #define FSA9685_OPEN 0
- ^
- In file included from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:57:0:
- ../include/huawei_platform/usb/switch/switch_fsa9685.h:16:0: warning: "FSA9685_USB1_ID_TO_IDBYPASS" redefined
- #define FSA9685_USB1_ID_TO_IDBYPASS (1)
- ^
- In file included from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:35:0:
- ../drivers/huawei_platform/usb/switch/switch_ap/switch_usb_class.h:26:0: note: this is the location of the previous definition
- #define FSA9685_USB1_ID_TO_IDBYPASS 1
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charger_event_work’:
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:521:16: warning: unused variable ‘flag’ [-Wunused-variable]
- unsigned long flag;
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:520:16: warning: unused variable ‘timeout’ [-Wunused-variable]
- unsigned long timeout;
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charge_get_vbus’:
- ../drivers/huawei_platform/net/bastet/bastet_sync_seq.c: In function ‘request_sock_sync’:
- ../drivers/huawei_platform/net/bastet/bastet_sync_seq.c:123:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- int err;
- ^
- ../drivers/huawei_platform/net/bastet/bastet_sync_seq.c: In function ‘do_sock_send_prepare’:
- ../drivers/huawei_platform/net/bastet/bastet_sync_seq.c:143:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- u8 sync_state = sk->bastet->bastet_sock_state;
- ^
- ../drivers/huawei_platform/net/bastet/bastet_sync_seq.c: In function ‘bastet_rcvqueues_full’:
- ../drivers/huawei_platform/net/bastet/bastet_sync_seq.c:185:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct bastet_sock *bsk = sk->bastet;
- ^
- CC drivers/input/misc/uinput.o
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:714:2: warning: too many arguments for format [-Wformat-extra-args]
- hwlog_err("NULL pointer\n",__func__);
- ^
- CC fs/ext4/readpage.o
- In file included from ../include/linux/list.h:8:0,
- from ../include/linux/module.h:9,
- from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:15:
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charge_set_input_current’:
- ../include/linux/kernel.h:745:16: warning: comparison of distinct pointer types lacks a cast
- (void) (&min1 == &min2); \
- ^
- ../include/linux/kernel.h:748:2: note: in expansion of macro ‘__min’
- __min(typeof(x), typeof(y), \
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:1000:8: note: in expansion of macro ‘min’
- iin = min(iin, di->input_current);
- ^
- ../drivers/huawei_platform/net/bastet/bastet_traffic_flow.c: In function ‘bastet_search_entry’:
- ../drivers/huawei_platform/net/bastet/bastet_traffic_flow.c:284:16: warning: assignment makes pointer from integer without a cast
- loc_cpu_entry = newinfo->entries[raw_smp_processor_id()];
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charge_rename_charger_type’:
- ../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]
- case CHARGER_TYPE_WIRELESS:
- ^
- ../drivers/huawei_platform/net/bastet/bastet_sync_seq.c: In function ‘bastet_sock_release’:
- ../fs/f2fs/segment.c: In function ‘get_new_segment_subdivision’:
- ../fs/f2fs/segment.c:2772:1: warning: label ‘skip_left’ defined but not used [-Wunused-label]
- skip_left:
- ^
- CC drivers/input/misc/hisi_vibrator.o
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charge_send_uevent’:
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:1183:14: warning: unused variable ‘wired_vbus_flag’ [-Wunused-variable]
- static bool wired_vbus_flag = true;
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘pd_charge_check’:
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:1555:15: warning: unused variable ‘i’ [-Wunused-variable]
- int ret = 0, i = 0;
- ^
- CC drivers/huawei_platform/oases/inlinehook.o
- ../drivers/huawei_platform/net/bastet/bastet_sync_seq.c:1165:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct bst_close_sock_prop prop;
- ^
- LD drivers/media/common/v4l2-tpg/built-in.o
- CC drivers/hisi/ivp/ivp_core.o
- CC drivers/huawei_platform/power/hw_kstate/hw_kstate.o
- In file included from ../include/uapi/linux/posix_types.h:4:0,
- from ../include/uapi/linux/types.h:13,
- from ../include/linux/compiler.h:228,
- from ../include/linux/init.h:4,
- from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:14:
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charge_update_status’:
- ../include/linux/stddef.h:7:14: warning: passing argument 2 of ‘blocking_notifier_call_chain’ makes integer from pointer without a cast
- #define NULL ((void *)0)
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:3370:61: note: in expansion of macro ‘NULL’
- blocking_notifier_call_chain(&charge_wake_unlock_list, NULL, NULL);
- ^
- In file included from ../include/linux/memory_hotplug.h:6:0,
- from ../include/linux/mmzone.h:814,
- from ../include/linux/topology.h:32,
- from ../include/linux/sched.h:42,
- from ../arch/arm64/include/asm/compat.h:25,
- from ../arch/arm64/include/asm/stat.h:23,
- from ../include/linux/stat.h:5,
- from ../include/linux/module.h:10,
- from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:15:
- ../include/linux/notifier.h:146:12: note: expected ‘long unsigned int’ but argument is of type ‘void *’
- extern int blocking_notifier_call_chain(struct blocking_notifier_head *nh,
- ^
- LD drivers/media/firewire/built-in.o
- CC net/netfilter/xt_length.o
- CC fs/proc/cmdline.o
- CC fs/ext4/sysfs.o
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charge_rename_pd_charger_type’:
- ../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]
- case PD_DPM_VBUS_TYPE_TYPEC:
- ^
- ../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]
- case PD_DPM_VBUS_TYPE_PD:
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charger_type_handler’:
- ../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]
- case PD_DPM_VBUS_TYPE_TYPEC:
- ^
- ../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]
- case PD_DPM_VBUS_TYPE_PD:
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘pd_dpm_notifier_call’:
- ../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=]
- hwlog_info("%s ++ , event = %d\n", __func__, event);
- ^
- LD drivers/media/common/built-in.o
- LD drivers/hisi/mailbox/hisi_mailbox/built-in.o
- LD drivers/hisi/mailbox/built-in.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_common.c:55:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
- #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_common.c:30:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
- #define strnicmp strncasecmp
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charge_sysfs_store’:
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:4693:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- enum hisi_charger_type type = hisi_get_charger_type();
- ^
- ../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=]
- hwlog_info("RUNNINGTEST set hiz enable = %d\n", val);
- ^
- In file included from ../include/linux/mm_types.h:15:0,
- from ../include/linux/sched.h:27,
- from ../arch/arm64/include/asm/compat.h:25,
- from ../arch/arm64/include/asm/stat.h:23,
- from ../include/linux/stat.h:5,
- from ../include/linux/module.h:10,
- from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:15:
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charge_probe’:
- ../include/linux/workqueue.h:219:17: warning: assignment from incompatible pointer type
- (_work)->func = (_func); \
- ^
- ../include/linux/workqueue.h:224:2: note: in expansion of macro ‘__INIT_WORK’
- __INIT_WORK((_work), (_func), 0)
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:5193:2: note: in expansion of macro ‘INIT_WORK’
- INIT_WORK(&resume_wakelock_work, charge_resume_wakelock_work);
- ^
- CC fs/f2fs/recovery.o
- aarch64-elf-gcc -c -o drivers/huawei_platform/oases/inlinehook_func_pre.oas ../drivers/huawei_platform/oases/inlinehook_func_pre.S
- CC drivers/hisi/modem/drv/adp/adp_ipc.o
- ../include/linux/workqueue.h:219:17: warning: assignment from incompatible pointer type
- (_work)->func = (_func); \
- ^
- ../include/linux/workqueue.h:224:2: note: in expansion of macro ‘__INIT_WORK’
- __INIT_WORK((_work), (_func), 0)
- ^
- ../include/linux/workqueue.h:231:3: note: in expansion of macro ‘INIT_WORK’
- INIT_WORK(&(_work)->work, (_func)); \
- ^
- ../include/linux/workqueue.h:247:2: note: in expansion of macro ‘__INIT_DELAYED_WORK’
- __INIT_DELAYED_WORK(_work, _func, 0)
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:5200:2: note: in expansion of macro ‘INIT_DELAYED_WORK’
- INIT_DELAYED_WORK(&di->plugout_uscp_work, uscp_plugout_send_uevent);
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: At top level:
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:152:12: warning: ‘input_current_step’ defined but not used [-Wunused-variable]
- static int input_current_step;
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:153:12: warning: ‘input_current_delay’ defined but not used [-Wunused-variable]
- static int input_current_delay;
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:154:12: warning: ‘input_current_now’ defined but not used [-Wunused-variable]
- static int input_current_now;
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:155:12: warning: ‘iin_set_complete_flag’ defined but not used [-Wunused-variable]
- static int iin_set_complete_flag;
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:794:12: warning: ‘dump_bootloader_info’ defined but not used [-Wunused-function]
- static int dump_bootloader_info(char *reg_value)
- ^
- LD drivers/media/i2c/soc_camera/built-in.o
- CC fs/ntfs/upcase.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_common.c:1616:1: warning: ‘dngl_host_event’ defined but not used [-Wunused-function]
- dngl_host_event(dhd_pub_t *dhdp, void *pktdata, bcm_dngl_event_msg_t *dngl_event, size_t pktlen)
- ^
- LD drivers/media/i2c/built-in.o
- In file included from ../drivers/huawei_platform/oases/inlinehook.c:21:0:
- ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
- static inline int oases_insn_patch_nosync(void* addr, u32 insn);
- ^
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/platform/hisilicon/mali_kbase_hisi_callback.o
- CC fs/f2fs/shrinker.o
- CC drivers/media/jpeg/jpeg_base.o
- ../drivers/huawei_platform/inputhub/hi3660/fingerprinthub_channel.c: In function ‘fhb_write’:
- ../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=]
- hwlog_err("fingerprint: fhb_write len is out of size, len=%d\n", len);
- ^
- CC fs/ntfs/bitmap.o
- CC drivers/huawei_platform/power/charger/charger_sensorhub/huawei_charger_sh.o
- CC drivers/input/mouse/psmouse-base.o
- ../drivers/huawei_platform/inputhub/hi3660/fingerprinthub_channel.c: In function ‘fingerprint_report’:
- ../drivers/huawei_platform/inputhub/hi3660/fingerprinthub_channel.c:189:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- int fingerprint_data = fingerprint_upload.data;
- ^
- ../drivers/huawei_platform/inputhub/hi3660/fingerprinthub_channel.c: In function ‘enable_fingerprint_when_recovery_iom3’:
- ../drivers/huawei_platform/inputhub/hi3660/fingerprinthub_channel.c:303:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- fingerprint_type_t type;
- ^
- CC drivers/hisi/noc/hisi_noc.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/hisi_ipa/mali_kbase_ipa_ctx.o
- aarch64-elf-gcc -c -o drivers/huawei_platform/oases/inlinehook_func_post.oas ../drivers/huawei_platform/oases/inlinehook_func_post.S
- CC drivers/media/huawei/camera/hwcam_usrdev.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/aiutils.o
- CC fs/proc/consoles.o
- CC fs/ext4/acl.o
- CC drivers/hid/hid-lcpower.o
- aarch64-elf-gcc -c -o drivers/huawei_platform/oases/inlinehook_func_pre_post.oas ../drivers/huawei_platform/oases/inlinehook_func_pre_post.S
- CC drivers/huawei_platform/net/hw_dpi_mark/dpi_hw_hook.o
- CC drivers/hisi/isp/isp.o
- aarch64-elf-gcc -c -o drivers/huawei_platform/oases/inlinehook_subfunc_pre.oas ../drivers/huawei_platform/oases/inlinehook_subfunc_pre.S
- CC drivers/kernelsu/selinux/sepolicy.o
- aarch64-elf-gcc -c -o drivers/huawei_platform/oases/inlinehook_subfunc_post.oas ../drivers/huawei_platform/oases/inlinehook_subfunc_post.S
- CC net/netfilter/xt_limit.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/bcmevent.o
- ../drivers/huawei_platform/power/cpu_buck/cpu_buck.c:26:12: warning: ‘g_fault_happened’ initialized and declared ‘extern’
- extern int g_fault_happened = 0;
- ^
- ../drivers/huawei_platform/power/cpu_buck/cpu_buck.c: In function ‘cpu_buck_register’:
- ../drivers/huawei_platform/power/cpu_buck/cpu_buck.c:48:9: warning: assignment from incompatible pointer type
- g_cbs = p_cbs;
- ^
- ../drivers/huawei_platform/power/cpu_buck/cpu_buck.c:52:7: warning: assignment from incompatible pointer type
- cbs = g_cbs;
- ^
- ../drivers/huawei_platform/power/cpu_buck/cpu_buck.c: In function ‘update_err_msg’:
- ../drivers/huawei_platform/power/cpu_buck/cpu_buck.c:80:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- char extra_err_msg[MAX_EXTRA_ERR_MSG_LEN] = {0};
- ^
- ../drivers/huawei_platform/power/cpu_buck/cpu_buck.c: In function ‘cpu_buck_work’:
- ../drivers/huawei_platform/power/cpu_buck/cpu_buck.c:98:32: warning: initialization from incompatible pointer type
- struct cpu_buck_sample* cbs = g_cbs;
- ^
- CC drivers/huawei_platform/inputhub/hi3660/sensor_sys_info.o
- In file included from ../drivers/huawei_platform/oases/plts.c:24:0:
- ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
- static inline int oases_insn_patch_nosync(void* addr, u32 insn);
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/charging_core.c:35:1: warning: missing braces around initializer [-Wmissing-braces]
- static u32 BASP_VOL_SEGMENT_PARA[BASP_PARA_LEVEL][BASP_VOL_SEGMENT_COLUMN-1] = {0};
- ^
- CC drivers/huawei_platform/oases/patch_addr.o
- ../drivers/huawei_platform/power/charger/charger_ap/charging_core.c:35:1: warning: (near initialization for ‘BASP_VOL_SEGMENT_PARA[0]’) [-Wmissing-braces]
- CC drivers/huawei_platform/net/bastet/bastet_dev.o
- CC net/netfilter/xt_mac.o
- CC drivers/hisi/mntn/mntn_filesys.o
- CC drivers/hisi/ocbc/ocbc.o
- CC drivers/hisi/ivp/ivpv150/ivp_atf_subsys.o
- CC drivers/hisi/mntn/fastbootlog.o
- ../drivers/huawei_platform/power/charger/charger_ap/charging_core.c: In function ‘charging_core_parse_iterm’:
- ../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
- ret = of_property_read_string_index(np, "iterm_para", i, &outstring);
- ^
- In file included from ../drivers/huawei_platform/power/charger/charger_ap/charging_core.c:19:0:
- ../include/linux/of.h:1008:19: note: expected ‘const char **’ but argument is of type ‘char **’
- static inline int of_property_read_string_index(const struct device_node *np,
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_cfg80211.c:32:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
- #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_cfg80211.c:30:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
- #define strnicmp strncasecmp
- ^
- CC drivers/hisi/mntn/hisi_bootup_keypoint.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/bcmutils.o
- CC drivers/huawei_platform/oases/patch_base.o
- LD drivers/media/mmc/siano/built-in.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_sync_file.o
- LD drivers/huawei_platform/power/buckboost/built-in.o
- In file included from ../drivers/huawei_platform/oases/kallsyms.c:16:0:
- ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
- static inline int oases_insn_patch_nosync(void* addr, u32 insn);
- ^
- LD drivers/media/mmc/built-in.o
- CC fs/ext4/xattr_security.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/bcmwifi_channels.o
- CC drivers/huawei_platform/power/hw_ptm/hw_power_monitor.o
- CC net/netfilter/xt_multiport.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hndpmu.o
- CC drivers/huawei_platform/power/power_dsm/power_dsm.o
- CC drivers/hisi/ivp/ivpv150/ivp_platform.o
- CC drivers/hisi/perfhub/hisi_perfhub.o
- LD drivers/huawei_platform/power/boost_5v/built-in.o
- LD drivers/i2c/busses/i2c-designware-platform.o
- CC net/netfilter/xt_pkttype.o
- LD drivers/log/built-in.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/linux_osl.o
- LD drivers/i2c/busses/built-in.o
- LD drivers/i2c/built-in.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/sbutils.o
- LD drivers/media/pci/b2c2/built-in.o
- CC drivers/huawei_platform/power/power_mesg/power_genl.o
- LD drivers/media/pci/ddbridge/built-in.o
- CC drivers/huawei_platform/power/charger/huawei_charger_common.o
- CC drivers/huawei_platform/power/charger/huawei_charger_power_interface.o
- LD drivers/media/pci/dm1105/built-in.o
- CC fs/ntfs/lcnalloc.o
- CC net/netfilter/xt_policy.o
- In file included from ../include/linux/kernel.h:13:0,
- from ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:14:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c: In function ‘extend_config_after_sensor_detect’:
- LD drivers/media/platform/omap/built-in.o
- ../include/linux/printk.h:283:2: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
- ^
- ../drivers/huawei_platform/inputhub/hi3660/sensor_detect.c:1452:16: note: ‘ret’ was declared here
- int temp = 0, ret;
- ^
- CC drivers/hisi/pm/pm.o
- LD drivers/media/pci/mantis/built-in.o
- CC drivers/hisi/modem/drv/balong_timer/timer_slice.o
- LD drivers/media/pci/netup_unidvb/built-in.o
- CC drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/siutils.o
- LD drivers/misc/cb710/built-in.o
- ../drivers/gpu/arm/bifrost-r14p0-00cet0/platform/hisilicon/mali_kbase_config_hisilicon.c: In function ‘kbase_platform_init’:
- ../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
- callbacks);
- ^
- In file included from ../drivers/gpu/arm/bifrost-r14p0-00cet0/platform/hisilicon/mali_kbase_config_hisilicon.c:25:0:
- ../include/linux/devfreq_cooling.h:47:1: note: expected ‘struct devfreq_cooling_power *’ but argument is of type ‘struct devfreq_cooling_ops *’
- of_devfreq_cooling_register_power(struct device_node *np, struct devfreq *df,
- ^
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_sync_common.o
- CC drivers/huawei_platform/oases/hook_insn.o
- LD drivers/media/platform/built-in.o
- ../drivers/media/huawei/camera/hwcam_usrdev.c:300:20: warning: initialization from incompatible pointer type
- .queue_setup = hwcam_user_vb2q_queue_setup, /*lint !e64 */
- ^
- ../drivers/media/huawei/camera/hwcam_usrdev.c:300:20: warning: (near initialization for ‘s_qops_hwcam_vbuf.queue_setup’)
- ../drivers/media/huawei/camera/hwcam_usrdev.c:333:20: warning: initialization from incompatible pointer type
- .get_userptr = hwcam_user_vb2q_get_userptr,
- ^
- ../drivers/media/huawei/camera/hwcam_usrdev.c:333:20: warning: (near initialization for ‘s_mops_hwcam_vbuf.get_userptr’)
- CC drivers/hisi/modem/drv/adp/adp_icc.o
- CC drivers/huawei_platform/inputhub/hi3660/kbhub_channel.o
- LD drivers/media/pci/ngene/built-in.o
- In file included from ../drivers/huawei_platform/oases/patch_addr.c:13:0:
- ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
- static inline int oases_insn_patch_nosync(void* addr, u32 insn);
- ^
- CC fs/proc/cpuinfo.o
- LD drivers/media/pci/pluto2/built-in.o
- CC fs/proc/devices.o
- LD drivers/misc/eeprom/built-in.o
- LD drivers/media/radio/built-in.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:92:
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
- #ifndef _DRIVER_REGISTER.H
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
- #define _DRIVER_REGISTER.H
- ^
- LD drivers/media/jpeg/built-in.o
- LD drivers/media/tuners/built-in.o
- LD drivers/media/rc/keymaps/built-in.o
- CC drivers/huawei_platform/power/cpu_buck/hi6422v200/hi6422v200.o
- LD drivers/media/spi/built-in.o
- LD drivers/media/pci/pt1/built-in.o
- LD drivers/media/rc/built-in.o
- CC fs/proc/interrupts.o
- CC fs/proc/meminfo.o
- CC fs/proc/loadavg.o
- CC drivers/media/huawei/camera/hwcam_cfgdev.o
- CC drivers/hisi/noc/hisi_noc_err_probe.o
- LD drivers/misc/lis3lv02d/built-in.o
- LD drivers/media/pci/pt3/built-in.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:100:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
- #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:67:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
- #define strnicmp strncasecmp
- ^
- LD drivers/media/usb/b2c2/built-in.o
- LD drivers/media/usb/dvb-usb/built-in.o
- CC drivers/media/huawei/camera/hwcam_cfgpipeline.o
- CC drivers/mfd/hisi_pmic_dcxo.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_sta_pool_init’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:1239:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- int prio = 0;
- ^
- LD drivers/media/pci/saa7146/built-in.o
- LD drivers/media/usb/dvb-usb-v2/built-in.o
- LD drivers/media/usb/s2255/built-in.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_sta_pool_clear’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:1319:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- int prio = 0;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_bssidx2idx’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:1466:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- dhd_info_t *dhd = dhdp->info;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_set_suspend’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:1993:6: warning: unused variable ‘bcn_to_dly’ [-Wunused-variable]
- int bcn_to_dly = 0;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:1990:6: warning: unused variable ‘lpas’ [-Wunused-variable]
- int lpas = 0;
- ^
- CC drivers/hisi/noc/hisi_noc_packet.o
- CC drivers/mmc/card/block.o
- LD drivers/misc/mic/bus/built-in.o
- CC lib/dump_stack.o
- LD drivers/input/keyboard/built-in.o
- CC lib/earlycpio.o
- CC drivers/hisi/mntn/boottime.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_open’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:5292:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- char dmdbuf[DHD_PCIE_BUF_SIZE + 1] = {0};
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_allocate_if’:
- ../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]
- return;
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/linuxver.h:76:0,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:29:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_attach’:
- ../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
- PROC_START(dhd_devwake_thread, dhd, &dhd->devwake_tsk, 0, "dhd_devwake_thread");
- ^
- ../include/linux/kthread.h:25:25: note: in definition of macro ‘kthread_create’
- kthread_create_on_node(threadfn, data, NUMA_NO_NODE, namefmt, ##arg)
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/linuxver.h:634:23: note: in expansion of macro ‘kthread_run’
- (tsk_ctl)->p_task = kthread_run(thread_func, tsk_ctl, (char*)name); \
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:6271:2: note: in expansion of macro ‘PROC_START’
- PROC_START(dhd_devwake_thread, dhd, &dhd->devwake_tsk, 0, "dhd_devwake_thread");
- ^
- ../include/linux/kthread.h:8:21: note: expected ‘int (*)(void *)’ but argument is of type ‘void (*)(void *)’
- struct task_struct *kthread_create_on_node(int (*threadfn)(void *data),
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_bus_start’:
- ../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]
- return;
- ^
- CC drivers/mmc/card/queue.o
- LD drivers/media/usb/siano/built-in.o
- LD drivers/media/pci/smipcie/built-in.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_preinit_ioctls’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:7625:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- u32 wl_down = 1;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:7115:9: warning: unused variable ‘dongle_align’ [-Wunused-variable]
- uint32 dongle_align = DHD_SDALIGN;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_register_if’:
- ../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]
- return;
- ^
- ../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]
- return;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_dev_get_drop_pkt’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:10966:10: warning: unused variable ‘i’ [-Wunused-variable]
- int ret,i;
- ^
- LD drivers/misc/mic/built-in.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘dhd_hang_process’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c:11164:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- int ret = 0;
- ^
- LD drivers/media/pci/ttpci/built-in.o
- CC drivers/hisi/noc/hisi_noc_transcation.o
- CC drivers/hisi/mntn/bl31/hisi_bl31_exception.o
- LD drivers/media/usb/stkwebcam/built-in.o
- LD drivers/media/pci/built-in.o
- CC drivers/media/v4l2-core/v4l2-dev.o
- CC drivers/hid/hid-lenovo.o
- CC drivers/media/v4l2-core/v4l2-ioctl.o
- CC drivers/media/v4l2-core/v4l2-device.o
- CC drivers/media/v4l2-core/v4l2-fh.o
- LD drivers/misc/ti-st/built-in.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux.c: In function ‘show_watchdog_time’:
- ../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=]
- DHD_ERROR(("%s: read dhd_watchdog_ms %d\n", __FUNCTION__, hw_watchdog_time));
- ^
- ../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=]
- ret = sprintf(buf, "%d\n", hw_watchdog_time);
- ^
- LD drivers/media/usb/ttusb-budget/built-in.o
- CC drivers/misc/uid_sys_stats.o
- CC drivers/misc/memory_state_time.o
- CC drivers/huawei_platform/power/power_mesg/power_mesg.o
- CC fs/ntfs/logfile.o
- CC drivers/mmc/card/ffu.o
- CC drivers/hisi/mntn/bl31/hisi_bl31_trace.o
- CC drivers/hisi/mntn/blackbox/rdr_core.o
- LD drivers/media/usb/ttusb-dec/built-in.o
- In file included from ../drivers/huawei_platform/power/charger/charger_sensorhub/huawei_charger_sh.c:52:0:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.h:491:1: warning: useless storage class specifier in empty declaration
- };
- ^
- ../drivers/huawei_platform/power/charger/charger_sensorhub/huawei_charger_sh.c:194:1: warning: useless storage class specifier in empty declaration
- };
- ^
- ../drivers/huawei_platform/power/charger/charger_sensorhub/huawei_charger_sh.c:825:1: warning: useless storage class specifier in empty declaration
- };
- ^
- LD drivers/iommu/hisi/built-in.o
- CC drivers/hisi/pm/hisi_lpregs.o
- CC drivers/mmc/core/core.o
- LD drivers/iommu/built-in.o
- LD drivers/media/usb/zr364xx/built-in.o
- ../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]
- static void charge_process_vr_charge_event(struct charge_device_info_sh *di)
- ^
- LD drivers/media/usb/built-in.o
- CC fs/proc/stat.o
- CC drivers/hisi/pm/suspend.o
- CC fs/proc/uptime.o
- CC drivers/huawei_platform/power/charger/charger_sensorhub/charging_core_sh.o
- CC fs/ntfs/quota.o
- CC fs/proc/version.o
- CC drivers/mmonitor/mmonitor.o
- CC fs/ntfs/usnjrnl.o
- CC lib/extable.o
- CC drivers/huawei_platform/oases/sysfs.o
- ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c: In function ‘charger_dsm_report’:
- ../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=]
- }
- ^
- LD drivers/input/input-core.o
- CC drivers/hisi/secs_power_ctrl/secs_power_ctrl.o
- CC drivers/hisi/modem/drv/adp/adp_pm_om.o
- CC drivers/kernelsu/selinux/rules.o
- CC net/netfilter/xt_qtaguid_print.o
- CC drivers/input/mouse/synaptics.o
- CC drivers/misc/fastchg.o
- CC net/netfilter/xt_qtaguid.o
- ../fs/f2fs/segment.c:2774:9: warning: ‘secno’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- zoneno = GET_ZONE_FROM_SEC(sbi, secno);
- ^
- ../drivers/huawei_platform/power/power_mesg/power_genl.c: In function ‘power_genl_easy_send’:
- ../drivers/huawei_platform/power/power_mesg/power_genl.c:66:9: warning: unused variable ‘i’ [-Wunused-variable]
- int i;
- ^
- ../drivers/kernelsu/selinux/sepolicy.c:64:0: warning: "hash_for_each" redefined
- #define hash_for_each(node_ptr, n_slot, cur) \
- ^
- In file included from ../include/linux/netdevice.h:55:0,
- from ../include/net/sock.h:51,
- from ../include/net/request_sock.h:23,
- from ../include/net/netlabel.h:39,
- from ../security/selinux/ss/ebitmap.h:17,
- from ../security/selinux/ss/context.h:18,
- from ../security/selinux/ss/sidtab.h:10,
- from ../security/selinux/ss/policydb.h:29,
- from ../drivers/kernelsu/selinux/sepolicy.h:6,
- from ../drivers/kernelsu/selinux/sepolicy.c:1:
- ../include/linux/hashtable.h:125:0: note: this is the location of the previous definition
- #define hash_for_each(name, bkt, obj, member) \
- ^
- ../drivers/kernelsu/selinux/sepolicy.c: In function ‘add_type’:
- CC drivers/hisi/modem/drv/bbp/bbp_balong.o
- CC drivers/huawei_platform/power/hw_kstate/hw_kcollect.o
- ../drivers/kernelsu/selinux/sepolicy.c:685:41: warning: initialization makes pointer from integer without a cast
- struct flex_array *new_type_attr_map = flex_array_alloc(sizeof(struct ebitmap),
- ^
- ../drivers/kernelsu/selinux/sepolicy.c:688:46: warning: initialization makes pointer from integer without a cast
- struct flex_array *new_type_val_to_struct = flex_array_alloc(sizeof(struct type_datum *),
- ^
- ../drivers/kernelsu/selinux/sepolicy.c:691:45: warning: initialization makes pointer from integer without a cast
- struct flex_array *new_val_to_name_types = flex_array_alloc(sizeof(char *),
- ^
- ../drivers/kernelsu/selinux/sepolicy.c:731:35: error: ‘struct ebitmap’ has no member named ‘total_nr_elements’
- for (j = 0; j < db->type_attr_map->total_nr_elements; j++) {
- ^
- ../drivers/kernelsu/selinux/sepolicy.c:732:12: warning: assignment makes pointer from integer without a cast
- old_elem = flex_array_get(db->type_attr_map, j);
- ^
- ../drivers/kernelsu/selinux/sepolicy.c:738:40: error: request for member ‘total_nr_elements’ in something not a structure or union
- for (j = 0; j < db->type_val_to_struct->total_nr_elements; j++) {
- ^
- ../drivers/kernelsu/selinux/sepolicy.c:739:12: warning: assignment makes pointer from integer without a cast
- old_elem = flex_array_get_ptr(db->type_val_to_struct, j);
- ^
- ../drivers/kernelsu/selinux/sepolicy.c:746:12: warning: assignment makes pointer from integer without a cast
- old_elem = flex_array_get_ptr(db->sym_val_to_name[SYM_TYPES], j);
- ^
- ../drivers/kernelsu/selinux/sepolicy.c:755:9: warning: assignment from incompatible pointer type
- old_fa = db->type_attr_map;
- ^
- ../drivers/kernelsu/selinux/sepolicy.c:756:20: warning: assignment from incompatible pointer type
- db->type_attr_map = new_type_attr_map;
- ^
- ../drivers/kernelsu/selinux/sepolicy.c:761:15: warning: passing argument 1 of ‘ebitmap_init’ makes pointer from integer without a cast
- ebitmap_init(flex_array_get(db->type_attr_map, value - 1));
- ^
- ../drivers/huawei_platform/power/power_mesg/power_mesg.c: In function ‘power_msg_init’:
- ../drivers/huawei_platform/power/power_mesg/power_mesg.c:113:21: warning: unused variable ‘dev’ [-Wunused-variable]
- struct device * dev;
- ^
- In file included from ../security/selinux/ss/context.h:18:0,
- from ../security/selinux/ss/sidtab.h:10,
- from ../security/selinux/ss/policydb.h:29,
- from ../drivers/kernelsu/selinux/sepolicy.h:6,
- from ../drivers/kernelsu/selinux/sepolicy.c:1:
- ../security/selinux/ss/ebitmap.h:66:20: note: expected ‘struct ebitmap *’ but argument is of type ‘int’
- static inline void ebitmap_init(struct ebitmap *e, const bool protectable)
- ^
- ../drivers/kernelsu/selinux/sepolicy.c:761:2: error: too few arguments to function ‘ebitmap_init’
- ebitmap_init(flex_array_get(db->type_attr_map, value - 1)); # TAGS
- ^
- In file included from ../security/selinux/ss/context.h:18:0,
- from ../security/selinux/ss/sidtab.h:10,
- from ../security/selinux/ss/policydb.h:29,
- from ../drivers/kernelsu/selinux/sepolicy.h:6,
- from ../drivers/kernelsu/selinux/sepolicy.c:1:
- ../security/selinux/ss/ebitmap.h:66:20: note: declared here
- static inline void ebitmap_init(struct ebitmap *e, const bool protectable)
- ^
- ../drivers/kernelsu/selinux/sepolicy.c:762:18: warning: passing argument 1 of ‘ebitmap_set_bit’ makes pointer from integer without a cast
- ebitmap_set_bit(flex_array_get(db->type_attr_map, value - 1),
- ^
- In file included from ../security/selinux/ss/context.h:18:0,
- from ../security/selinux/ss/sidtab.h:10,
- from ../security/selinux/ss/policydb.h:29,
- from ../drivers/kernelsu/selinux/sepolicy.h:6,
- from ../drivers/kernelsu/selinux/sepolicy.c:1:
- ../security/selinux/ss/ebitmap.h:137:5: note: expected ‘struct ebitmap *’ but argument is of type ‘int’
- int ebitmap_set_bit(struct ebitmap *e, unsigned long bit, int value);
- ^
- ../drivers/kernelsu/selinux/sepolicy.c:765:9: warning: assignment from incompatible pointer type
- old_fa = db->type_val_to_struct;
- ^
- ../drivers/kernelsu/selinux/sepolicy.c:766:25: warning: assignment from incompatible pointer type
- db->type_val_to_struct = new_type_val_to_struct;
- ^
- ../drivers/kernelsu/selinux/sepolicy.c:773:9: warning: assignment from incompatible pointer type
- old_fa = db->sym_val_to_name[SYM_TYPES];
- ^
- ../drivers/kernelsu/selinux/sepolicy.c:774:33: warning: assignment from incompatible pointer type
- db->sym_val_to_name[SYM_TYPES] = new_val_to_name_types;
- ^
- ../drivers/kernelsu/selinux/sepolicy.c: In function ‘add_typeattribute_raw’:
- ../drivers/kernelsu/selinux/sepolicy.c:830:3: warning: initialization makes pointer from integer without a cast
- flex_array_get(db->type_attr_map, type->value - 1);
- ^
- CC fs/proc/softirqs.o
- CC drivers/huawei_platform/net/bastet/bastet_utils.o
- LD drivers/huawei_platform/power/power_dsm/built-in.o
- ../drivers/kernelsu/selinux/sepolicy.c: At top level:
- cc1: warning: unrecognized command line option "-Wno-macro-redefined"
- cc1: warning: unrecognized command line option "-Wno-int-conversion"
- ../scripts/Makefile.build:359: recipe for target 'drivers/kernelsu/selinux/sepolicy.o' failed # TAGS
- make[4]: *** [drivers/kernelsu/selinux/sepolicy.o] Error 1
- make[4]: *** Waiting for unfinished jobs....
- LD drivers/hisi/ocbc/built-in.o
- CC drivers/hisi/modem/drv/diag_frame/diag_frame.o
- CC drivers/hisi/mntn/blackbox/rdr_common.o
- CC drivers/hisi/modem/drv/adp/adp_version.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase_fence.o
- CC drivers/mfd/hisi_pmic_mntn.o
- LD drivers/hisi/ivp/ivpv150/built-in.o
- CC drivers/huawei_platform/power/smpl/smpl.o
- CC drivers/mmc/core/bus.o
- CC drivers/hisi/modem/drv/adp/adp_socp.o
- CC drivers/huawei_platform/power/power_thermalzone/power_thermalzone.o
- CC net/netfilter/xt_quota.o
- CC drivers/hisi/mntn/hisee/hisee_mntn.o
- CC drivers/huawei_platform/power/usb_short_circuit_protect/usb_short_circuit_protect.o
- CC drivers/huawei_platform/power/usb_short_circuit_protect/usb_short_circuit_protect_sh.o
- ../drivers/huawei_platform/power/charger/charger_sensorhub/huawei_charger_sh.c: In function ‘sensorhub_charger_dsm_report’:
- ../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=]
- }
- ^
- ../drivers/huawei_platform/net/hw_dpi_mark/dpi_hw_hook.c:442:12: warning: initialization from incompatible pointer type
- .hook = dpimark_hook_localout,
- ^
- ../drivers/huawei_platform/net/hw_dpi_mark/dpi_hw_hook.c:442:12: warning: (near initialization for ‘net_hooks[0].hook’)
- CC net/netfilter/xt_quota2.o
- LD drivers/hisi/perfhub/built-in.o
- In file included from ../drivers/huawei_platform/net/hw_dpi_mark/dpi_hw_hook.c:21:0:
- ../include/hwnet/ipv4/wifipro_tcp_monitor.h:38:14: warning: ‘s_arrTitle’ defined but not used [-Wunused-variable]
- static char *s_arrTitle[MAX_ARR_TITLE_COUNT] = {
- ^
- ../include/hwnet/ipv4/wifipro_tcp_monitor.h:60:12: warning: ‘s_wlanTcpStat_index’ defined but not used [-Wunused-variable]
- static int s_wlanTcpStat_index;
- ^
- ../include/hwnet/ipv4/wifipro_tcp_monitor.h:61:12: warning: ‘s_rmnetTcpStat_index’ defined but not used [-Wunused-variable]
- static int s_rmnetTcpStat_index;
- ^
- ../include/hwnet/ipv4/wifipro_tcp_monitor.h:62:12: warning: ‘s_hidataTcpStat_index’ defined but not used [-Wunused-variable]
- static int s_hidataTcpStat_index;
- ^
- ../include/hwnet/ipv4/wifipro_tcp_monitor.h:63:19: warning: ‘s_uidWlanTcpStat’ defined but not used [-Wunused-variable]
- static UIDTCPStat s_uidWlanTcpStat[MAX_UID_CNT]; /* for wlan TCP uid Stat */
- ^
- ../include/hwnet/ipv4/wifipro_tcp_monitor.h:64:19: warning: ‘s_uidRmnetTcpStat’ defined but not used [-Wunused-variable]
- static UIDTCPStat s_uidRmnetTcpStat[MAX_UID_CNT]; /* for rmnet TCP uid Stat */
- ^
- ../include/hwnet/ipv4/wifipro_tcp_monitor.h:65:25: warning: ‘s_uidHidataTcpStat’ defined but not used [-Wunused-variable]
- static HIDATAUIDTCPStat s_uidHidataTcpStat[MAX_UID_CNT]; /* for wlan TCP uid Stat */
- ^
- CC drivers/hisi/modem/drv/adp/adp_onoff.o
- CC drivers/hisi/modem/drv/adp/adp_om.o
- ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c: In function ‘get_max_dump_cnt’:
- ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c:678:10: warning: unused variable ‘path’ [-Wunused-variable]
- char path[PATH_MAXLEN];
- ^
- ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c: In function ‘sensorhub_panic_notify’:
- ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c:861:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- int timeout = 100;
- ^
- ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c: At top level:
- ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c:891:22: warning: initialization from incompatible pointer type
- .notifier_call = sensorhub_panic_notify,
- ^
- ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c:891:22: warning: (near initialization for ‘sensorhub_panic_block.notifier_call’)
- CC drivers/mfd/hisi_ip_core.o
- CC drivers/hisi/slimbus/vendor/candance/cps_bm.o
- ../drivers/huawei_platform/net/bastet/bastet_dev.c: In function ‘bastet_write’:
- ../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=]
- }
- ^
- LD drivers/input/misc/built-in.o
- ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c:33:12: warning: ‘g_sh_modid’ defined but not used [-Wunused-variable]
- static u32 g_sh_modid;
- ^
- ../drivers/huawei_platform/inputhub/hi3660/rdr_sensorhub.c:659:13: warning: ‘remove_sh_file’ defined but not used [-Wunused-function]
- static void remove_sh_file(char* path)
- ^
- CC drivers/hisi/modem/drv/adp/adp_usb.o
- CC drivers/huawei_platform/recovery/recovery_misc.o
- CC drivers/huawei_platform/recovery/dsm_recovery.o
- LD drivers/huawei_platform/power/cpu_buck/hi6422v200/built-in.o
- LD drivers/huawei_platform/power/cpu_buck/built-in.o
- CC drivers/hisi/timekeeper/hisi_timekeeper.o
- CC drivers/hisi/mntn/hisi_poweroff.o
- CC drivers/hisi/mntn/hisi_fiq.o
- CC drivers/hisi/soundtrigger/mlib_ringbuffer.o
- CC drivers/hisi/mntn/mntn_dump.o
- CC drivers/hisi/soundtrigger/mlib_static_ringbuffer.o
- CC drivers/hisi/tlb_conflict/tlb_conflict.o
- CC drivers/huawei_platform/power/water_check/water_check.o
- CC net/netfilter/xt_socket.o
- CC drivers/hisi/modem/drv/balong_timer/hardtimer_arm.o
- CC lib/fdt.o
- CC drivers/huawei_platform/power/wifi_filter/wifi_filter.o
- ../drivers/mmc/card/block.c:107:0: warning: "mmc_req_rel_wr" redefined
- #define mmc_req_rel_wr(req) ((req->cmd_flags & REQ_FUA) && \
- ^
- In file included from ../drivers/mmc/card/block.c:62:0:
- ../drivers/mmc/card/mmc_hisi_card.h:46:0: note: this is the location of the previous definition
- #define mmc_req_rel_wr(req) (((req->cmd_flags & REQ_FUA) || \
- ^
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_cache_policy_backend.o
- CC drivers/hisi/modem/drv/balong_timer/hardtimer_synopsis.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_device_hw.o
- CC net/netfilter/xt_state.o
- CC drivers/hisi/slimbus/vendor/candance/src/csmi.o
- CC drivers/hisi/slimbus/vendor/candance/slimbus_drv.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_gpu.o
- LD drivers/hisi/modem/drv/bbp/built-in.o
- CC drivers/huawei_platform/power/hw_kstate/hw_procnetstat.o
- CC drivers/hisi/modem/drv/dlock/dlock_balong.o
- In file included from ../drivers/huawei_platform/oases/sysfs.c:15:0:
- ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
- static inline int oases_insn_patch_nosync(void* addr, u32 insn);
- ^
- CC drivers/hisi/soundtrigger/soundtrigger_dma_drv.o
- CC fs/proc/namespaces.o
- CC drivers/huawei_platform/power/hw_kstate/hw_kpg.o
- CC drivers/media/v4l2-core/v4l2-event.o
- CC drivers/hisi/noc/hisi_noc_info.o
- In file included from ../include/linux/pci.h:30:0,
- from ../include/trace/events/iommu.h:14,
- from ../include/linux/iommu.h:27,
- from ../include/linux/../../drivers/staging/android/uapi/ion.h:22,
- from ../include/linux/ion.h:3,
- from ../include/linux/hisi/hisi_ion.h:19,
- from ../drivers/media/huawei/camera/hwcam_cfgdev.c:7:
- ../include/linux/device.h:309:26: warning: ‘driver_attr_hwcam_log’ defined but not used [-Wunused-variable]
- struct driver_attribute driver_attr_##_name = __ATTR(_name, _mode, _show, _store)
- ^
- ../drivers/media/huawei/camera/hwcam_cfgdev.c:118:8: note: in expansion of macro ‘DRIVER_ATTR’
- static DRIVER_ATTR(hwcam_log, 0664, hwcam_log_level_show, hwcam_log_level_store);
- ^
- LD drivers/huawei_platform/power/hw_ptm/built-in.o
- ../drivers/huawei_platform/recovery/recovery_misc.c: In function ‘operate_node’:
- CC drivers/media/v4l2-core/v4l2-ctrls.o
- ../drivers/huawei_platform/recovery/recovery_misc.c:40:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct file *fp;
- ^
- ../drivers/huawei_platform/recovery/recovery_misc.c: At top level:
- ../drivers/huawei_platform/recovery/recovery_misc.c:92:12: warning: ‘reboot_recovery_misc_write_check’ defined but not used [-Wunused-function]
- static int reboot_recovery_misc_write_check(void)
- ^
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_gpuprops_backend.o
- In file included from ../include/linux/mutex.h:14:0,
- from ../include/linux/notifier.h:13,
- from ../include/linux/clk.h:17,
- from ../include/linux/cpufreq.h:14,
- from ../include/linux/cpufreq_times.h:19,
- from ../drivers/misc/uid_sys_stats.c:17:
- ../drivers/misc/uid_sys_stats.c: In function ‘pid_merge_same_name_entry’:
- ../include/linux/list.h:760:19: warning: assignment from incompatible pointer type
- pos && ({ n = pos->member.next; 1; }); \
- ^
- ../drivers/misc/uid_sys_stats.c:898:3: note: in expansion of macro ‘hlist_for_each_entry_safe’
- hlist_for_each_entry_safe(pos1, tmp1, &pid_hash_table[bkt], hash){
- ^
- In file included from ../include/asm-generic/bug.h:13:0,
- from ../arch/arm64/include/asm/bug.h:67,
- from ../include/linux/bug.h:4,
- from ../arch/arm64/include/asm/cmpxchg.h:21,
- from ../arch/arm64/include/asm/atomic.h:41,
- from ../include/linux/atomic.h:4,
- from ../drivers/misc/uid_sys_stats.c:16:
- ../include/linux/kernel.h:842:48: warning: initialization from incompatible pointer type
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- ../include/linux/list.h:707:40: note: in expansion of macro ‘container_of’
- #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
- ^
- ../include/linux/list.h:718:15: note: in expansion of macro ‘hlist_entry’
- ____ptr ? hlist_entry(____ptr, type, member) : NULL; \
- ^
- ../include/linux/list.h:761:13: note: in expansion of macro ‘hlist_entry_safe’
- pos = hlist_entry_safe(n, typeof(*pos), member))
- ^
- ../drivers/misc/uid_sys_stats.c:898:3: note: in expansion of macro ‘hlist_for_each_entry_safe’
- hlist_for_each_entry_safe(pos1, tmp1, &pid_hash_table[bkt], hash){
- ^
- In file included from ../include/linux/mutex.h:14:0,
- from ../include/linux/notifier.h:13,
- from ../include/linux/clk.h:17,
- from ../include/linux/cpufreq.h:14,
- from ../include/linux/cpufreq_times.h:19,
- from ../drivers/misc/uid_sys_stats.c:17:
- ../include/linux/list.h:760:19: warning: assignment from incompatible pointer type
- pos && ({ n = pos->member.next; 1; }); \
- ^
- ../drivers/misc/uid_sys_stats.c:900:4: note: in expansion of macro ‘hlist_for_each_entry_safe’
- hlist_for_each_entry_safe(pos2, tmp2, &tmp_head, hash) {
- ^
- In file included from ../include/asm-generic/bug.h:13:0,
- from ../arch/arm64/include/asm/bug.h:67,
- from ../include/linux/bug.h:4,
- from ../arch/arm64/include/asm/cmpxchg.h:21,
- from ../arch/arm64/include/asm/atomic.h:41,
- from ../include/linux/atomic.h:4,
- from ../drivers/misc/uid_sys_stats.c:16:
- ../include/linux/kernel.h:842:48: warning: initialization from incompatible pointer type
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- ../include/linux/list.h:707:40: note: in expansion of macro ‘container_of’
- #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
- ^
- ../include/linux/list.h:718:15: note: in expansion of macro ‘hlist_entry’
- ____ptr ? hlist_entry(____ptr, type, member) : NULL; \
- ^
- ../include/linux/list.h:761:13: note: in expansion of macro ‘hlist_entry_safe’
- pos = hlist_entry_safe(n, typeof(*pos), member))
- ^
- ../drivers/misc/uid_sys_stats.c:900:4: note: in expansion of macro ‘hlist_for_each_entry_safe’
- hlist_for_each_entry_safe(pos2, tmp2, &tmp_head, hash) {
- ^
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_debug_job_fault_backend.o
- CC drivers/hisi/slimbus/slimbus.o
- CC drivers/mmc/host/sdhci.o
- CC drivers/mmc/host/sdhci_hisi.o
- CC drivers/media/v4l2-core/v4l2-subdev.o
- CC drivers/hisi/modem/drv/adp/adp_rfile.o
- CC lib/fdt_empty_tree.o
- LD drivers/huawei_platform/power/power_mesg/built-in.o
- LD drivers/hisi/jpu/hisijpu.o
- CC fs/proc/self.o
- CC lib/fdt_ro.o
- LD drivers/hisi/modem/drv/diag_frame/built-in.o
- LD drivers/hisi/jpu/built-in.o
- CC drivers/mmc/host/sdhci-of-arasan.o
- CC drivers/hisi/noc/hisi_noc_dump.o
- CC drivers/huawei_platform/sensor/fingerprint/fingerprint.o
- CC drivers/huawei_platform/power/charger/charger_ap/bq25892/bq25892_charger.o
- CC lib/fdt_rw.o
- CC drivers/huawei_platform/oases/patch_mgr.o
- CC drivers/huawei_platform/sensor/hall/ak8789.o
- CC drivers/huawei_platform/sensor/hall/hall_sensor.o
- CC drivers/mmc/host/dw_mmc.o
- CC drivers/huawei_platform/oases/patch_api.o
- CC drivers/huawei_platform/sensor/touch_key/huawei_key_backlight.o
- LD drivers/huawei_platform/nfc/NXP_PN547_64/built-in.o
- CC drivers/huawei_platform/sensor/touch_key/huawei_touch_key.o
- LD drivers/huawei_platform/nfc/built-in.o
- CC drivers/hisi/modem/drv/adp/adp_nvim.o
- CC drivers/hisi/modem/drv/adp/adp_reset.o
- CC drivers/hisi/modem/drv/adp/adp_efuse.o
- CC drivers/hid/hid-lg.o
- LD drivers/huawei_platform/recovery/built-in.o
- CC fs/f2fs/extent_cache.o
- CC drivers/hisi/tzdriver/smc_smp.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_irq_linux.o
- AS drivers/huawei_platform/net/hw_netfilter/nf_app_dl_monitor.o
- AS drivers/huawei_platform/net/hw_netfilter/nf_ad_filter.o
- CC drivers/hisi/mntn/blackbox/rdr_exception_core.o
- CC fs/f2fs/sysfs.o
- ../drivers/huawei_platform/power/usb_short_circuit_protect/usb_short_circuit_protect_sh.c:30:0: warning: "HWLOG_TAG" redefined
- #define HWLOG_TAG usb_short_circuit_protect
- ^
- In file included from ../drivers/huawei_platform/power/usb_short_circuit_protect/usb_short_circuit_protect_sh.c:27:0:
- ../drivers/huawei_platform/inputhub/hi3660/inputhub_route.h:27:0: note: this is the location of the previous definition
- #define HWLOG_TAG sensorhub
- ^
- LD drivers/hisi/tlb_conflict/built-in.o
- LD drivers/hisi/mntn/bl31/built-in.o
- ../drivers/huawei_platform/power/water_check/water_check.c: In function ‘water_check_parse_extra_dts’:
- ../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
- ret = of_property_read_string_index(np,"water_check_para",i * WATER_CHECK_PARA_TOTAL + j,&tmp_string);
- ^
- In file included from ../include/asm-generic/gpio.h:7:0,
- from ../include/linux/gpio.h:51,
- from ../drivers/huawei_platform/power/water_check/water_check.c:13:
- ../include/linux/of.h:1008:19: note: expected ‘const char **’ but argument is of type ‘char **’
- static inline int of_property_read_string_index(const struct device_node *np,
- ^
- CC net/netfilter/xt_statistic.o
- CC drivers/huawei_platform/storage/appinfo/app_info.o
- CC drivers/hisi/slimbus/slimbus_utils.o
- CC drivers/huawei_platform/storage/ddrinfo/ddr_info.o
- CC drivers/huawei_platform/sensor/hall/ak8789_report.o
- CC drivers/huawei_platform/oases/patch_file.o
- CC drivers/huawei_platform/oases/oases.o
- 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
- ../drivers/huawei_platform/sensor/touch_key/huawei_key_backlight.c: In function ‘store_keybacklight_attr’:
- CC fs/f2fs/f2fs_dump_info.o
- ../drivers/huawei_platform/sensor/touch_key/huawei_key_backlight.c:123:4: warning: too many arguments for format [-Wformat-extra-args]
- hwlog_info("set backlight failed\n", brightness);
- ^
- AS drivers/huawei_platform/net/hw_netfilter/nf_hw_common.o
- LD drivers/huawei_platform/power/power_thermalzone/built-in.o
- 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
- LD fs/ntfs/ntfs.o
- CC drivers/md/dm-linear.o
- CC drivers/huawei_platform/oases/oases_signing.o
- CC lib/fdt_strerror.o
- CC drivers/hisi/modem/drv/adp/adp_timer.o
- LD fs/ntfs/built-in.o
- CC lib/fdt_sw.o
- CC lib/fdt_wip.o
- AS drivers/huawei_platform/net/hw_netfilter/nf_hw_hook.o
- ../scripts/Makefile.build:690: recipe for target 'drivers/kernelsu/selinux' failed # TAGS
- make[3]: *** [drivers/kernelsu/selinux] Error 2
- ../scripts/Makefile.build:690: recipe for target 'drivers/kernelsu' failed # TAGS
- make[2]: *** [drivers/kernelsu] Error 2
- make[2]: *** Waiting for unfinished jobs....
- CC drivers/md/dm-stripe.o
- CC drivers/hisi/noc/hisi_noc_info_hi3650.o
- CC lib/flex_proportions.o
- AS drivers/huawei_platform/oases/plts_static.o
- CC drivers/media/v4l2-core/v4l2-clk.o
- LD drivers/mmonitor/built-in.o
- CC drivers/media/v4l2-core/v4l2-async.o
- LD drivers/hisi/secs_power_ctrl/built-in.o
- CC fs/f2fs/debug.o
- CC drivers/hid/hid-lgff.o
- CC drivers/hisi/modem/drv/balong_timer/hardtimer_core.o
- LD drivers/hisi/ivp/built-in.o
- CC drivers/mmc/core/host.o
- CC drivers/media/media-device.o
- LD drivers/huawei_platform/net/ipv4/built-in.o
- LD drivers/huawei_platform/power/smpl/built-in.o
- CC drivers/hisi/slimbus/slimbus_64xx.o
- CC drivers/hid/hid-lg2ff.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_instr_backend.o
- In file included from ../drivers/huawei_platform/oases/oases.c:21:0:
- ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
- static inline int oases_insn_patch_nosync(void* addr, u32 insn);
- ^
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_jm_as.o
- ../drivers/huawei_platform/oases/patch_file.c: In function ‘oases_build_code’:
- LD drivers/hisi/mntn/hisilicon_platform_mntn.o
- CC drivers/hisi/modem/drv/adp/adp_wifi.o
- ../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=]
- oases_debug("vmalloc_exec %u failed\n", code_size);
- ^
- In file included from ../drivers/huawei_platform/oases/patch_file.c:20:0:
- ../drivers/huawei_platform/oases/patch_file.c: At top level:
- CC drivers/hisi/modem/drv/adp/adp_mailbox.o
- CC drivers/mfd/hisi_freq_autodown.o
- CC drivers/mmc/host/dw_mmc-pltfm.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_common.c:55:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
- #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_common.c:30:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
- #define strnicmp strncasecmp
- ^
- ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
- static inline int oases_insn_patch_nosync(void* addr, u32 insn);
- ^
- ../drivers/huawei_platform/oases/patch_file.c:291:12: warning: ‘is_valid_version’ defined but not used [-Wunused-function]
- static int is_valid_version(unsigned int version)
- ^
- CC drivers/mmc/host/dw_mmc_hi3xxx.o
- LD drivers/hisi/timekeeper/built-in.o
- CC drivers/media/media-devnode.o
- CC lib/int_sqrt.o
- CC lib/idr.o
- CC drivers/huawei_platform/oases/sign/asn1_decoder.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_jm_hw.o
- CC fs/f2fs/xattr.o
- CC lib/ioremap.o
- CC fs/f2fs/acl.o
- CC drivers/hisi/mntn/blackbox/rdr_module_core.o
- ../drivers/huawei_platform/sensor/hall/hall_sensor.c:270:2: warning: missing braces around initializer [-Wmissing-braces]
- &hall_attr_group,
- ^
- CC fs/f2fs/sdp_context.o
- LD drivers/hisi/isp/built-in.o
- ../drivers/huawei_platform/sensor/hall/hall_sensor.c:270:2: warning: (near initialization for ‘hall_attr_groups[0]’) [-Wmissing-braces]
- ../drivers/huawei_platform/sensor/hall/hall_sensor.c:270:2: warning: initialization from incompatible pointer type
- CC drivers/huawei_platform/net/qtaguid_pid/qtaguid_pid.o
- ../drivers/huawei_platform/sensor/hall/hall_sensor.c:270:2: warning: (near initialization for ‘hall_attr_groups[0].name’)
- ../drivers/huawei_platform/sensor/hall/hall_sensor.c: In function ‘hall_init’:
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.o
- ../drivers/huawei_platform/sensor/hall/hall_sensor.c:315:25: warning: assignment from incompatible pointer type
- hall_class->dev_groups = &hall_attr_groups;
- ^
- LD drivers/huawei_platform/net/hw_netfilter/built-in.o
- CC drivers/huawei_platform/oases/sign/generic_mpih-add1.o
- CC drivers/media/v4l2-core/v4l2-compat-ioctl32.o
- CC drivers/media/huawei/camera/hwcam_cfgstream.o
- CC drivers/media/v4l2-core/v4l2-of.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_jm_rb.o
- LD drivers/huawei_platform/net/hw_dpi_mark/built-in.o
- In file included from ../drivers/huawei_platform/oases/sign/asn1_decoder.c:15:0:
- ../drivers/huawei_platform/oases/sign/../util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
- static inline int oases_insn_patch_nosync(void* addr, u32 insn);
- ^
- CC drivers/huawei_platform/net/bastet/bastet_channel.o
- CC drivers/mmc/host/dw_mmc_test.o
- ../drivers/huawei_platform/oases/patch_mgr.c: In function ‘oases_notify_uevent’:
- ../drivers/huawei_platform/oases/patch_mgr.c:235:2: warning: too many arguments for format [-Wformat-extra-args]
- oases_info("notify uevent starting\n", __func__);
- ^
- In file included from ../drivers/huawei_platform/oases/patch_api.c:20:0:
- ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
- static inline int oases_insn_patch_nosync(void* addr, u32 insn);
- ^
- In file included from ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:28:0:
- ../drivers/huawei_platform/sensor/fingerprint/fingerprint.h:23:0: warning: "KEY_MAX" redefined
- #define KEY_MAX 255
- ^
- In file included from ../include/uapi/linux/input.h:19:0,
- from ../include/linux/input.h:13,
- from ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:5:
- ../include/uapi/linux/input-event-codes.h:690:0: note: this is the location of the previous definition
- #define KEY_MAX 0x2ff
- ^
- In file included from ../drivers/huawei_platform/oases/patch_mgr.c:22:0:
- ../drivers/huawei_platform/oases/patch_mgr.c: At top level:
- ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
- static inline int oases_insn_patch_nosync(void* addr, u32 insn);
- ^
- LD drivers/huawei_platform/power/charger/charger_sensorhub/built-in.o
- ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c: In function ‘irq_get’:
- ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:120:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- int irq;
- ^
- ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c: In function ‘module_id_ud_show’:
- ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:321:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct fp_data* fingerprint = dev_get_drvdata(device);
- ^
- ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c: In function ‘fingerprint_chip_info_show’:
- ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:535:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct fp_data* fingerprint= dev_get_drvdata(device);
- ^
- ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c: In function ‘ud_fingerprint_chip_info_show’:
- ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:559:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct fp_data* fingerprint = dev_get_drvdata(device);
- ^
- ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c: In function ‘ud_fingerprint_chip_info_store’:
- ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:575:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct fp_data* fingerprint = dev_get_drvdata(device);
- ^
- ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c: In function ‘stylus_pen_notify_fp’:
- ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:737:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct fp_data* fingerprint = g_fingerprint;
- ^
- ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c: In function ‘fingerprint_get_dts_data’:
- ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:827:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct device_node* np;
- ^
- ../drivers/huawei_platform/sensor/touch_key/huawei_touch_key.c: In function ‘touch_key_probe’:
- ../drivers/huawei_platform/power/wifi_filter/wifi_filter.c: In function ‘get_wifi_filter_info’:
- CC drivers/hid/hid-lg3ff.o
- ../drivers/huawei_platform/power/wifi_filter/wifi_filter.c:172:25: warning: unused variable ‘special_item’ [-Wunused-variable]
- hw_wifi_filter_item special_item;
- ^
- ../drivers/huawei_platform/power/wifi_filter/wifi_filter.c: At top level:
- ../drivers/huawei_platform/power/wifi_filter/wifi_filter.c:120:13: warning: ‘get_chainname’ defined but not used [-Wunused-function]
- static void get_chainname(
- ^
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_js_backend.o
- CC drivers/hid/hid-lg4ff.o
- CC drivers/hisi/modem/ims/src/act/act_acore.o
- ../drivers/huawei_platform/sensor/touch_key/huawei_touch_key.c:150:26: warning: passing argument 1 of ‘input_unregister_device’ from incompatible pointer type
- input_unregister_device(&touch_key_dev->input_dev);
- ^
- In file included from ../drivers/huawei_platform/sensor/touch_key/huawei_touch_key.c:8:0:
- ../include/linux/input.h:359:6: note: expected ‘struct input_dev *’ but argument is of type ‘struct input_dev **’
- void input_unregister_device(struct input_dev *);
- ^
- ../drivers/huawei_platform/sensor/touch_key/huawei_touch_key.c:151:20: warning: passing argument 1 of ‘input_free_device’ from incompatible pointer type
- input_free_device(&touch_key_dev->input_dev);
- ^
- In file included from ../drivers/huawei_platform/sensor/touch_key/huawei_touch_key.c:8:0:
- ../include/linux/input.h:335:6: note: expected ‘struct input_dev *’ but argument is of type ‘struct input_dev **’
- void input_free_device(struct input_dev *dev);
- ^
- ../drivers/mmc/host/sdhci.c: In function ‘sdhci_set_power_reg’:
- ../drivers/mmc/host/sdhci.c:1545:19: warning: unused variable ‘mmc’ [-Wunused-variable]
- struct mmc_host *mmc = host->mmc;
- ^
- CC drivers/mmc/host/sdhci-pltfm.o
- CC drivers/hisi/modem/drv/dump/apr/dump_apr.o
- CC drivers/huawei_platform/oases/sign/generic_mpih-lshift.o
- CC drivers/huawei_platform/sw/sw_core.o
- CC drivers/hisi/modem/drv/balong_timer/softtimer_balong.o
- CC drivers/hisi/noc/hisi_noc_info_hi3660.o
- CC drivers/huawei_platform/oases/sign/generic_mpih-mul1.o
- CC drivers/hisi/modem/drv/balong_timer/hardtimer_balong_test.o
- CC fs/proc/thread_self.o
- CC drivers/hisi/modem/drv/dump/comm/dump_config.o
- CC drivers/huawei_platform/oases/sign/generic_mpih-mul2.o
- CC net/netfilter/xt_string.o
- CC drivers/huawei_platform/touch_key/cyp_touch_key.o
- In file included from ../drivers/huawei_platform/oases/oases_signing.c:13:0:
- ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
- static inline int oases_insn_patch_nosync(void* addr, u32 insn);
- ^
- CC drivers/hisi/modem/drv/dump/mdmap/dump_modem_baseinfo.o
- LD drivers/huawei_platform/power/water_check/built-in.o
- LD drivers/huawei_platform/storage/appinfo/built-in.o
- CC drivers/hisi/slimbus/slimbus_6403.o
- CC drivers/hisi/modem/drv/dump/mdmap/dump_modem_core.o
- CC drivers/hisi/noc/hisi_noc_info_hi6250.o
- CC drivers/hisi/modem/drv/dump/mdmap/dump_modem_debug.o
- CC fs/f2fs/policy.o
- CC drivers/huawei_platform/oases/sign/generic_mpih-mul3.o
- aarch64-elf-objcopy -O binary drivers/huawei_platform/oases/inlinehook_func_pre.oas drivers/huawei_platform/oases/inlinehook_func_pre.bin
- CC drivers/hisi/slimbus/slimbus_6402.o
- LD drivers/hisi/mntn/hisee/built-in.o
- CC drivers/mmc/card/mmc_health_diag.o
- CC fs/f2fs/keyinfo.o
- In file included from ../drivers/hisi/tzdriver/smc_smp.c:39:0:
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘struct mmc_blk_ioc_rpmb_data’ declared inside parameter list
- struct mmc_blk_ioc_rpmb_data *idata);
- ^
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: its scope is only this definition or declaration, which is probably not what you want
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘enum func_id’ declared inside parameter list
- CC fs/f2fs/ecdh.o
- CC drivers/mmc/card/hisi_rpmb.o
- CC drivers/hisi/modem/drv/dump/mdmap/dump_modem_hook.o
- aarch64-elf-objcopy -O binary drivers/huawei_platform/oases/inlinehook_func_post.oas drivers/huawei_platform/oases/inlinehook_func_post.bin
- aarch64-elf-objcopy -O binary drivers/huawei_platform/oases/inlinehook_func_pre_post.oas drivers/huawei_platform/oases/inlinehook_func_pre_post.bin
- CC drivers/hisi/modem/drv/dump/mdmap/dump_modem_save.o
- LD drivers/huawei_platform/power/usb_short_circuit_protect/built-in.o
- aarch64-elf-objcopy -O binary drivers/huawei_platform/oases/inlinehook_subfunc_pre.oas drivers/huawei_platform/oases/inlinehook_subfunc_pre.bin
- aarch64-elf-objcopy -O binary drivers/huawei_platform/oases/inlinehook_subfunc_post.oas drivers/huawei_platform/oases/inlinehook_subfunc_post.bin
- CC drivers/hisi/mntn/blackbox/rdr_dump_core.o
- LD drivers/huawei_platform/storage/ddrinfo/built-in.o
- aarch64-elf-gcc -c -o drivers/huawei_platform/oases/inlinehook_data.o -Wa,-Idrivers/huawei_platform/oases ../drivers/huawei_platform/oases/inlinehook_data.S
- CC drivers/mmc/host/cmdq_hci.o
- CC drivers/md/dm-ioctl.o
- ../drivers/hisi/tzdriver/smc_smp.c: In function ‘upload_audit_event’:
- ../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=]
- tlogd("stp get size %x succ \n", sizeof(item_info[ITRUSTEE].name));
- ^
- CC drivers/huawei_platform/oases/sign/generic_mpih-rshift.o
- CC drivers/hisi/modem/drv/efuse/efuse_balong_agent.o
- LD drivers/huawei_platform/storage/postfsdata/built-in.o
- CC drivers/media/v4l2-core/vb2-trace.o
- In file included from ../include/linux/mm_types.h:15:0,
- from ../include/linux/sched.h:27,
- from ../drivers/hisi/tzdriver/smc_smp.c:1:
- ../drivers/hisi/tzdriver/smc_smp.c: In function ‘smc_set_cmd_buffer’:
- ../include/linux/workqueue.h:219:17: warning: assignment from incompatible pointer type
- (_work)->func = (_func); \
- ^
- ../include/linux/workqueue.h:227:2: note: in expansion of macro ‘__INIT_WORK’
- __INIT_WORK((_work), (_func), 1)
- ^
- ../drivers/hisi/tzdriver/smc_smp.c:1366:2: note: in expansion of macro ‘INIT_WORK_ONSTACK’
- INIT_WORK_ONSTACK(&work, smc_work_set_cmd_buffer);
- ^
- ../drivers/hisi/tzdriver/smc_smp.c: In function ‘smc_init_secondary_cpus’:
- ../include/linux/workqueue.h:219:17: warning: assignment from incompatible pointer type
- (_work)->func = (_func); \
- ^
- ../include/linux/workqueue.h:227:2: note: in expansion of macro ‘__INIT_WORK’
- __INIT_WORK((_work), (_func), 1)
- ^
- ../drivers/hisi/tzdriver/smc_smp.c:1380:2: note: in expansion of macro ‘INIT_WORK_ONSTACK’
- INIT_WORK_ONSTACK(&work, smc_work_init_secondary_cpus);
- ^
- ../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
- CC lib/irq_regs.o
- CC drivers/hisi/modem/drv/adp/adp_dpm.o
- CC drivers/hisi/modem/drv/adp/adp_sec.o
- CC drivers/input/mouse/focaltech.o
- LD drivers/huawei_platform/storage/built-in.o
- CC drivers/hisi/modem/drv/adp/adp_mem_balong.o
- LD drivers/hisi/modem/drv/dlock/built-in.o
- CC drivers/media/v4l2-core/v4l2-trace.o
- CC drivers/hisi/modem/drv/adp/adp_cpufreq_balong.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_roam.o
- LD drivers/huawei_platform/sensor/touch_key/built-in.o
- CC drivers/huawei_platform/oases/sign/generic_mpih-sub1.o
- CC drivers/hisi/modem/drv/adp/adp_applog.o
- CC drivers/hisi/modem/drv/dump/mdmap/dump_modem_rdr.o
- CC drivers/huawei_platform/net/bastet/bastet_reconn.o
- CC drivers/huawei_platform/net/bastet/bastet_partner.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.o
- CC drivers/huawei_platform/touch_key/cyp_key_backlight.o
- CC drivers/hisi/modem/drv/fiq/fiq.o
- CC drivers/hisi/tzdriver/tc_client_driver.o
- CC drivers/hisi/modem/drv/hds/bsp_hds_service.o
- CC drivers/hisi/modem/drv/hds/bsp_hds_log.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_mmu_hw_direct.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_pm_backend.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_pm_driver.o
- CC drivers/huawei_platform/sw/sw_hid_vendor.o
- CC drivers/hisi/modem/drv/dump/comm/dump_file.o
- CC drivers/hid/hid-logitech-dj.o
- CC net/netfilter/xt_time.o
- LD drivers/hisi/pm/built-in.o
- CC drivers/hid/hid-logitech-hidpp.o
- LD drivers/misc/built-in.o
- CC net/netfilter/xt_u32.o
- CC drivers/huawei_platform/oases/sign/mpi-bit.o
- In file included from ../include/uapi/linux/posix_types.h:4:0,
- from ../include/uapi/linux/types.h:13,
- from ../include/linux/types.h:5,
- from ../include/linux/list.h:4,
- from ../include/linux/module.h:9,
- from ../drivers/hisi/modem/ims/src/act/act_acore.c:1:
- ../drivers/hisi/modem/ims/src/act/act_acore.c: In function ‘act_release’:
- ../include/linux/stddef.h:7:14: warning: initialization makes integer from pointer without a cast
- #define NULL ((void *)0)
- ^
- ../drivers/hisi/modem/ims/src/act/act_acore.c:139:30: note: in expansion of macro ‘NULL’
- unsigned long flags = NULL;
- ^
- ../drivers/hisi/modem/ims/src/act/act_acore.c:147:18: warning: passing argument 1 of ‘list_del’ from incompatible pointer type
- list_del(data);
- ^
- In file included from ../include/linux/module.h:9:0,
- from ../drivers/hisi/modem/ims/src/act/act_acore.c:1:
- ../include/linux/list.h:105:20: note: expected ‘struct list_head *’ but argument is of type ‘struct act_cdev_data *’
- static inline void list_del(struct list_head *entry)
- ^
- In file included from ../include/uapi/linux/posix_types.h:4:0,
- from ../include/uapi/linux/types.h:13,
- from ../include/linux/types.h:5,
- from ../include/linux/list.h:4,
- from ../include/linux/module.h:9,
- from ../drivers/hisi/modem/ims/src/act/act_acore.c:1:
- ../drivers/hisi/modem/ims/src/act/act_acore.c: In function ‘act_read’:
- ../include/linux/stddef.h:7:14: warning: initialization makes integer from pointer without a cast
- #define NULL ((void *)0)
- ^
- ../drivers/hisi/modem/ims/src/act/act_acore.c:163:30: note: in expansion of macro ‘NULL’
- unsigned long flags = NULL;
- ^
- ../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=]
- printk(KERN_INFO "Enter act_read size_t(%d).\n", size);
- ^
- ../drivers/hisi/modem/ims/src/act/act_acore.c:199:21: warning: passing argument 1 of ‘list_del’ from incompatible pointer type
- list_del(data);
- ^
- In file included from ../include/linux/module.h:9:0,
- from ../drivers/hisi/modem/ims/src/act/act_acore.c:1:
- ../include/linux/list.h:105:20: note: expected ‘struct list_head *’ but argument is of type ‘struct act_cdev_data *’
- static inline void list_del(struct list_head *entry)
- ^
- ../drivers/hisi/modem/ims/src/act/act_acore.c: In function ‘act_write’:
- ../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=]
- printk(KERN_INFO "act_write: send data (%d) bytes\n", len);
- ^
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_pm_metrics.o
- ../drivers/hisi/modem/ims/src/act/act_acore.c: At top level:
- ../drivers/hisi/modem/ims/src/act/act_acore.c:272:16: warning: initialization from incompatible pointer type
- .read = act_read,
- ^
- ../drivers/hisi/modem/ims/src/act/act_acore.c:272:16: warning: (near initialization for ‘act_cdev_fops.read’)
- ../drivers/hisi/modem/ims/src/act/act_acore.c:273:16: warning: initialization from incompatible pointer type
- .write = act_write,
- ^
- ../drivers/hisi/modem/ims/src/act/act_acore.c:273:16: warning: (near initialization for ‘act_cdev_fops.write’)
- ../drivers/hisi/modem/ims/src/act/act_acore.c: In function ‘act_cdev_init’:
- ../drivers/hisi/modem/ims/src/act/act_acore.c:358:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- ICC_CHAN_ATTR_S chanAttr;
- ^
- CC drivers/hisi/tzdriver/teek_client_api.o
- CC drivers/hisi/soundtrigger/soundtrigger_event.o
- In file included from ../drivers/huawei_platform/touch_key/cyp_touch_key.c:27:0:
- ../drivers/huawei_platform/touch_key/cyp_touch_key.h:113:0: warning: "CYTTSP_PARAM_NULL" redefined
- #define CYTTSP_PARAM_NULL 1
- ^
- ../drivers/huawei_platform/touch_key/cyp_touch_key.h:92:0: note: this is the location of the previous definition
- #define CYTTSP_PARAM_NULL "reason: param null;"
- ^
- LD net/wireless/cfg80211.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfgp2p.o
- CC drivers/hisi/mntn/blackbox/rdr_logmonitor_core.o
- CC drivers/hisi/modem/drv/dump/mdmap/dump_modem_mem.o
- CC drivers/media/v4l2-core/v4l2-mc.o
- CC fs/proc/uid.o
- CC drivers/hid/hid-magicmouse.o
- CC drivers/hisi/noc/hisi_noc_info_kirin970_es.o
- CC lib/is_single_threaded.o
- CC drivers/media/media-entity.o
- ../drivers/huawei_platform/touch_key/cyp_touch_key.c: In function ‘cyttsp_button_parse_dt’:
- ../drivers/huawei_platform/touch_key/cyp_touch_key.c:417:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct device_node *np = dev->of_node;
- ^
- LD drivers/huawei_platform/power/hw_kstate/built-in.o
- CC fs/proc/proc_sysctl.o
- In file included from ../include/linux/mm_types.h:15:0,
- from ../include/linux/sched.h:27,
- from ../arch/arm64/include/asm/compat.h:25,
- from ../arch/arm64/include/asm/stat.h:23,
- from ../include/linux/stat.h:5,
- from ../include/linux/sysfs.h:21,
- from ../include/linux/kobject.h:21,
- from ../include/linux/device.h:17,
- from ../include/linux/i2c.h:30,
- from ../drivers/huawei_platform/touch_key/cyp_touch_key.c:4:
- ../drivers/huawei_platform/touch_key/cyp_touch_key.c: In function ‘cyttsp_button_probe’:
- ../include/linux/workqueue.h:219:17: warning: assignment from incompatible pointer type
- (_work)->func = (_func); \
- ^
- ../include/linux/workqueue.h:224:2: note: in expansion of macro ‘__INIT_WORK’
- __INIT_WORK((_work), (_func), 0)
- ^
- ../drivers/huawei_platform/touch_key/cyp_touch_key.c:1948:2: note: in expansion of macro ‘INIT_WORK’
- INIT_WORK(&(data->touchkey_dsm_work_struct), touchkey_dsm_func);
- ^
- CC drivers/huawei_platform/net/bastet/bastet_fastgrab.o
- CC drivers/media/v4l2-core/v4l2-common.o
- ../drivers/huawei_platform/touch_key/cyp_touch_key.c: At top level:
- ../drivers/huawei_platform/touch_key/cyp_touch_key.c:2150:12: warning: initialization from incompatible pointer type
- .probe = cyttsp_button_probe,
- ^
- ../drivers/huawei_platform/touch_key/cyp_touch_key.c:2150:12: warning: (near initialization for ‘cyttsp_button_driver.probe’)
- CC drivers/huawei_platform/net/bastet/bastet_filter.o
- In file included from ../include/asm-generic/bug.h:13:0,
- from ../arch/arm64/include/asm/bug.h:67,
- from ../include/linux/bug.h:4,
- from ../include/linux/kref.h:18,
- from ../drivers/huawei_platform/sw/sw_core.c:1:
- ../drivers/huawei_platform/sw/sw_core.c: In function ‘swkb_channel_com_work’:
- ../include/linux/kernel.h:842:48: warning: initialization from incompatible pointer type
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- ../drivers/huawei_platform/sw/sw_core.c:1264:39: note: in expansion of macro ‘container_of’
- struct hw_sw_disc_data *pdisc_data = container_of(work, struct hw_sw_disc_data, kb_channel_work);
- ^
- ../include/linux/kernel.h:842:48: warning: (near initialization for ‘pdisc_data’)
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- ../drivers/huawei_platform/sw/sw_core.c:1264:39: note: in expansion of macro ‘container_of’
- struct hw_sw_disc_data *pdisc_data = container_of(work, struct hw_sw_disc_data, kb_channel_work);
- ^
- LD net/wireless/built-in.o
- CC drivers/hisi/modem/drv/dump/comm/dump_exc_ctrl.o
- CC fs/proc/proc_net.o
- CC drivers/hisi/modem/drv/adp/adp_hds.o
- CC drivers/media/v4l2-core/v4l2-dv-timings.o
- CC drivers/hisi/modem/drv/hwadp/hwadp_balong.o
- CC drivers/hisi/modem/drv/hwadp/hwadp_core.o
- CC drivers/hisi/modem/drv/adp/adp_blk_mmc.o
- CC drivers/hisi/modem/drv/dump/mdmcp/dump_cp_agent.o
- CC drivers/media/v4l2-core/videobuf2-core.o
- CC drivers/hisi/modem/drv/hwadp/hwadp_debug.o
- LD drivers/hisi/modem/drv/dump/apr/built-in.o
- CC drivers/media/v4l2-core/videobuf2-v4l2.o
- CC drivers/hisi/modem/drv/dump/mdmcp/dump_cp_wdt.o
- CC drivers/hisi/modem/drv/adp/adp_coresight.o
- CC drivers/hisi/modem/drv/adp/adp_charger.o
- ../fs/f2fs/segment.c: In function ‘new_curseg_subdivision’:
- ../fs/f2fs/segment.c:2838:2: warning: ‘dir’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- SIT_I(sbi)->s_ops->get_new_segment(sbi, &segno, new_sec, dir);
- ^
- CC lib/klist.o
- CC drivers/hid/hid-microsoft.o
- CC drivers/hisi/modem/drv/adp/adp_mmc.o
- CC drivers/hisi/modem/drv/adp/adp_dload.o
- CC drivers/hisi/modem/drv/adp/adp_misc.o
- CC drivers/hisi/modem/drv/adp/adp_vic.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:50:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
- #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:37:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
- #define strnicmp strncasecmp
- ^
- LD drivers/huawei_platform/sensor/hall/built-in.o
- ../drivers/huawei_platform/net/bastet/bastet_channel.c: In function ‘bastet_send_priority_data’:
- ../drivers/huawei_platform/net/bastet/bastet_channel.c:114:22: warning: initialization discards ‘const’ qualifier from pointer target type
- struct iovec *iov = msg->msg_iter.iov;
- ^
- ../drivers/huawei_platform/net/bastet/bastet_channel.c: In function ‘bastet_send_wq_data’:
- ../drivers/huawei_platform/net/bastet/bastet_channel.c:164:21: warning: unused variable ‘tcb’ [-Wunused-variable]
- struct tcp_skb_cb *tcb = TCP_SKB_CB(skb);
- ^
- CC drivers/huawei_platform/oases/sign/mpi-cmp.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_pm_ca.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_pm_always_on.o
- CC fs/proc/kmsg.o
- ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:92:15: warning: missing braces around initializer [-Wmissing-braces]
- static struct timer_list keypad_backlight_timer = {0};
- ^
- ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:92:15: warning: (near initialization for ‘keypad_backlight_timer.entry’) [-Wmissing-braces]
- ../drivers/huawei_platform/touch_key/cyp_key_backlight.c: In function ‘fb_notifier_callback’:
- ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:326:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- ../drivers/huawei_platform/touch_key/cyp_key_backlight.c: In function ‘key_backlight_probe’:
- ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:418:63: warning: passing argument 3 of ‘of_property_read_u32’ from incompatible pointer type
- ret = of_property_read_u32(pdev->dev.of_node, "dr_led_ctrl", &keypad_leds.dr_led_ctrl);
- ^
- In file included from ../include/linux/of_device.h:8:0,
- from ../include/linux/of_platform.h:17,
- from ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:6:
- ../include/linux/of.h:1046:19: note: expected ‘u32 *’ but argument is of type ‘long unsigned int *’
- static inline int of_property_read_u32(const struct device_node *np,
- ^
- ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:433:67: warning: passing argument 3 of ‘of_property_read_u32’ from incompatible pointer type
- ret = of_property_read_u32(pdev->dev.of_node, "dr_time_config0", &keypad_leds.dr_time_config0);
- ^
- In file included from ../include/linux/of_device.h:8:0,
- from ../include/linux/of_platform.h:17,
- from ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:6:
- ../include/linux/of.h:1046:19: note: expected ‘u32 *’ but argument is of type ‘long unsigned int *’
- static inline int of_property_read_u32(const struct device_node *np,
- ^
- ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:438:67: warning: passing argument 3 of ‘of_property_read_u32’ from incompatible pointer type
- ret = of_property_read_u32(pdev->dev.of_node, "dr_time_config1", &keypad_leds.dr_time_config1);
- ^
- In file included from ../include/linux/of_device.h:8:0,
- from ../include/linux/of_platform.h:17,
- from ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:6:
- ../include/linux/of.h:1046:19: note: expected ‘u32 *’ but argument is of type ‘long unsigned int *’
- static inline int of_property_read_u32(const struct device_node *np,
- ^
- ../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=]
- hwlog_info("couldn't get dr_time_config1, use the default reg = 0x%x\n", keypad_leds.dr_time_config1);
- ^
- ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:443:64: warning: passing argument 3 of ‘of_property_read_u32’ from incompatible pointer type
- ret = of_property_read_u32(pdev->dev.of_node, "dr_delay_off", &keypad_leds.delay_off);
- ^
- In file included from ../include/linux/of_device.h:8:0,
- from ../include/linux/of_platform.h:17,
- from ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:6:
- ../include/linux/of.h:1046:19: note: expected ‘u32 *’ but argument is of type ‘long unsigned int *’
- static inline int of_property_read_u32(const struct device_node *np,
- ^
- ../drivers/huawei_platform/touch_key/cyp_key_backlight.c: At top level:
- ../drivers/huawei_platform/touch_key/cyp_key_backlight.c:92:26: warning: ‘keypad_backlight_timer’ defined but not used [-Wunused-variable]
- static struct timer_list keypad_backlight_timer = {0};
- ^
- LD drivers/huawei_platform/power/wifi_filter/built-in.o
- LD drivers/hisi/modem/ims/src/act/built-in.o
- LD drivers/hisi/modem/drv/fiq/built-in.o
- LD drivers/hisi/modem/ims/built-in.o
- CC drivers/hisi/soundtrigger/soundtrigger_socdsp_pcm.o
- CC drivers/hisi/modem/drv/hds/bsp_hds_ind.o
- CC drivers/hisi/soundtrigger/soundtrigger_socdsp_mailbox.o
- In file included from ../drivers/hisi/tzdriver/tc_client_driver.c:63:0:
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘struct mmc_blk_ioc_rpmb_data’ declared inside parameter list
- struct mmc_blk_ioc_rpmb_data *idata);
- ^
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: its scope is only this definition or declaration, which is probably not what you want
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘enum func_id’ declared inside parameter list
- CC drivers/hisi/tzdriver/mailbox_mempool.o
- CC drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.o
- CC fs/proc/page.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:52:
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
- #ifndef _DRIVER_REGISTER.H
- ^
- CC drivers/huawei_platform/touthscreen/huawei_touchscreen.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
- #define _DRIVER_REGISTER.H
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:54:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_dbg.h:190:0: warning: "WL_TRACE" redefined
- #define WL_TRACE(args)
- ^
- CC drivers/hisi/modem/drv/hds/bsp_hds_test.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:50:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:120:0: note: this is the location of the previous definition
- #define WL_TRACE(args) \
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:55:0: warning: "WL_ERROR" redefined
- #define WL_ERROR(x) printk x
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:54:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_dbg.h:189:0: note: this is the location of the previous definition
- #define WL_ERROR(args)
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:56:0: warning: "WL_TRACE" redefined
- #define WL_TRACE(x)
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:54:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_dbg.h:190:0: note: this is the location of the previous definition
- #define WL_TRACE(args)
- ^
- CC drivers/huawei_platform/vendor_exception/vendor_exception.o
- ../drivers/hisi/tzdriver/tc_client_driver.c: In function ‘check_teecd_hash’:
- ../drivers/hisi/tzdriver/tc_client_driver.c:266:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- unsigned char digest[SHA256_DIGEST_LENTH] = {0};
- ^
- CC lib/kobject.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c: In function ‘wl_android_set_disassoc_roaming_bssid’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:2264:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- scb_val_t scbval;
- ^
- CC drivers/mmc/host/hisi_sdhci_cmdq.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c: At top level:
- ../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]
- dev_iw_write_cfg0_bss_var(struct net_device *dev, int val)
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:1800:1: warning: ‘get_softap_auto_channel’ defined but not used [-Wunused-function]
- get_softap_auto_channel(struct net_device *dev, struct ap_profile *ap)
- ^
- LD drivers/mfd/built-in.o
- ../drivers/huawei_platform/net/bastet/bastet_partner.c:33:0: warning: "UID_APP" redefined
- #define UID_APP 10000
- ^
- ../drivers/hisi/tzdriver/tc_client_driver.c: In function ‘tc_client_open’:
- ../drivers/hisi/tzdriver/tc_client_driver.c:2645:6: warning: unused variable ‘type’ [-Wunused-variable]
- int type = INVALID_TYPE;
- ^
- In file included from ../include/net/neighbour.h:31:0,
- from ../include/net/dst.h:17,
- from ../include/net/sock.h:69,
- from ../include/linux/tcp.h:23,
- from ../drivers/huawei_platform/net/bastet/bastet_partner.c:27:
- ../include/huawei_platform/emcom/emcom_xengine.h:14:0: note: this is the location of the previous definition
- #define UID_APP (10000)
- ^
- ../drivers/huawei_platform/net/bastet/bastet_partner.c: In function ‘del_socks’:
- ../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=]
- BASTET_LOGI("kfree struct bastet_partner_sock, uid=%d", sock_i_uid(sock_node->sk));
- ^
- LD drivers/connectivity/hisi/wifi/wifi.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_pm_coarse_demand.o
- CC drivers/huawei_platform/usb/pd/hw_pd.o
- CC drivers/huawei_platform/usb/pd/hw_usb_vbus.o
- CC drivers/huawei_platform/touthscreen/panel/atmel/atmel_main.o
- CC drivers/huawei_platform/touthscreen/panel/atmel/atmel_fw_update.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_pm_demand.o
- CC drivers/input/mouse/alps.o
- CC drivers/input/mouse/logips2pp.o
- CC drivers/huawei_platform/power/charger/charger_ap/dual_charger/bq25892_aux/bq25892_charger_aux.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_roam.c:33:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
- #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_roam.c:32:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
- #define strnicmp strncasecmp
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:72:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
- #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:36:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
- #define strnicmp strncasecmp
- ^
- CC drivers/hisi/modem/oam/gu/../../config/errlog/errlog_cfg.o
- CC drivers/hisi/modem/oam/gu/../gu/acore/om/ompcvoice.o
- CC drivers/md/dm-io.o
- CC drivers/huawei_platform/power/charger/charger_ap/dual_charger/dual_charger.o
- CC drivers/hisi/modem/oam/gu/../gu/acore/om/pamappom.o
- LD net/netfilter/netfilter.o
- CC drivers/hisi/modem/oam/gu/../gu/acore/usimm/usimmappbase.o
- CC drivers/hisi/modem/oam/lt/../comm/comm/nvim/Nvm_fw_api.o
- CC drivers/mmc/card/emmc_system_wp.o
- CC drivers/huawei_platform/power/charger/charger_ap/dual_charger/bq25892_main/bq25892_charger_main.o
- LD drivers/hisi/modem/drv/dump/comm/built-in.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/osl.h:43:0,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:85,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:37:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c: In function ‘wl_android_get_vowifi’:
- ../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]
- #define printf(fmt, args...) printk("BCMDHD:"fmt , ## args)
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:1466:12: note: ‘bytes_written’ was declared here
- int error,bytes_written,val;
- ^
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_pm_policy.o
- CC drivers/huawei_platform/power/charger/charger_ap/wired_channel_switch/wired_channel_switch.o
- CC drivers/hisi/modem/oam/lt/../comm/comm/nvim/Nvm_fw_proc.o
- LD drivers/hisi/modem/drv/balong_timer/built-in.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/DIPC/Src/PsDipc.o
- CC drivers/hisi/mntn/blackbox/rdr_field_core.o
- CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_acore_common.o
- LD drivers/huawei_platform/power/charger/charger_ap/bq25892/built-in.o
- CC drivers/hisi/tzdriver/security_auth_enhance.o
- LD net/netfilter/nf_conntrack.o
- LD drivers/hisi/modem/drv/efuse/built-in.o
- LD net/netfilter/nf_conntrack_h323.o
- CC drivers/hisi/modem/drv/icc/icc_core.o
- CC drivers/hid/hid-monterey.o
- CC drivers/huawei_platform/sw/sw_hid.o
- CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_api.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/osl.h:43:0,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:85,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:37:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c: In function ‘wl_android_set_vowifi’:
- ../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]
- #define printf(fmt, args...) printk("BCMDHD:"fmt , ## args)
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_android.c:1433:6: note: ‘bytes_written’ was declared here
- int bytes_written;
- ^
- CC drivers/huawei_platform/power/charger/charger_ap/direct_charger/sc.o
- CC drivers/huawei_platform/power/charger/charger_ap/direct_charger/lvc.o
- CC drivers/hisi/modem/drv/icc/icc_linux.o
- CC drivers/hisi/noc/hisi_noc_info_kirin970.o
- CC drivers/huawei_platform/oases/sign/mpicoder.o
- CC drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger_power_supply.o
- CC drivers/huawei_platform/vibrator/drv2605/drv2605.o
- CC drivers/hid/hid-multitouch.o
- CC drivers/hisi/noc/hisi_noc_info_MIA.o
- ../drivers/mmc/card/block.c:107:0: warning: "mmc_req_rel_wr" redefined
- #define mmc_req_rel_wr(req) ((req->cmd_flags & REQ_FUA) && \
- ^
- In file included from ../drivers/mmc/card/block.c:62:0:
- ../drivers/mmc/card/mmc_hisi_card.h:46:0: note: this is the location of the previous definition
- #define mmc_req_rel_wr(req) (((req->cmd_flags & REQ_FUA) || \
- ^
- CC drivers/hisi/modem/ps/tl/../comm/comm/common/STL/Src/LUPQueue.o
- CC drivers/huawei_platform/usb/switch/switch_sensorhub/switch_fsa9685_sh.o
- CC drivers/input/mouse/trackpoint.o
- CC drivers/huawei_platform/usb/switch/switch_ap/switch_usb_class.o
- CC drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.o
- CC drivers/mmc/core/mmc.o
- ../drivers/huawei_platform/net/bastet/bastet_reconn.c: In function ‘bastet_reconn_config’:
- ../drivers/huawei_platform/net/bastet/bastet_reconn.c:49:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct bastet_reconn *reconn;
- ^
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/backend/gpu/mali_kbase_time.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:77:
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
- #ifndef _DRIVER_REGISTER.H
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
- #define _DRIVER_REGISTER.H
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:483:23: warning: extra tokens at end of #ifndef directive
- #ifndef WLAIBSS_MCHAN || BRCM_RSDB
- ^
- LD drivers/connectivity/hisi/wifi/built-in.o
- CC drivers/input/mouse/cypress_ps2.o
- CC lib/kobject_uevent.o
- CC drivers/media/huawei/camera/hwcam_compat32.o
- CC fs/proc/hisi/hardware_info.o
- CC drivers/gpu/arm/bifrost-r14p0-00cet0/platform/hisilicon/base/memory_group_manager/mali_kbase_hisi_memory_group_manager.o
- CC drivers/hisi/tzdriver/agent.o
- CC drivers/hisi/tzdriver/gp_ops.o
- In file included from ../include/linux/list.h:8:0,
- from ../include/linux/module.h:9,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/linuxver.h:42,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:28:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_scan_prep’:
- ../include/linux/kernel.h:745:16: warning: comparison of distinct pointer types lacks a cast
- (void) (&min1 == &min2); \
- ^
- ../include/linux/kernel.h:748:2: note: in expansion of macro ‘__min’
- __min(typeof(x), typeof(y), \
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:3200:20: note: in expansion of macro ‘min’
- ssid.SSID_len = min(request->ssids[i].ssid_len, DOT11_MAX_SSID_LEN);
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_run_escan’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:3567:6: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- scb_val_t scbval;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_do_escan’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:3644:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- dhd_pub_t *dhd = (dhd_pub_t *)(cfg->pub);
- ^
- CC drivers/media/huawei/camera/cci/hw_cci.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_set_set_wapi_ie’:
- ../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
- err = wldev_iovar_setbuf_bsscfg(dev, "wapiie", sme->ie, sme->ie_len,
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:71:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wldev_common.h:76:5: note: expected ‘void *’ but argument is of type ‘const u8 *’
- s32 wldev_iovar_setbuf_bsscfg(
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_cfg80211_connect’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:6755:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- extern bool g_abs_enabled;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:6359:6: warning: unused variable ‘i’ [-Wunused-variable]
- u32 i = 0;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_cfg80211_get_station’:
- LD drivers/hisi/modem/drv/dump/mdmap/built-in.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:7840:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- dhd_pub_t *dhd = (dhd_pub_t *)(cfg->pub);
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfgp2p.c:49:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
- #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
- ^
- ../drivers/huawei_platform/net/bastet/bastet_fastgrab.c: In function ‘BST_FG_HookPacket’:
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfgp2p.c:43:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
- #define strnicmp strncasecmp
- ^
- ../drivers/huawei_platform/net/bastet/bastet_fastgrab.c:287:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- uid_t lSockUid = 0;
- ^
- ../drivers/huawei_platform/net/bastet/bastet_fastgrab.c: In function ‘BST_FG_Save_Custom_Info’:
- ../drivers/huawei_platform/net/bastet/bastet_fastgrab.c:777:22: warning: unused variable ‘pstCustom’ [-Wunused-variable]
- BST_FG_CUSTOM_STRU *pstCustom;
- ^
- ../drivers/huawei_platform/net/bastet/bastet_fastgrab.c:775:10: warning: unused variable ‘ucAPPNum’ [-Wunused-variable]
- uint8_t ucAPPNum;
- ^
- ../drivers/huawei_platform/net/bastet/bastet_fastgrab.c: In function ‘BST_FG_Custom_Process’:
- ../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=]
- BASTET_LOGD("BST_FG_CUSTOM:TCP Timeout is 0x%x",timeout);
- ^
- CC drivers/hisi/noc/hisi_noc_info_ATLA_es.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:7846:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- bool fw_assoc_state = FALSE;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:7822:6: warning: unused variable ‘ekvr_channel’ [-Wunused-variable]
- u32 ekvr_channel;
- ^
- CC drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/dual_loadswitch.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_cfg80211_send_action_frame’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:9392:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- int ret_tmp = wl_cfgp2p_tx_action_frame(cfg, dev, af_params, bssidx);
- ^
- LD drivers/hisi/modem/drv/hwadp/built-in.o
- CC drivers/hisi/tzdriver/mem.o
- CC drivers/hisi/modem/drv/dump/mem/dump_modem_area.o
- LD net/netfilter/nf_nat.o
- CC drivers/hisi/modem/drv/dump/mdmcp/dump_lphy_tcm.o
- CC drivers/hisi/modem/taf/comm/src/acore/ADS/Src/AdsCtx.o
- ../drivers/huawei_platform/touch_key/cyp_touch_key.c: In function ‘rawdata_proc_show’:
- LD net/netfilter/nf_tables.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/MUX/Src/PsMux.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_cfg80211_start_ap’:
- LD drivers/huawei_platform/inputhub/hi3660/built-in.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:11967:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- s32 ap_channel = 0;
- ^
- ../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=]
- }
- ^
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/FLOWCTRL/Src/ACpuLoad.o
- CC drivers/hid/hid-ntrig.o
- LD drivers/huawei_platform/vendor_exception/built-in.o
- CC drivers/huawei_platform/net/bastet/bastet_hbm.o
- CC drivers/hisi/modem/drv/icc/icc_debug.o
- CC drivers/mmc/card/dsm_emmc.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wifitim_seq_show’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:14419:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- dhd_pub_t *dhd = wl_cfg80211_get_dhdp();
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_hw_temp_dmd_get_start_info’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:14979:9: warning: unused variable ‘rssi’ [-Wunused-variable]
- s32 rssi, err = 0;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_hw_tem_ctrl_event_report’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:15025:6: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static struct timeval tem_ctrl_cycle_end;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_hw_tem_ctrl_abnormal_event’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:15112:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- dhd_pub_t *dhd = (dhd_pub_t *)(cfg->pub);
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_notify_roaming_status’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:15380:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- dhd_pub_t *dhd = (dhd_pub_t *)(cfg->pub);
- ^
- ../drivers/huawei_platform/net/bastet/bastet_filter.c:139:11: warning: initialization from incompatible pointer type
- .hook = hook_local_out_cb,
- ^
- ../drivers/huawei_platform/usb/pd/hw_usb_vbus.c: In function ‘vbus_connect_work’:
- ../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=]
- hwlog_info("%s: cc change, exit,complete_type = %d, timeout is %u\n", __func__, g_typec_complete_type, timeout);
- ^
- LD drivers/huawei_platform/inputhub/built-in.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/common/FLOWCTRL/Src/Fc.o
- ../drivers/huawei_platform/net/bastet/bastet_filter.c:139:11: warning: (near initialization for ‘ipv4_local_out_ops.hook’)
- ../drivers/huawei_platform/net/bastet/bastet_filter.c:149:11: warning: initialization from incompatible pointer type
- .hook = hook_local_out_cb,
- ^
- ../drivers/huawei_platform/net/bastet/bastet_filter.c:149:11: warning: (near initialization for ‘ipv6_local_out_ops.hook’)
- ../drivers/huawei_platform/net/bastet/bastet_filter.c: In function ‘set_proc_info’:
- ../drivers/huawei_platform/net/bastet/bastet_filter.c:298:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- int rc = 0;
- ^
- In file included from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:57:0:
- ../include/huawei_platform/usb/switch/switch_fsa9685.h:15:0: warning: "FSA9685_OPEN" redefined
- #define FSA9685_OPEN (0)
- ^
- In file included from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:35:0:
- ../drivers/huawei_platform/usb/switch/switch_ap/switch_usb_class.h:22:0: note: this is the location of the previous definition
- #define FSA9685_OPEN 0
- ^
- In file included from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:57:0:
- ../include/huawei_platform/usb/switch/switch_fsa9685.h:16:0: warning: "FSA9685_USB1_ID_TO_IDBYPASS" redefined
- #define FSA9685_USB1_ID_TO_IDBYPASS (1)
- ^
- In file included from ../drivers/huawei_platform/power/charger/charger_ap/huawei_charger.c:35:0:
- ../drivers/huawei_platform/usb/switch/switch_ap/switch_usb_class.h:26:0: note: this is the location of the previous definition
- #define FSA9685_USB1_ID_TO_IDBYPASS 1
- ^
- CC drivers/hid/hid-ortek.o
- CC drivers/hisi/modem/drv/ipf/ipf_balong.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_notify_sched_scan_results’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:17130:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct wl_pfn_scanresults *pfn_result = (struct wl_pfn_scanresults *)data;
- ^
- In file included from ../drivers/huawei_platform/touthscreen/panel/atmel/../../huawei_touchscreen_chips.h:11:0,
- from ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_fw_update.c:8:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- In file included from ../drivers/huawei_platform/touthscreen/panel/atmel/../../huawei_touchscreen_chips.h:11:0,
- from ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_main.c:8:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_notify_txfail_event’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:17426:6: warning: unused variable ‘event’ [-Wunused-variable]
- u32 event = ntoh32(e->event_type);
- ^
- CC drivers/hisi/modem/oam/gu/../gu/acore/cbtcpm/CbtCpm.o
- In file included from ../drivers/huawei_platform/touthscreen/huawei_touchscreen_chips.h:11:0,
- from ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:35:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- CC drivers/hisi/modem/oam/gu/../gu/acore/cbtppm/CbtPpm.o
- CC drivers/huawei_platform/touthscreen/panel/st/fts.o
- CC drivers/hisi/modem/oam/gu/../gu/acore/cbtscm/CBTSCMSoftDecode.o
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘put_one_cmd_direct_sync’:
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg_btcoex.o
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:482:1: warning: label ‘out’ defined but not used [-Wunused-label]
- out:
- ^
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_oem_info_show’:
- CC drivers/hisi/modem/drv/ipc/ipc_balong.o
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:688:7: warning: unused variable ‘count’ [-Wunused-variable]
- int count = 30;
- ^
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:687:7: warning: unused variable ‘parade_flag’ [-Wunused-variable]
- int parade_flag = 0;
- ^
- CC drivers/huawei_platform/touthscreen/panel/st/fts_sys.o
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_ome_info_store’:
- ../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=]
- TS_LOG_ERR("%s: Store TPIC type data size= %d larger than MAX input size=%d \n",
- ^
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:791:15: warning: unused variable ‘value’ [-Wunused-variable]
- unsigned int value;
- ^
- In file included from ../drivers/huawei_platform/oases/sign/mpicoder.c:25:0:
- ../drivers/huawei_platform/oases/sign/../util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
- static inline int oases_insn_patch_nosync(void* addr, u32 insn);
- ^
- In file included from ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_fw_update.c:12:0:
- ../drivers/huawei_platform/touthscreen/panel/atmel/atmel.h:324:22: warning: ‘roi_data’ defined but not used [-Wunused-variable]
- static unsigned char roi_data[ROI_DATA_READ_LENGTH] = { 0 };
- ^
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_send_init_cmd’:
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:1387:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct ts_cmd_node cmd;
- ^
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘tp_init_work_fn’:
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:1413:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- int error = NO_ERR;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_update_prof’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:20860:8: warning: assignment discards ‘const’ qualifier from pointer target type
- ssid = (const wlc_ssid_t *) data;
- ^
- In file included from ../include/linux/list.h:8:0,
- from ../include/linux/module.h:9,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/linuxver.h:42,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:28:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_update_hidden_ap_ie’:
- ../include/linux/kernel.h:745:16: warning: comparison of distinct pointer types lacks a cast
- (void) (&min1 == &min2); \
- ^
- ../include/linux/kernel.h:748:2: note: in expansion of macro ‘__min’
- __min(typeof(x), typeof(y), \
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:20974:19: note: in expansion of macro ‘min’
- int32 ssid_len = min(bi->SSID_len, DOT11_MAX_SSID_LEN);
- ^
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_register_store_parse_param’:
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:1863:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- int error = NO_ERR;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_debug_otp_fs_read’:
- ../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=]
- WL_ERR(("wl_debug_otp_fs_read nbytes %zu\n", cish.nbytes));
- ^
- ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_main.c: In function ‘mxt_read_roi_data’:
- ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_main.c:3040:30: warning: initialization from incompatible pointer type
- u16(*target)[MXT_ROI_ROW] = &roi_data[0] + 4;
- ^
- CC drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/rt9748/rt9748_main.o
- CC drivers/hisi/modem/oam/gu/../gu/acore/cbtfun/cbtappfunction.o
- ../drivers/huawei_platform/usb/pd/hw_pd.c: In function ‘pd_dpm_get_charge_event’:
- ../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=]
- hwlog_info("%s event =%d\n", __func__, g_charger_type_event);
- ^
- ../drivers/huawei_platform/usb/pd/hw_pd.c: In function ‘pd_dpm_set_charge_event’:
- ../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=]
- hwlog_info("%s event =%d\n", __func__, event);
- ^
- ../drivers/huawei_platform/usb/pd/hw_pd.c: In function ‘pd_dpm_report_pd_sink_vbus’:
- ../drivers/huawei_platform/usb/pd/hw_pd.c:702:7: warning: unused variable ‘skip’ [-Wunused-variable]
- bool skip = false;
- ^
- ../drivers/huawei_platform/usb/pd/hw_pd.c: In function ‘pd_dpm_vbus_ctrl’:
- ../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=]
- hwlog_info("%s event = %d\n", __func__, event);
- ^
- ../drivers/huawei_platform/usb/pd/hw_pd.c: In function ‘pd_dpm_report_bc12’:
- ../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=]
- hwlog_info("%s : received event (%d)\n", __func__, event);
- ^
- ../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=]
- hwlog_info("%s : notify event (%d)\n", __func__, event);
- ^
- ../drivers/huawei_platform/usb/pd/hw_pd.c:806:28: warning: unused variable ‘vbus_state’ [-Wunused-variable]
- struct pd_dpm_vbus_state *vbus_state = data;
- ^
- ../drivers/huawei_platform/usb/pd/hw_pd.c: In function ‘pd_dpm_report_host_attach’:
- ../drivers/huawei_platform/usb/pd/hw_pd.c:968:18: warning: unused variable ‘con’ [-Wunused-variable]
- struct console *con;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_notify_ant_event’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:25115:6: warning: unused variable ‘event’ [-Wunused-variable]
- u32 event = ntoh32(e->event_type);
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:25113:23: warning: unused variable ‘evt_data’ [-Wunused-variable]
- wl_event_data_ant_t *evt_data = (wl_event_data_ant_t *)data;
- ^
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘rawdata_proc_show’:
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘early_parse_direct_charger_cmdline’:
- ../drivers/huawei_platform/usb/pd/hw_pd.c: In function ‘pd_dpm_probe’:
- ../drivers/huawei_platform/usb/pd/hw_pd.c:1689:33: warning: unused variable ‘dual_role’ [-Wunused-variable]
- struct dual_role_phy_instance *dual_role;
- ^
- ../drivers/huawei_platform/usb/pd/hw_pd.c:1688:29: warning: unused variable ‘desc’ [-Wunused-variable]
- struct dual_role_phy_desc *desc;
- ^
- ../drivers/huawei_platform/usb/pd/hw_pd.c: At top level:
- ../drivers/huawei_platform/usb/pd/hw_pd.c:84:21: warning: ‘dpm_sink_vbus_lock’ defined but not used [-Wunused-variable]
- static struct mutex dpm_sink_vbus_lock;
- ^
- ../drivers/huawei_platform/usb/pd/hw_pd.c:119:23: warning: ‘g_con’ defined but not used [-Wunused-variable]
- static struct console g_con;
- ^
- ../drivers/huawei_platform/usb/pd/hw_pd.c: In function ‘pd_dpm_get_cur_usb_event’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: At top level:
- ../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=]
- hwlog_info("%s:c_offset_a=%d,c_offset_b=%d\n", __func__, c_offset_a, c_offset_b);
- ^
- ../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=]
- CC lib/md5.o
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:3945:1: warning: label ‘OUT’ defined but not used [-Wunused-label]
- OUT:
- ^
- CC drivers/media/huawei/camera/clt/hisi_clt_flag.o
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘is_in_scp_charging_stage’:
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:375:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘get_bat_current’:
- ../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=]
- 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);
- ^
- ../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=]
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘fb_notifier_callback’:
- ../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=]
- TS_LOG_DEBUG("event(%d) do not need process\n", event);
- ^
- LD drivers/hisi/modem/drv/adp/built-in.o
- CC drivers/media/huawei/camera/csi/hw_csi.o
- In file included from ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:28:0:
- ../drivers/huawei_platform/sensor/fingerprint/fingerprint.h:23:0: warning: "KEY_MAX" redefined
- #define KEY_MAX 255
- ^
- CC drivers/huawei_platform/power/charger/charger_ap/wired_channel_switch/ovp_switch/ovp_switch.o
- LD drivers/hisi/soundtrigger/built-in.o
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/sc.c: In function ‘direct_charge_sc_check’:
- LD drivers/hisi/mntn/blackbox/diaginfo/built-in.o
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/sc.c:72:24: warning: unused variable ‘charge_done_status’ [-Wunused-variable]
- enum charge_done_type charge_done_status = get_charge_done_type();
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/sc.c: In function ‘direct_charge_fault_work’:
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/sc.c:221:6: warning: unused variable ‘bat_capacity’ [-Wunused-variable]
- int bat_capacity = 0;
- ^
- ../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]
- static bcm_struct_cfgdev* bcm_cfg80211_add_ibss_if(struct wiphy *wiphy, char *name);
- ^
- ../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]
- static s32 bcm_cfg80211_del_ibss_if(struct wiphy *wiphy, bcm_struct_cfgdev *cfgdev);
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c:13106:31: warning: ‘brcm_wowlan_config’ defined but not used [-Wunused-variable]
- static struct cfg80211_wowlan brcm_wowlan_config = {
- ^
- ../drivers/huawei_platform/usb/pd/hw_pd.c:1114:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- In file included from ../include/uapi/linux/input.h:19:0,
- from ../include/linux/input.h:13,
- from ../drivers/huawei_platform/sensor/fingerprint/fingerprint.c:5:
- ../include/uapi/linux/input-event-codes.h:690:0: note: this is the location of the previous definition
- #define KEY_MAX 0x2ff
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘do_adpator_antifake_check’:
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:1268:6: warning: unused variable ‘val’ [-Wunused-variable]
- int val = 0;
- ^
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_proc_command_directly’:
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘do_adpator_voltage_accuracy_check’:
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:1373:7: warning: unused variable ‘buf’ [-Wunused-variable]
- char buf[1024] = { 0 };
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:1372:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret;
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘get_vbus_vbat’:
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:1810:16: warning: unused variable ‘vbat_tmp’ [-Wunused-variable]
- int vbus_tmp, vbat_tmp;
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:1810:6: warning: unused variable ‘vbus_tmp’ [-Wunused-variable]
- int vbus_tmp, vbat_tmp;
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/sc.c: In function ‘direct_charge_sc_probe’:
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/sc.c:715:14: warning: assignment discards ‘const’ qualifier from pointer target type
- di->ls_name = switchcap_name[di->ls_id];
- ^
- CC drivers/hid/hid-prodikeys.o
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/lvc.c: In function ‘direct_charge_lvc_check’:
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:5818:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct ts_cmd_node outcmd;
- ^
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_ioctl_get_fingers_info’:
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:5969:6: warning: unused variable ‘frame_size’ [-Wunused-variable]
- u32 frame_size;
- ^
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:5968:20: warning: unused variable ‘data’ [-Wunused-variable]
- struct ts_fingers data;
- ^
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_ioctl_get_aft_param_info’:
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:6025:19: warning: passing argument 1 of ‘copy_to_user’ makes pointer from integer without a cast
- if (copy_to_user(arg, &g_ts_data.aft_param,
- ^
- In file included from ../include/linux/uaccess.h:5:0,
- from ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:25:
- ../arch/arm64/include/asm/uaccess.h:454:42: note: expected ‘void *’ but argument is of type ‘long unsigned int’
- static inline unsigned long __must_check copy_to_user(void __user *to, const void *from, unsigned long n)
- ^
- CC drivers/huawei_platform/sw/sw_utils.o
- LD drivers/huawei_platform/sensor/fingerprint/built-in.o
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘direct_charge_parse_dts’:
- CC drivers/huawei_platform/sw/sw_debug.o
- ../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
- ret = of_property_read_u32(np, "adaptor_antifake_key_index", &(di->adaptor_antifake_key_index));
- ^
- In file included from ../include/huawei_platform/power/direct_charger.h:10:0,
- from ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:20:
- ../include/linux/of.h:1046:19: note: expected ‘u32 *’ but argument is of type ‘char *’
- static inline int of_property_read_u32(const struct device_node *np,
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘direct_charge_regulation’:
- ../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]
- int iadapt = get_adaptor_current();
- ^
- ../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]
- int vbat = di->vbat;
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/dual_charger/dual_charger.c: In function ‘dual_charger_sysfs_show’:
- ../drivers/huawei_platform/power/charger/charger_ap/dual_charger/dual_charger.c:802:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret;
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/dual_charger/dual_charger.c: In function ‘dual_charger_sysfs_store’:
- ../drivers/huawei_platform/power/charger/charger_ap/dual_charger/dual_charger.c:826:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret;
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/dual_charger/dual_charger.c: At top level:
- ../drivers/huawei_platform/power/charger/charger_ap/dual_charger/dual_charger.c:1066:12: warning: initialization from incompatible pointer type
- .remove = dual_charger_remove,
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/dual_charger/dual_charger.c:1066:12: warning: (near initialization for ‘dual_charger_driver.remove’)
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/lvc.c:72:24: warning: unused variable ‘charge_done_status’ [-Wunused-variable]
- enum charge_done_type charge_done_status = get_charge_done_type();
- ^
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_ioctl_set_coordinates’:
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:6042:16: warning: unused variable ‘flags’ [-Wunused-variable]
- unsigned long flags;
- ^
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘get_ts_bus_info’:
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:6568:61: warning: passing argument 3 of ‘of_property_read_u32’ from incompatible pointer type
- rc = of_property_read_u32(g_ts_data.node, "aft_enable", &g_ts_data.aft_param.aft_enable_flag);
- ^
- In file included from ../include/asm-generic/gpio.h:7:0,
- from ../include/linux/gpio.h:51,
- from ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:17:
- ../include/linux/of.h:1046:19: note: expected ‘u32 *’ but argument is of type ‘char *’
- static inline int of_property_read_u32(const struct device_node *np,
- ^
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘check_tp_calibration_info’:
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:6814:2: warning: ‘return’ with a value, in function returning void
- return error;
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/lvc.c: In function ‘direct_charge_lvc_probe’:
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/lvc.c:664:14: warning: assignment discards ‘const’ qualifier from pointer target type
- di->ls_name = loadswitch_name[di->ls_id];
- ^
- LD drivers/huawei_platform/sensor/built-in.o
- In file included from ../drivers/huawei_platform/usb/switch/switch_sensorhub/switch_fsa9685_sh.c:42:0:
- ../drivers/huawei_platform/inputhub/hi3660/sensor_info.h:491:1: warning: useless storage class specifier in empty declaration
- };
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘kick_watchdog_work’:
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:3004:6: warning: unused variable ‘bat_curr’ [-Wunused-variable]
- int bat_curr;
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:3003:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret;
- ^
- In file included from ../include/linux/mm_types.h:15:0,
- from ../include/linux/sched.h:27,
- from ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:8:
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c: In function ‘ts_thread’:
- ../include/linux/workqueue.h:219:17: warning: assignment from incompatible pointer type
- (_work)->func = (_func); \
- ^
- ../include/linux/workqueue.h:224:2: note: in expansion of macro ‘__INIT_WORK’
- __INIT_WORK((_work), (_func), 0)
- ^
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:7250:6: note: in expansion of macro ‘INIT_WORK’
- INIT_WORK(&check_tp_calibration_info_work, check_tp_calibration_info);
- ^
- LD drivers/connectivity/hisi/built-in.o
- LD net/netfilter/built-in.o
- CC fs/proc/hisi/meminfo_lite.o
- CC fs/proc/hisi/protect_lru.o
- CC drivers/hisi/mntn/blackbox/platform_hifi/rdr_hisi_audio_adapter.o
- ../drivers/huawei_platform/usb/switch/switch_sensorhub/switch_fsa9685_sh.c:309:31: warning: ‘fsa9685_get_charger_type’ defined but not used [-Wunused-function]
- static enum hisi_charger_type fsa9685_get_charger_type(void)
- ^
- ../drivers/huawei_platform/usb/switch/switch_sensorhub/switch_fsa9685_sh.c:763:12: warning: ‘fcp_adapter_detect’ defined but not used [-Wunused-function]
- static int fcp_adapter_detect(void)
- ^
- CC drivers/hisi/modem/drv/loadm/load_image.o
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c: In function ‘drv2605_parse_dt’:
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:798:57: warning: passing argument 3 of ‘of_property_read_string’ from incompatible pointer type
- rc = of_property_read_string(dev->of_node, "ti,label", &pdata->name);
- ^
- In file included from ../include/linux/i2c.h:33:0,
- from ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:8:
- ../include/linux/of.h:314:12: note: expected ‘const char **’ but argument is of type ‘char **’
- extern int of_property_read_string(const struct device_node *np,
- ^
- In file included from ../drivers/hisi/tzdriver/agent.c:40:0:
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘struct mmc_blk_ioc_rpmb_data’ declared inside parameter list
- struct mmc_blk_ioc_rpmb_data *idata);
- ^
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: its scope is only this definition or declaration, which is probably not what you want
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘enum func_id’ declared inside parameter list
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:796:21: warning: unused variable ‘flags’ [-Wunused-variable]
- enum of_gpio_flags flags;
- ^
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c: In function ‘vibrator_dbc_test_store’:
- ../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=]
- dev_info(&client_temp->dev,
- ^
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c: In function ‘vibrator_set_reg_value_store’:
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1126:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- char val = 0, set_reg[2] = { 0 };
- ^
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c: In function ‘haptic_test_store’:
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1162:7: warning: unused variable ‘rtp_value’ [-Wunused-variable]
- char rtp_value = 0;
- ^
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1161:16: warning: unused variable ‘table_num’ [-Wunused-variable]
- int time = 0, table_num = 0;
- ^
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1161:6: warning: unused variable ‘time’ [-Wunused-variable]
- int time = 0, table_num = 0;
- ^
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1158:7: warning: unused variable ‘type’ [-Wunused-variable]
- char type = 0;
- ^
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1157:11: warning: unused variable ‘value’ [-Wunused-variable]
- uint64_t value = 0;
- ^
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c: In function ‘vibrator_set_rtp_value_store’:
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1200:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- char val = 0, set_reg[2]={0};
- ^
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1200:16: warning: unused variable ‘set_reg’ [-Wunused-variable]
- char val = 0, set_reg[2]={0};
- ^
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1200:7: warning: unused variable ‘val’ [-Wunused-variable]
- char val = 0, set_reg[2]={0};
- ^
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c: In function ‘haptics_write’:
- CC drivers/hisi/mntn/blackbox/platform_ap/rdr_hisi_ap_adapter.o
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger_power_supply.c: In function ‘direct_charge_ps_sysfs_show’:
- ../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
- return NULL;
- ^
- CC drivers/hisi/tzdriver/cmdmonitor.o
- ../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=]
- dev_info(&(data->client->dev), "[haptics write] type:%d,table_num:%d.\n", type,table_num);
- ^
- ../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=]
- dev_info(&(data->client->dev), "[haptics write] undefined type:%d.\n", type);
- ^
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c: In function ‘drv2605_probe’:
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1469:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct led_classdev *cclassdev = NULL;
- ^
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger_power_supply.c: At top level:
- ../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]
- static struct scp_power_supply_ops* g_scp_ps_ops;
- ^
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1534:28: warning: assignment from incompatible pointer type
- cclassdev->brightness_set = vibrator_enable;
- ^
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:1464:7: warning: unused variable ‘status’ [-Wunused-variable]
- char status = 0;
- ^
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c: At top level:
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:166:12: warning: ‘device_id’ defined but not used [-Wunused-variable]
- static int device_id = -1;
- ^
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:167:13: warning: ‘read_val’ defined but not used [-Wunused-variable]
- static char read_val;
- ^
- CC drivers/hisi/mntn/blackbox/platform_ap/rdr_hisi_ap_ringbuffer.o
- CC drivers/mmc/card/dsm_sdcard.o
- CC drivers/huawei_platform/voltage_detection/fsa7830.o
- ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c: In function ‘rt8979_sw_open’:
- ../drivers/huawei_platform/vibrator/drv2605/drv2605.c:289:23: warning: ‘dsm_vibrator’ defined but not used [-Wunused-variable]
- static struct dsm_dev dsm_vibrator = {
- ^
- ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c:615:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret;
- ^
- ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c: In function ‘rt8979_accp_enable’:
- ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c:624:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret;
- ^
- CC drivers/hisi/modem/drv/dump/mdmcp/dump_cphy_tcm.o
- CC drivers/huawei_platform/voltage_detection/hw_voltage_dev.o
- LD drivers/hisi/slimbus/hisilicon-slimbus-platform.o
- ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c: In function ‘switch_chip_reset’:
- ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c:1283:16: warning: unused variable ‘reg_val2’ [-Wunused-variable]
- int reg_val1, reg_val2;
- ^
- ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c:1283:6: warning: unused variable ‘reg_val1’ [-Wunused-variable]
- int reg_val1, reg_val2;
- ^
- ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c:1282:21: warning: unused variable ‘accp_status_mask’ [-Wunused-variable]
- int slave_good, accp_status_mask;
- ^
- ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c:1282:9: warning: unused variable ‘slave_good’ [-Wunused-variable]
- int slave_good, accp_status_mask;
- ^
- ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c: In function ‘fsa9865_accp_adapter_detect’:
- ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c:1790:10: warning: unused variable ‘is_dcp’ [-Wunused-variable]
- bool is_dcp = false;
- ^
- ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c: In function ‘rt8979_accp_adapter_detect’:
- In file included from ../drivers/hisi/tzdriver/mem.c:27:0:
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘struct mmc_blk_ioc_rpmb_data’ declared inside parameter list
- struct mmc_blk_ioc_rpmb_data *idata);
- ^
- CC drivers/huawei_platform/oases/sign/mpih-cmp.o
- CC drivers/huawei_platform/oases/sign/mpih-div.o
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: its scope is only this definition or declaration, which is probably not what you want
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘enum func_id’ declared inside parameter list
- ../drivers/huawei_platform/usb/switch/switch_ap/switch_fsa9685.c:1867:10: warning: unused variable ‘is_dcp’ [-Wunused-variable]
- bool is_dcp = false;
- ^
- CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_cfg.o
- CC drivers/hisi/modem/taf/comm/src/acore/ADS/Src/AdsDownLink.o
- CC drivers/hid/hid-pl.o
- LD drivers/media/huawei/camera/fd/built-in.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wldev_common.o
- CC drivers/mmc/card/hisi_cmdq_card.o
- CC drivers/huawei_platform/oases/hook_func.o
- LD drivers/hisi/slimbus/built-in.o
- CC drivers/mmc/core/mmc_ops.o
- CC drivers/hisi/modem/drv/dump/mem/dump_modem_field.o
- LD drivers/hisi/modem/drv/hds/built-in.o
- CC drivers/huawei_platform/touthscreen/panel/st/fts_update.o
- CC drivers/mmc/core/sd.o
- CC drivers/hisi/tzdriver/tzdebug.o
- In file included from ../drivers/hisi/tzdriver/gp_ops.c:20:0:
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘struct mmc_blk_ioc_rpmb_data’ declared inside parameter list
- struct mmc_blk_ioc_rpmb_data *idata);
- ^
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_linux_mon.o
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: its scope is only this definition or declaration, which is probably not what you want
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘enum func_id’ declared inside parameter list
- CC drivers/mmc/core/sd_ops.o
- CC drivers/hisi/modem/oam/gu/../gu/acore/cbtfun/cbtapprl.o
- CC drivers/hisi/modem/drv/log/bsp_om_log.o
- LD drivers/gpu/arm/bifrost-r14p0-00cet0/platform/hisilicon/base/memory_group_manager/hisi_gpu_mgm.o
- LD drivers/gpu/arm/bifrost-r14p0-00cet0/platform/hisilicon/base/memory_group_manager/built-in.o
- CC drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_update.o
- CC drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.o
- CC drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/rt9748/rt9748.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux_platdev.o
- CC drivers/huawei_platform/usb/pd/fsc/Platform_Linux/fusb30x_driver.o
- CC drivers/hisi/modem/oam/gu/../gu/acore/osa/linux_sem.o
- CC drivers/hisi/tzdriver/tz_spi_notify.o
- CC drivers/hisi/modem/oam/gu/../gu/acore/osa/linux_task.o
- CC drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.o
- In file included from ../drivers/huawei_platform/touthscreen/panel/st/../../huawei_touchscreen_chips.h:11:0,
- from ../drivers/huawei_platform/touthscreen/panel/st/fts.h:4,
- from ../drivers/huawei_platform/touthscreen/panel/st/fts.c:40:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- CC drivers/hisi/mntn/blackbox/platform_lpm3/rdr_hisi_lpm3.o
- CC drivers/hisi/mntn/blackbox/rdr_dfx_core.o
- LD net/built-in.o
- CC drivers/hisi/noc/hisi_noc_info_ATLA.o
- CC drivers/hisi/tzdriver/dynamic_mem.o
- ../drivers/huawei_platform/touthscreen/panel/st/fts.c: In function ‘st_parse_dts’:
- ../drivers/huawei_platform/touthscreen/panel/st/fts.c:489:6: warning: passing argument 3 of ‘of_property_read_u32’ from incompatible pointer type
- &chip_data->disable_reset);
- ^
- In file included from ../include/linux/i2c.h:33:0,
- from ../drivers/huawei_platform/touthscreen/panel/st/fts.c:30:
- ../include/linux/of.h:1046:19: note: expected ‘u32 *’ but argument is of type ‘bool *’
- static inline int of_property_read_u32(const struct device_node *np,
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts.c:491:3: warning: too many arguments for format [-Wformat-extra-args]
- TS_LOG_INFO("not use hw reset\n",
- ^
- CC drivers/md/dm-kcopyd.o
- ../drivers/huawei_platform/touthscreen/panel/st/fts.c: In function ‘st_leave_pointer_event_handler’:
- ../drivers/huawei_platform/touthscreen/panel/st/fts.c:1192:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- unsigned char touchId, touchcount;
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts.c: In function ‘st_error_event_handler’:
- ../drivers/huawei_platform/touthscreen/panel/st/fts.c:1324:12: warning: unused variable ‘i’ [-Wunused-variable]
- int error,i;
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts.c: In function ‘st_after_resume’:
- CC drivers/mmc/core/sdio.o
- CC drivers/hid/hid-penmount.o
- CC drivers/hisi/tzdriver/tlogger.o
- ../drivers/huawei_platform/voltage_detection/hw_voltage_dev.c: In function ‘hw_voltage_values_show’:
- ../drivers/huawei_platform/voltage_detection/hw_voltage_dev.c:287:25: warning: unused variable ‘info’ [-Wunused-variable]
- struct hw_voltage_info info;
- ^
- ../drivers/huawei_platform/voltage_detection/hw_voltage_dev.c:285:16: warning: unused variable ‘ret’ [-Wunused-variable]
- unsigned long ret = 0;
- ^
- LD drivers/media/huawei/camera/clt/built-in.o
- ../drivers/huawei_platform/touthscreen/panel/st/fts.c:2255:17: warning: unused variable ‘ret’ [-Wunused-variable]
- unsigned char* ret = NULL;
- ^
- In file included from ../drivers/huawei_platform/touthscreen/panel/st/../../huawei_touchscreen_chips.h:11:0,
- from ../drivers/huawei_platform/touthscreen/panel/st/fts.h:4,
- from ../drivers/huawei_platform/touthscreen/panel/st/fts_sys.c:40:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts.c: In function ‘st_regulator_enable’:
- ../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]
- regulator_enable(st_info->pwr_reg);
- ^
- ../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]
- regulator_enable(st_info->bus_reg);
- ^
- CC drivers/media/huawei/camera/hisp/hisp.o
- CC drivers/hid/hid-petalynx.o
- LD drivers/huawei_platform/net/qtaguid_pid/built-in.o
- ../drivers/huawei_platform/usb/pd/fsc/Platform_Linux/fusb30x_driver.c: In function ‘pd_dpm_wake_lock_call’:
- ../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=]
- FSC_PRINT("FUSB %s - unknown event: %d\n", __func__, event);
- ^
- ../drivers/huawei_platform/usb/pd/fsc/Platform_Linux/fusb30x_driver.c: In function ‘is_cable_for_direct_charge’:
- ../drivers/huawei_platform/usb/pd/fsc/Platform_Linux/fusb30x_driver.c:97:9: warning: unused variable ‘val’ [-Wunused-variable]
- FSC_U8 val;
- ^
- CC drivers/hisi/tzdriver/tee_rdr_register.o
- LD drivers/huawei_platform/power/charger/charger_ap/wired_channel_switch/ovp_switch/built-in.o
- CC drivers/hisi/tzdriver/agent_rpmb.o
- CC drivers/media/huawei/camera/io/hw_isp_io.o
- CC drivers/media/huawei/camera/hisp/hisp150/hisp150.o
- LD drivers/huawei_platform/power/charger/charger_ap/wired_channel_switch/built-in.o
- CC drivers/hid/hid-picolcd_core.o
- In file included from ../drivers/huawei_platform/oases/hook_func.c:20:0:
- ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
- static inline int oases_insn_patch_nosync(void* addr, u32 insn);
- ^
- CC drivers/hisi/modem/ps/tl/../comm/comm/acore/NDIS/Src/PsNdis.o
- CC drivers/media/huawei/camera/hjpeg/hjpgenc.o
- LD drivers/connectivity/built-in.o
- In file included from ../drivers/huawei_platform/touthscreen/panel/st/fts_sys.c:40:0:
- ../drivers/huawei_platform/touthscreen/panel/st/fts.h:53:22: warning: ‘roi_data’ defined but not used [-Wunused-variable]
- static unsigned char roi_data[ROI_DATA_READ_LENGTH] = { 0 };
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_sys.c:51:22: warning: ‘i2c_cmd_class’ defined but not used [-Wunused-variable]
- static struct class *i2c_cmd_class;
- ^
- CC drivers/hisi/modem/taf/comm/src/acore/ADS/Src/AdsInit.o
- CC drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/rt9748/rt9748_aux.o
- CC drivers/media/huawei/camera/hjpeg/hjpeg150/hjpgenc150.o
- CC drivers/hisi/tzdriver/tui.o
- ../drivers/huawei_platform/net/bastet/bastet_hbm.c: In function ‘bastet_mark_hb_reply’:
- ../drivers/huawei_platform/net/bastet/bastet_hbm.c:321:3: warning: "/*" within comment [-Wcomment]
- /* needs match heartbeat reply packet */
- ^
- CC drivers/huawei_platform/usb/typec/hw_typec.o
- CC drivers/hid/hid-picolcd_fb.o
- CC drivers/media/huawei/camera/laser/laser_common.o
- ../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]
- static ssize_t rt9748_sysfs_show(struct device *dev, struct device_attribute *attr, char *buf)
- ^
- CC drivers/hisi/mntn/blackbox/platform_ap/rdr_hisi_ap_hook.o
- LD drivers/hisi/modem/drv/dump/mem/built-in.o
- ../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]
- static ssize_t rt9748_sysfs_store(struct device *dev,
- ^
- ../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]
- static int rt9748_read_mask(u8 reg, u8 MASK, u8 SHIFT, u8 *value)
- ^
- LD drivers/huawei_platform/touch_key/built-in.o
- CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_debug.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_rtt.o
- CC drivers/huawei_platform/oases/sign/mpih-mul.o
- In file included from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.h:21:0,
- from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_update.c:31:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- LD drivers/gpu/arm/bifrost-r14p0-00cet0/mali_kbase.o
- LD drivers/mmc/card/mmc_block.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hnd_pktq.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/common/LOGFILTER/Src/PsLogFilterComm.o
- LD fs/ext4/ext4.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/LOGFILTER/Src/PsAcpuLogFilter.o
- CC drivers/hisi/modem/taf/comm/src/acore/ADS/Src/AdsTimerMgmt.o
- In file included from ../drivers/huawei_platform/touthscreen/panel/atmel/../../huawei_touchscreen_chips.h:11:0,
- from ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:8:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c: In function ‘get_enhance_refs_or_deltas_data_test’:
- ../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=]
- TS_LOG_ERR("error rawdata[%d]:%d out of range, min:%d, max:%d\n",
- ^
- In file included from ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:1:0:
- ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c: In function ‘mxt_T37_fetch’:
- ../include/linux/kernel.h:745:16: warning: comparison of distinct pointer types lacks a cast
- (void) (&min1 == &min2); \
- ^
- ../include/linux/kernel.h:748:2: note: in expansion of macro ‘__min’
- __min(typeof(x), typeof(y), \
- ^
- ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:506:16: note: in expansion of macro ‘min’
- chunk_len = min(mxt_obj_size(T37) - 2, T37_buf_size - pos);
- ^
- ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c: In function ‘mxt_t25_selftest’:
- ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:1002:3: warning: format ‘%x’ expects a matching ‘unsigned int’ argument [-Wformat=]
- TS_LOG_DEBUG("%x %x %x %x %x %x %x\n",
- ^
- In file included from ../include/linux/thread_info.h:11:0,
- from ../include/asm-generic/preempt.h:4,
- from /home/coconutat/Downloads/Kernel/9.0/SUPLUS/android_kernel_huawei_hi3660/out/arch/arm64/include/generated/asm/preempt.h:1,
- from ../include/linux/preempt.h:59,
- from ../include/linux/spinlock.h:50,
- from ../include/linux/seqlock.h:35,
- from ../include/linux/time.h:5,
- from ../include/uapi/linux/timex.h:56,
- from ../include/linux/timex.h:56,
- from ../include/linux/sched.h:19,
- from ../arch/arm64/include/asm/compat.h:25,
- from ../arch/arm64/include/asm/stat.h:23,
- from ../include/linux/stat.h:5,
- from ../include/linux/module.h:10,
- from ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:2:
- ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c: In function ‘mxt_cmd_store’:
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/FLOWCTRL/Src/FcACore.o
- CC drivers/huawei_platform/oases/sign/mpi-pow.o
- In file included from ../drivers/huawei_platform/touthscreen/panel/st/../../huawei_touchscreen_chips.h:11:0,
- from ../drivers/huawei_platform/touthscreen/panel/st/fts.h:4,
- from ../drivers/huawei_platform/touthscreen/panel/st/fts_update.c:39:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- ../include/linux/bug.h:37:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
- #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
- ^
- ../include/linux/compiler-gcc.h:64:28: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
- #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
- ^
- ../include/linux/kernel.h:55:59: note: in expansion of macro ‘__must_be_array’
- #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
- ^
- ../include/linux/printk.h:290:34: note: in expansion of macro ‘ARRAY_SIZE’
- printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
- ^
- ../include/huawei_platform/log/hw_log.h:77:13: note: in expansion of macro ‘pr_info’
- pr_info(hw_fmt_tag(TAG,I) fmt,##__VA_ARGS__); \
- ^
- ../include/huawei_platform/log/hw_log.h:72:9: note: in expansion of macro ‘__hwlog_info’
- __hwlog_info(TAG,##x)
- ^
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:194:3: note: in expansion of macro ‘_hwlog_info’
- _hwlog_info(HWLOG_TAG, ##x); \
- ^
- ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:1059:3: note: in expansion of macro ‘TS_LOG_DEBUG’
- TS_LOG_DEBUG("[mxt] cmd %u (%d): %s\n", cmd,
- ^
- In file included from ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:12:0:
- ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c: At top level:
- ../drivers/huawei_platform/touthscreen/panel/atmel/atmel.h:324:22: warning: ‘roi_data’ defined but not used [-Wunused-variable]
- static unsigned char roi_data[ROI_DATA_READ_LENGTH] = { 0 };
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg_btcoex.c:31:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
- #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg_btcoex.c:29:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
- #define strnicmp strncasecmp
- ^
- LD drivers/media/huawei/camera/cci/built-in.o
- CC drivers/hisi/mntn/blackbox/platform_hifi/rdr_hisi_audio_codec.o
- LD drivers/gpu/arm/bifrost-r14p0-00cet0/built-in.o
- LD drivers/hisi/modem/drv/dump/mdmcp/built-in.o
- In file included from ../drivers/huawei_platform/touthscreen/panel/st/fts_update.c:39:0:
- ../drivers/huawei_platform/touthscreen/panel/st/fts.h:53:22: warning: ‘roi_data’ defined but not used [-Wunused-variable]
- static unsigned char roi_data[ROI_DATA_READ_LENGTH] = { 0 };
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_update.c:56:21: warning: ‘be_to_uint’ defined but not used [-Wunused-function]
- static unsigned int be_to_uint(const unsigned char *ptr)
- ^
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/FLOWCTRL/Src/FcACoreCReset.o
- LD drivers/huawei_platform/sw/built-in.o
- LD fs/ext4/built-in.o
- CC drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsCompensation.o
- CC drivers/hisi/modem/ps/tl/../comm/comm/acore/NDIS/Src/Ipv4DhcpServer.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/IMM/Src/IMMmemZC.o
- In file included from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.h:21:0,
- from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:9:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- CC drivers/huawei_platform/oases/hook_subfunc.o
- CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_fs_proc.o
- LD drivers/hisi/modem/drv/dump/built-in.o
- CC drivers/huawei_platform/usb/pd/fsc/Platform_Linux/fusb30x_global.o
- LD drivers/huawei_platform/usb/switch/switch_sensorhub/built-in.o
- CC drivers/huawei_platform/usb/pd/fsc/Platform_Linux/platform.o
- CC drivers/hisi/modem/oam/gu/../gu/acore/si/PcscProc.o
- CC drivers/media/huawei/camera/pmic/hw_pmic.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor_common.o
- ../drivers/hisi/tzdriver/dynamic_mem.c: In function ‘kill_ion_by_cafd’:
- ../drivers/hisi/tzdriver/dynamic_mem.c:408:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct dynamic_mem_item *item;
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_reconstruct_barcode’:
- CC drivers/md/dm-sysfs.o
- ../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=]
- TS_LOG_INFO("Will write the data to info_buff, offset is %s", offset1);
- ^
- ../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=]
- TS_LOG_INFO("Will write the data to info_buff, offset is %s", offset2);
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_reconstruct_brightness’:
- CC drivers/huawei_platform/oases/sign/oid_registry.o
- CC drivers/huawei_platform/oases/sign/mpiutil.o
- ../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=]
- TS_LOG_INFO("Will write the data to info_buff, offset is %s", offset1);
- ^
- ../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=]
- TS_LOG_INFO("Will write the data to info_buff, offset is %s", offset2);
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_reconstruct_whitepoint’:
- ../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=]
- TS_LOG_INFO("Will write the data to info_buff, offset is %s", offset1);
- ^
- ../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=]
- TS_LOG_INFO("Will write the data to info_buff, offset is %s", offset2);
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_reconstruct_repair_recode’:
- ../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=]
- TS_LOG_INFO("Will write the data to info_buff, offset is %s", offset);
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_set_oem_info’:
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:1426:3: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=]
- TS_LOG_INFO("%s: invalid test cmd:%s\n", __func__);
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_get_oem_info’:
- LD fs/proc/proc.o
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:1569:6: warning: unused variable ‘count’ [-Wunused-variable]
- int count = 0;
- ^
- CC drivers/hisi/modem/drv/modem_avs/avs_balong.o
- CC drivers/media/huawei/camera/sensor/hwsensor.o
- CC drivers/hisi/modem/drv/mem/mem_balong.o
- CC drivers/media/huawei/camera/sensor/camerafs.o
- In file included from ../drivers/huawei_platform/oases/hook_subfunc.c:21:0:
- ../drivers/huawei_platform/oases/util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
- static inline int oases_insn_patch_nosync(void* addr, u32 insn);
- ^
- ../drivers/hisi/tzdriver/tz_spi_notify.c: In function ‘tc_notify_wakeup_fn’:
- ../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=]
- tlogd("notify_data_entry_wakeup ca: %llx\n", tc_notify_wakeup->ca_thread_id);
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_rmi4_set_page_f35’:
- CC drivers/hisi/mntn/blackbox/platform_hifi/rdr_hisi_audio_soc.o
- CC drivers/mmc/core/sdio_ops.o
- LD drivers/hisi/modem/drv/icc/built-in.o
- LD drivers/huawei_platform/net/bastet/built-in.o
- LD drivers/gpu/arm/built-in.o
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:5019:21: warning: unused variable ‘i2c’ [-Wunused-variable]
- struct i2c_client *i2c = to_i2c_client(rmi4_data->synaptics_dev->dev.parent);
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_rmi4_i2c_read_f35’:
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:5046:22: warning: unused variable ‘adap’ [-Wunused-variable]
- struct i2c_adapter *adap = g_ts_data.client->adapter;
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:5045:21: warning: unused variable ‘i2c’ [-Wunused-variable]
- struct i2c_client *i2c = to_i2c_client(rmi4_data->synaptics_dev->dev.parent);
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:5040:16: warning: unused variable ‘index’ [-Wunused-variable]
- unsigned char index = 0;
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c: In function ‘synaptics_rmi4_i2c_write_f35’:
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:5093:21: warning: unused variable ‘i2c’ [-Wunused-variable]
- struct i2c_client *i2c = to_i2c_client(rmi4_data->synaptics_dev->dev.parent);
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:5092:16: warning: unused variable ‘page’ [-Wunused-variable]
- unsigned char page;
- ^
- In file included from ../drivers/hisi/tzdriver/tui.c:31:0:
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘struct mmc_blk_ioc_rpmb_data’ declared inside parameter list
- struct mmc_blk_ioc_rpmb_data *idata);
- ^
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: its scope is only this definition or declaration, which is probably not what you want
- ../drivers/hisi/tzdriver/agent.h:111:14: warning: ‘enum func_id’ declared inside parameter list
- In file included from ../drivers/huawei_platform/oases/sign/mpih-mul.c:32:0:
- ../drivers/huawei_platform/oases/sign/../util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
- static inline int oases_insn_patch_nosync(void* addr, u32 insn);
- ^
- CC drivers/huawei_platform/usb/pd/fsc/Platform_Linux/platform_helpers.o
- CC drivers/hisi/mntn/blackbox/platform_ap/rdr_hisi_ap_mntn.o
- LD drivers/huawei_platform/net/built-in.o
- CC drivers/hisi/mntn/blackbox/platform_ap/rdr_hisi_ap_subtype.o
- ../drivers/huawei_platform/usb/pd/fsc/Platform_Linux/platform_helpers.c: In function ‘fusb_dual_role_prop_is_writeable’:
- ../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]
- switch (prop) {
- ^
- ../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]
- ../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]
- ../drivers/huawei_platform/usb/pd/fsc/Platform_Linux/platform_helpers.c: In function ‘fusb_dual_role_set_prop’:
- ../drivers/huawei_platform/usb/pd/fsc/Platform_Linux/platform_helpers.c:222:23: warning: unused variable ‘chip’ [-Wunused-variable]
- struct fusb30x_chip* chip = fusb30x_GetChip();
- ^
- CC drivers/hisi/mntn/blackbox/platform_ap/hisi_pstore.o
- CC drivers/hisi/mntn/blackbox/platform_ap/rdr_hisi_ap_cleartext.o
- LD drivers/media/huawei/camera/io/built-in.o
- CC drivers/hisi/noc/hisi_noc_info_ORLA.o
- CC drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.o
- LD drivers/huawei_platform/vibrator/drv2605/built-in.o
- CC drivers/hisi/modem/oam/gu/../gu/acore/sc/ScAppComm.o
- aarch64-elf-cpp ../drivers/hisi/tzdriver/rule.in > drivers/hisi/tzdriver/rule.out
- LD drivers/huawei_platform/vibrator/built-in.o
- CC drivers/hisi/modem/oam/gu/../gu/comm/om/OmHdlc.o
- LD drivers/media/huawei/camera/csi/built-in.o
- CC drivers/mmc/core/sdio_bus.o
- CC drivers/hisi/modem/drv/loadm/loadm_phone.o
- CC drivers/hisi/tzdriver/cfc_coresight.o
- LD drivers/gpu/built-in.o
- CC drivers/hisi/mntn/blackbox/rdr_cleartext.o
- CC drivers/hisi/modem/drv/nvim/nv_emmc.o
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘do_adpator_voltage_accuracy_check’:
- ../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=]
- }
- ^
- ../drivers/huawei_platform/usb/typec/hw_typec.c: In function ‘typec_chip_register’:
- ../drivers/huawei_platform/usb/typec/hw_typec.c:712:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct dual_role_phy_desc *desc;
- ^
- CC drivers/hisi/tzdriver/libhwsecurec/memcpy_s.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx298.o
- CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_message.o
- CC drivers/hisi/modem/oam/gu/../gu/comm/om/ombufmngr.o
- CC drivers/hisi/modem/oam/gu/../gu/comm/om/omringbuffer.o
- CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_msgmsp.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx230.o
- CC lib/nmi_backtrace.o
- CC lib/nodemask.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx179.o
- LD drivers/huawei_platform/power/charger/charger_ap/dual_charger/bq25892_aux/built-in.o
- LD drivers/mmc/host/built-in.o
- In file included from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.h:21:0,
- from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:31:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- LD drivers/hisi/modem/drv/log/built-in.o
- CC drivers/hisi/modem/drv/nvim/NVIM_ResumeId.o
- CC drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsCrossCompile.o
- CC drivers/hisi/modem/taf/comm/src/acore/ADS/Src/AdsUpLink.o
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘do_full_path_resistance_check’:
- ../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=]
- }
- ^
- CC drivers/hisi/modem/taf/comm/src/acore/ADS/Src/AdsDebug.o
- CC drivers/hid/hid-picolcd_leds.o
- LD drivers/hisi/modem/drv/ipc/built-in.o
- In file included from ../drivers/huawei_platform/oases/sign/mpiutil.c:22:0:
- ../drivers/huawei_platform/oases/sign/../util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
- static inline int oases_insn_patch_nosync(void* addr, u32 insn);
- ^
- CC drivers/hid/hid-picolcd_debugfs.o
- In file included from ../include/asm-generic/gpio.h:4:0,
- from ../include/linux/gpio.h:51,
- from ../drivers/media/huawei/camera/hjpeg/hjpgenc.c:27:
- ../drivers/media/huawei/camera/hjpeg/hjpgenc.c: In function ‘hjpeg_unregister’:
- ../include/linux/kernel.h:842:48: warning: initialization from incompatible pointer type
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- ../drivers/media/huawei/camera/hjpeg/hjpgenc.c:56:28: note: in expansion of macro ‘container_of’
- #define I2Hjpeg(jpeg_intf) container_of(jpeg_intf, hjpeg_t, intf)
- ^
- ../drivers/media/huawei/camera/hjpeg/hjpgenc.c:276:13: note: in expansion of macro ‘I2Hjpeg’
- jpeg = I2Hjpeg(si);
- ^
- LD fs/proc/hisi/built-in.o
- python ../drivers/hisi/tzdriver/cfc_codegen.py drivers/hisi/tzdriver/rule.out > drivers/hisi/tzdriver/cfc_data.c
- CC drivers/hid/hid-plantronics.o
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘fwu_go_nogo’:
- ../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=]
- retval = sscanf(rmi4_data->synaptics_chip_data->adv_width + ii, "%01x", dts_set_buf + ii);
- ^
- CC drivers/hisi/modem/ps/tl/../comm/comm/common/ND/IPCOMM/Src/IpComm.o
- LD fs/proc/built-in.o
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘fwu_erase_guest_code’:
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:2863:30: warning: unused variable ‘rmi4_data’ [-Wunused-variable]
- struct synaptics_rmi4_data *rmi4_data = fwu->rmi4_data;
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘fwu_read_utility_parameter’:
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:2985:6: warning: unused variable ‘i’ [-Wunused-variable]
- int i;
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:2984:30: warning: unused variable ‘rmi4_data’ [-Wunused-variable]
- struct synaptics_rmi4_data *rmi4_data = fwu->rmi4_data;
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘fwu_write_utility_parameter’:
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:3008:30: warning: unused variable ‘rmi4_data’ [-Wunused-variable]
- struct synaptics_rmi4_data *rmi4_data = fwu->rmi4_data;
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘fwu_write_partition_table’:
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:3154:30: warning: unused variable ‘rmi4_data’ [-Wunused-variable]
- struct synaptics_rmi4_data *rmi4_data = fwu->rmi4_data;
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘synaptics_read_lockdown_data’:
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wldev_common.c:34:
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
- #ifndef _DRIVER_REGISTER.H
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
- #define _DRIVER_REGISTER.H
- ^
- CC drivers/hisi/mntn/blackbox/rdr_exception_trace.o
- CC drivers/media/huawei/camera/sensor/flash/hw_flash_i2c.o
- CC drivers/media/huawei/camera/sensor/flash/hw_flash.o
- CC drivers/media/huawei/camera/laser/vl53l0_ml.o
- CC drivers/media/huawei/camera/laser/vl53l0_cmb.o
- CC drivers/hisi/modem/ps/tl/../comm/comm/acore/ND/NDSERVER/Src/IpNdServer.o
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:3965:16: warning: unused variable ‘test’ [-Wunused-variable]
- unsigned char test[10];
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:3964:17: warning: unused variable ‘block_count’ [-Wunused-variable]
- unsigned short block_count;
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:3963:6: warning: unused variable ‘index’ [-Wunused-variable]
- int index = 0;
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘fwu_erase_oem_data’:
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:3990:30: warning: unused variable ‘rmi4_data’ [-Wunused-variable]
- struct synaptics_rmi4_data *rmi4_data = fwu->rmi4_data;
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘synaptics_read_oem_data’:
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:4016:6: warning: unused variable ‘index’ [-Wunused-variable]
- int index = 0;
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘set_oem_data’:
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:4326:4: warning: too many arguments for format [-Wformat-extra-args]
- TS_LOG_INFO( "fwu->blkcount.oem_data * fwu->block_size > 0x7FFFFFFF\n",__func__);
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘synaptics_get_project_id’:
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:4435:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- unsigned char *project_id =
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c: In function ‘synaptics_read_project_id’:
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:4492:4: warning: too many arguments for format [-Wformat-extra-args]
- TS_LOG_INFO("get_lockdown_data successfully\n", __func__);
- ^
- CC drivers/huawei_platform/oases/sign/public_key.o
- CC drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsFrame.o
- ../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]
- static ssize_t rt9748_sysfs_show(struct device *dev, struct device_attribute *attr, char *buf)
- ^
- ../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]
- static ssize_t rt9748_sysfs_store(struct device *dev,
- ^
- ../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]
- static int rt9748_read_mask(u8 reg, u8 MASK, u8 SHIFT, u8 *value)
- ^
- ../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]
- static int rt9748_get_vbus_voltage_mv(int *vbus)
- ^
- ../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]
- static int rt9748_get_bat_voltage_mv(void)
- ^
- ../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]
- static int rt9748_get_bat_current_ma(int * ibat)
- ^
- ../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]
- static int batinfo_init(void)
- ^
- ../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]
- static int rt9748_batinfo_exit(void)
- ^
- LD drivers/huawei_platform/voltage_detection/built-in.o
- In file included from ../drivers/media/huawei/camera/hjpeg/hjpeg150/hjpgenc150.c:31:0:
- ../drivers/media/huawei/camera/hjpeg/hjpeg150/hjpgenc150.h:40:0: warning: "ALIGN_DOWN" redefined
- #define ALIGN_DOWN(value, al) ((unsigned int )(value) & ~((al) - 1))
- ^
- In file included from ../include/linux/list.h:8:0,
- from ../include/linux/kobject.h:20,
- from ../include/linux/of.h:21,
- from ../drivers/media/huawei/camera/hjpeg/hjpeg150/hjpgenc150.c:3:
- ../include/linux/kernel.h:50:0: note: this is the location of the previous definition
- #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a))
- ^
- CC drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_debug.o
- In file included from ../include/linux/kernel.h:13:0,
- from ../include/linux/list.h:8,
- from ../include/linux/module.h:9,
- from ../include/huawei_platform/power/direct_charger.h:4,
- from ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:20:
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c: In function ‘scp_stop_charging’:
- ../include/linux/printk.h:290:2: warning: ‘vbat’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
- ^
- CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_msgps.o
- ../drivers/huawei_platform/power/charger/charger_ap/direct_charger/direct_charger.c:1866:6: note: ‘vbat’ was declared here
- int vbat;
- ^
- CC drivers/hisi/tzdriver/cfc_data.o
- ../drivers/hisi/tzdriver/tui.c: In function ‘get_frame_addr’:
- ../drivers/hisi/tzdriver/tui.c:299:6: warning: unused variable ‘num’ [-Wunused-variable]
- u64 num = 1;
- ^
- CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_msgbbp.o
- LD drivers/media/v4l2-core/videodev.o
- CC drivers/media/huawei/camera/laser/vl53l0_duke.o
- In file included from ../include/linux/list.h:8:0,
- from ../include/linux/preempt.h:10,
- from ../include/linux/spinlock.h:50,
- from ../include/linux/seqlock.h:35,
- from ../include/linux/time.h:5,
- from ../include/linux/videodev2.h:59,
- from ../include/media/huawei/hisp_cfg_base.h:8,
- from ../include/media/huawei/hisp150_cfg.h:7,
- from ../drivers/media/huawei/camera/hisp/hisp.c:6:
- ../drivers/media/huawei/camera/hisp/hisp.c: In function ‘hisp_unregister’:
- CC drivers/md/dm-stats.o
- ../include/linux/kernel.h:842:48: warning: initialization from incompatible pointer type
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- ../drivers/media/huawei/camera/hisp/hisp.c:44:29: note: in expansion of macro ‘container_of’
- #define HwtoHisp(isp_intf) container_of(isp_intf, hisp_t, hw)
- ^
- ../drivers/media/huawei/camera/hisp/hisp.c:486:11: note: in expansion of macro ‘HwtoHisp’
- isp = HwtoHisp(isp_intf);
- ^
- LD drivers/huawei_platform/power/charger/charger_ap/dual_charger/bq25892_main/built-in.o
- LD drivers/huawei_platform/power/charger/charger_ap/dual_charger/built-in.o
- CC drivers/media/huawei/camera/pmic/hw_pmic_i2c.o
- CC drivers/hisi/modem/taf/comm/src/acore/ADS/Src/AdsFilter.o
- CC drivers/mmc/core/sdio_cis.o
- ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c: In function ‘hisp150_power_on’:
- ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c:627:38: warning: passing argument 2 of ‘rpmsg_create_ept’ from incompatible pointer type
- rpmsg_create_ept(hisi_serv->rpdev, hisp150_rpmsg_ept_cb, hisi_serv, chinfo);
- ^
- In file included from ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c:11:0:
- ../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)’
- struct rpmsg_endpoint *rpmsg_create_ept(struct rpmsg_device *,
- ^
- ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c: At top level:
- CC drivers/hisi/modem/drv/ocp/pmic_ocp.o
- ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c:1126:14: warning: initialization from incompatible pointer type
- .callback = hisp150_rpmsg_driver_cb,
- ^
- ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c:1126:14: warning: (near initialization for ‘rpmsg_hisp150_driver.callback’)
- CC drivers/hisi/modem/ps/gu/../comm/comm/common/IP/Src/TtfIpComm.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hnd_pktpool.o
- ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c:154:13: warning: ‘hisp150_is_secure_supported’ defined but not used [-Wunused-function]
- static bool hisp150_is_secure_supported(void)
- ^
- LD drivers/input/mouse/psmouse.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_linux_platdev.c:39:
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
- #ifndef _DRIVER_REGISTER.H
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
- #define _DRIVER_REGISTER.H
- ^
- ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c:1025:16: warning: ‘hisp_ddr_freq_ctrl_show’ defined but not used [-Wunused-function]
- static ssize_t hisp_ddr_freq_ctrl_show(struct device *dev,
- ^
- ../drivers/media/huawei/camera/hisp/hisp150/hisp150.c:1033:16: warning: ‘hisp_ddr_freq_store’ defined but not used [-Wunused-function]
- static ssize_t hisp_ddr_freq_store(struct device *dev,
- ^
- LD drivers/media/v4l2-core/built-in.o
- CC drivers/huawei_platform/usb/typec/fusb301/fusb301.o
- In file included from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/../../../huawei_touchscreen_chips.h:11:0,
- from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsCompensation.c:37:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfgvendor.o
- CC drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_dsx_test_reporting.o
- LD drivers/input/mouse/built-in.o
- CC drivers/media/huawei/camera/sensor/flash/lm3646.o
- ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c: In function ‘mxt_T37_fetch’:
- ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:554:3: warning: ‘obuf’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- kfree(obuf);
- ^
- ../drivers/huawei_platform/touthscreen/panel/atmel/atmel_debug.c:412:9: warning: ‘chunk_len’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- pos += chunk_len;
- ^
- CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_blkmem.o
- LD drivers/media/media.o
- LD drivers/input/built-in.o
- CC drivers/media/huawei/camera/sensor/flash/mp3336.o
- CC drivers/huawei_platform/usb/pd/richtek/tcpci_dual_role.o
- CC drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_debug.o
- CC drivers/huawei_platform/usb/switch/switch_ap/usbswitch_fsa9685.o
- CC drivers/hisi/modem/taf/comm/src/acore/ADS/Src/AdsMntn.o
- LD drivers/hisi/mntn/blackbox/platform_lpm3/built-in.o
- LD fs/f2fs/f2fs.o
- LD fs/f2fs/built-in.o
- CC drivers/hisi/modem/taf/comm/src/acore/APPVCOM/Src/AppVcomDev.o
- In file included from ../include/asm-generic/gpio.h:4:0,
- from ../include/linux/gpio.h:51,
- from ../drivers/media/huawei/camera/sensor/hwsensor.c:5:
- ../drivers/media/huawei/camera/sensor/hwsensor.c: In function ‘hwsensor_unregister’:
- ../include/linux/kernel.h:842:48: warning: initialization from incompatible pointer type
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- ../drivers/media/huawei/camera/sensor/hwsensor.c:470:27: note: in expansion of macro ‘container_of’
- #define Intf2Hwsensor(si) container_of(si, hwsensor_t, intf)
- ^
- ../drivers/media/huawei/camera/sensor/hwsensor.c:474:26: note: in expansion of macro ‘Intf2Hwsensor’
- hwsensor_t* sensor = Intf2Hwsensor(si);
- ^
- ../include/linux/kernel.h:842:48: warning: (near initialization for ‘sensor’)
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- ../drivers/media/huawei/camera/sensor/hwsensor.c:470:27: note: in expansion of macro ‘container_of’
- #define Intf2Hwsensor(si) container_of(si, hwsensor_t, intf)
- ^
- ../drivers/media/huawei/camera/sensor/hwsensor.c:474:26: note: in expansion of macro ‘Intf2Hwsensor’
- hwsensor_t* sensor = Intf2Hwsensor(si);
- ^
- CC drivers/media/huawei/camera/sensor/ois/hwois.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/common/LINK/Src/TTFUtil.o
- CC drivers/media/huawei/camera/sensor/ois/lc8981.o
- CC drivers/media/huawei/camera/sensor/vcm/hwvcm.o
- CC drivers/media/huawei/camera/sensor/vcm/dw9714.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/acf.o
- LD fs/built-in.o
- LD drivers/hisi/modem/drv/loadm/built-in.o
- CC drivers/hisi/tzdriver/libhwsecurec/memset_s.o
- CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_msgbsp.o
- CC drivers/md/dm-rq.o
- CC drivers/hisi/noc/hisi_noc_info_PHOE_es.o
- CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_private.o
- CC drivers/mmc/core/sdio_io.o
- CC drivers/huawei_platform/oases/sign/rsa.o
- CC drivers/hid/hid-primax.o
- CC drivers/huawei_platform/usb/pd/fsc/Platform_Linux/hostcomm.o
- CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_msgphy.o
- CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_int.o
- CC drivers/mmc/core/sdio_irq.o
- CC drivers/huawei_platform/oases/sign/sha512_generic.o
- CC drivers/hisi/modem/oam/gu/../gu/comm/osa/rtc_timer.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/bcmxtlv.o
- CC drivers/mmc/core/quirks.o
- CC drivers/hisi/modem/taf/comm/src/acore/CSD/Src/CsdCtx.o
- CC lib/plist.o
- CC drivers/hisi/modem/taf/comm/src/acore/CSD/Src/CsdDebug.o
- CC drivers/mmc/core/slot-gpio.o
- In file included from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.h:21:0,
- from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_debug.c:29:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- CC drivers/hisi/modem/drv/nvim/nv_ctrl.o
- CC drivers/hisi/modem/taf/comm/src/acore/CSD/Src/CsdDownLink.o
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_debug.c: In function ‘rmidev_write’:
- ../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=]
- TS_LOG_ERR("count =%d is invalid",count);
- ^
- CC drivers/huawei_platform/usb/switch/usbswitch_common.o
- CC drivers/huawei_platform/usb/pd/fsc/core/core.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx179_cmb.o
- LD drivers/mmc/card/built-in.o
- CC drivers/media/huawei/camera/sensor/flash/lm3646_mix.o
- CC drivers/md/dm-builtin.o
- In file included from ../drivers/huawei_platform/usb/pd/fsc/core/platform.h:56:0,
- from ../drivers/huawei_platform/usb/pd/fsc/core/core.h:9,
- from ../drivers/huawei_platform/usb/pd/fsc/core/core.c:1:
- ../include/linux/kernel.h:32:0: warning: "U8_MAX" redefined
- #define U8_MAX ((u8)~0U)
- ^
- In file included from ../drivers/huawei_platform/usb/pd/fsc/core/platform.h:55:0,
- from ../drivers/huawei_platform/usb/pd/fsc/core/core.h:9,
- from ../drivers/huawei_platform/usb/pd/fsc/core/core.c:1:
- ../drivers/huawei_platform/usb/pd/fsc/core/../Platform_Linux/FSCTypes.h:34:0: note: this is the location of the previous definition
- #define U8_MAX ((__u8)~0U)
- ^
- CC drivers/huawei_platform/usb/pd/fsc/core/fusb30X.o
- In file included from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/../../../huawei_touchscreen_chips.h:11:0,
- from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsFrame.c:37:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsFrame.c: In function ‘getMSFrame’:
- CC drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsIO.o
- CC drivers/media/huawei/camera/pmic/ncp6925.o
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsFrame.c:144:4: warning: ' ' flag used with ‘%X’ gnu_printf format [-Wformat=]
- TS_LOG_ERR("%s getMSFrame: ERROR % 02X\n", __func__, ERROR_OP_NOT_ALLOW);
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsFrame.c: In function ‘getSSFrame’:
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsFrame.c:203:3: warning: ' ' flag used with ‘%X’ gnu_printf format [-Wformat=]
- TS_LOG_ERR("%s getSSFrame: ERROR % 02X\n", __func__, ERROR_OP_NOT_ALLOW);
- ^
- LD drivers/hisi/modem/drv/modem_avs/built-in.o
- In file included from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.h:21:0,
- from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_dsx_test_reporting.c:29:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_msghifi.o
- CC drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.o
- In file included from ../drivers/huawei_platform/usb/typec/fusb301/fusb301.c:47:0:
- ../include/huawei_platform/usb/hw_typec_platform.h:15:29: warning: ‘struct typec_device_info’ declared inside parameter list
- void typec_wake_lock(struct typec_device_info *di);
- ^
- ../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
- ../include/huawei_platform/usb/hw_typec_platform.h:17:31: warning: ‘struct typec_device_info’ declared inside parameter list
- void typec_wake_unlock(struct typec_device_info *di);
- ^
- ../drivers/huawei_platform/usb/typec/fusb301/fusb301.c: In function ‘fusb301_irq_handler’:
- ../drivers/huawei_platform/usb/typec/fusb301/fusb301.c:494:21: warning: passing argument 1 of ‘typec_wake_lock’ from incompatible pointer type
- typec_wake_lock(di);
- ^
- In file included from ../drivers/huawei_platform/usb/typec/fusb301/fusb301.c:47:0:
- ../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 *’
- void typec_wake_lock(struct typec_device_info *di);
- ^
- CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_msgapplog.o
- CC drivers/huawei_platform/oases/sign/x509-asn1.o
- CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_service.o
- CC lib/radix-tree.o
- CC drivers/huawei_platform/oases/sign/x509_cert_parser.o
- CC drivers/huawei_platform/usb/switch/switch_ap/usbswitch_rt8979.o
- CC drivers/hisi/modem/drv/onoff/power_exchange.o
- CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_queue.o
- CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_timer.o
- LD drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/rt9748/built-in.o
- CC drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711.o
- CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_msg.o
- LD drivers/hisi/modem/drv/ipf/built-in.o
- CC drivers/hisi/noc/hisi_noc_info_PHOE.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_dual_role.c:24:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- In file included from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.h:21:0,
- from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_debug.c:28:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_lib.o
- LD drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/dual_loadswitch/built-in.o
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_debug.o
- CC drivers/hisi/modem/oam/gu/../gu/comm/osa/vos_Id.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_dual_role.c:24:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_dual_role.c: In function ‘tcpc_dual_role_phy_init’:
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_dual_role.c:189:6: warning: unused variable ‘len’ [-Wunused-variable]
- int len;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_dual_role.c:24:0:
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_dual_role.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTime.o
- CC drivers/hisi/modem/oam/gu/../gu/comm/osa/vos_main.o
- CC drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTool.o
- LD drivers/hisi/modem/drv/ocp/built-in.o
- CC drivers/huawei_platform/usb/pd/fsc/core/Log.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx219.o
- CC drivers/mmc/core/cache_enable.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/ov8865.o
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_debug.c: In function ‘synaptics_rmi4_f54_attention_cust’:
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_debug.c:2486:6: warning: unused variable ‘l’ [-Wunused-variable]
- int l;
- ^
- CC drivers/huawei_platform/oases/sign/x509_rsakey-asn1.o
- CC drivers/huawei_platform/usb/pd/fsc/core/PDPolicy.o
- CC drivers/media/huawei/camera/sensor/flash/mp3336_mix.o
- CC drivers/hid/hid-roccat.o
- LD drivers/hisi/modem/drv/mem/built-in.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/async.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/auth.o
- CC drivers/hisi/modem/drv/pm_om/pm_om.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx219_vic.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx219_duke.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/chap.o
- CC drivers/mmc/core/lock.o
- CC drivers/huawei_platform/usb/pd/fsc/core/PDProtocol.o
- CC drivers/mmc/core/sysfs.o
- ../drivers/huawei_platform/usb/pd/fsc/core/PDPolicy.c: In function ‘PolicySourceStartup’:
- ../drivers/huawei_platform/usb/pd/fsc/core/PDPolicy.c:839:16: warning: unused variable ‘temp’ [-Wunused-variable]
- CCTermType temp;
- ^
- CC drivers/huawei_platform/usb/pd/fsc/core/TypeC.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx219_stf.o
- In file included from ../include/linux/mm_types.h:15:0,
- from ../include/linux/sched.h:27,
- from ../arch/arm64/include/asm/compat.h:25,
- from ../arch/arm64/include/asm/stat.h:23,
- from ../include/linux/stat.h:5,
- from ../include/linux/module.h:10,
- from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_dsx_test_reporting.c:21:
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_dsx_test_reporting.c: In function ‘synaptics_rmi4_f54_s3207_init’:
- ../include/linux/workqueue.h:219:17: warning: assignment from incompatible pointer type
- (_work)->func = (_func); \
- ^
- ../include/linux/workqueue.h:224:2: note: in expansion of macro ‘__INIT_WORK’
- __INIT_WORK((_work), (_func), 0)
- ^
- ../include/linux/workqueue.h:231:3: note: in expansion of macro ‘INIT_WORK’
- INIT_WORK(&(_work)->work, (_func)); \
- ^
- ../include/linux/workqueue.h:247:2: note: in expansion of macro ‘__INIT_DELAYED_WORK’
- __INIT_DELAYED_WORK(_work, _func, 0)
- ^
- ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_dsx_test_reporting.c:5110:2: note: in expansion of macro ‘INIT_DELAYED_WORK’
- INIT_DELAYED_WORK(&f54->status_work, synaptics_rmi4_f54_status_work);
- ^
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/hdlc.o
- CC drivers/hisi/modem/drv/psam/psam_balong.o
- CC drivers/huawei_platform/usb/pd/fsc/core/vdm/bitfield_translators.o
- In file included from ../include/asm-generic/gpio.h:4:0,
- from ../include/linux/gpio.h:51,
- from ../drivers/media/huawei/camera/sensor/vcm/hwvcm.c:27:
- ../drivers/media/huawei/camera/sensor/vcm/hwvcm.c: In function ‘hw_vcm_unregister’:
- ../include/linux/kernel.h:842:48: warning: initialization from incompatible pointer type
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- ../drivers/media/huawei/camera/sensor/vcm/hwvcm.c:229:24: note: in expansion of macro ‘container_of’
- #define Intf2Hwvcm(si) container_of(si, hw_vcm_t, intf)
- ^
- ../drivers/media/huawei/camera/sensor/vcm/hwvcm.c:233:21: note: in expansion of macro ‘Intf2Hwvcm’
- hw_vcm_t* hw_vcm = Intf2Hwvcm(intf);
- ^
- ../include/linux/kernel.h:842:48: warning: (near initialization for ‘hw_vcm’)
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- ../drivers/media/huawei/camera/sensor/vcm/hwvcm.c:229:24: note: in expansion of macro ‘container_of’
- #define Intf2Hwvcm(si) container_of(si, hw_vcm_t, intf)
- ^
- ../drivers/media/huawei/camera/sensor/vcm/hwvcm.c:233:21: note: in expansion of macro ‘Intf2Hwvcm’
- hw_vcm_t* hw_vcm = Intf2Hwvcm(intf);
- ^
- CC drivers/mmc/core/pwrseq.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx319.o
- In file included from ../drivers/huawei_platform/usb/pd/fsc/core/platform.h:56:0,
- from ../drivers/huawei_platform/usb/pd/fsc/core/PDProtocol.h:34,
- from ../drivers/huawei_platform/usb/pd/fsc/core/PDProtocol.c:26:
- ../include/linux/kernel.h:32:0: warning: "U8_MAX" redefined
- #define U8_MAX ((u8)~0U)
- ^
- In file included from ../drivers/huawei_platform/usb/pd/fsc/core/platform.h:55:0,
- from ../drivers/huawei_platform/usb/pd/fsc/core/PDProtocol.h:34,
- from ../drivers/huawei_platform/usb/pd/fsc/core/PDProtocol.c:26:
- ../drivers/huawei_platform/usb/pd/fsc/core/../Platform_Linux/FSCTypes.h:34:0: note: this is the location of the previous definition
- #define U8_MAX ((__u8)~0U)
- ^
- CC drivers/mmc/core/debugfs.o
- CC drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm.o
- In file included from ../drivers/huawei_platform/oases/sign/x509_cert_parser.c:22:0:
- ../drivers/huawei_platform/oases/sign/../util.h:38:19: warning: ‘oases_insn_patch_nosync’ declared ‘static’ but never defined [-Wunused-function]
- static inline int oases_insn_patch_nosync(void* addr, u32 insn);
- ^
- CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_nsprintf.o
- ../drivers/huawei_platform/usb/pd/fsc/core/PDProtocol.c: In function ‘ProtocolGetRxPacket’:
- ../drivers/huawei_platform/usb/pd/fsc/core/PDProtocol.c:185:12: warning: unused variable ‘reg41h’ [-Wunused-variable]
- FSC_U8 reg41h = 0;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../platform.h:56:0,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_types.h:39,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/bitfield_translators.c:32:
- ../include/linux/kernel.h:32:0: warning: "U8_MAX" redefined
- #define U8_MAX ((u8)~0U)
- ^
- In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../platform.h:55:0,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_types.h:39,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/bitfield_translators.c:32:
- ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../../Platform_Linux/FSCTypes.h:34:0: note: this is the location of the previous definition
- #define U8_MAX ((__u8)~0U)
- ^
- CC drivers/hisi/modem/oam/lt/../lt/acore/service/msp_service.o
- CC drivers/hisi/modem/oam/gu/../gu/comm/osa/v_sprintf.o
- In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../platform.h:56:0,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm.h:35,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm.c:33:
- ../include/linux/kernel.h:32:0: warning: "U8_MAX" redefined
- #define U8_MAX ((u8)~0U)
- ^
- In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../platform.h:55:0,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm.h:35,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm.c:33:
- ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../../Platform_Linux/FSCTypes.h:34:0: note: this is the location of the previous definition
- #define U8_MAX ((__u8)~0U)
- ^
- LD drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/rt9748/built-in.o
- LD drivers/huawei_platform/power/charger/charger_ap/direct_charger/loadswitch/built-in.o
- In file included from ../include/asm-generic/gpio.h:4:0,
- from ../include/linux/gpio.h:51,
- from ../drivers/media/huawei/camera/sensor/ois/hwois.c:27:
- ../drivers/media/huawei/camera/sensor/ois/hwois.c: In function ‘hw_ois_unregister’:
- ../include/linux/kernel.h:842:48: warning: initialization from incompatible pointer type
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- ../drivers/media/huawei/camera/sensor/ois/hwois.c:228:24: note: in expansion of macro ‘container_of’
- #define Intf2Hwois(si) container_of(si, hw_ois_t, intf)
- ^
- ../drivers/media/huawei/camera/sensor/ois/hwois.c:232:21: note: in expansion of macro ‘Intf2Hwois’
- hw_ois_t* hw_ois = Intf2Hwois(intf);
- ^
- ../include/linux/kernel.h:842:48: warning: (near initialization for ‘hw_ois’)
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- ../drivers/media/huawei/camera/sensor/ois/hwois.c:228:24: note: in expansion of macro ‘container_of’
- #define Intf2Hwois(si) container_of(si, hw_ois_t, intf)
- ^
- ../drivers/media/huawei/camera/sensor/ois/hwois.c:232:21: note: in expansion of macro ‘Intf2Hwois’
- hw_ois_t* hw_ois = Intf2Hwois(intf);
- ^
- LD drivers/media/huawei/camera/hisp/hisp150/built-in.o
- CC drivers/hisi/modem/oam/lt/../lt/acore/debug/msp_debug.o
- CC drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711h.o
- LD drivers/media/huawei/camera/hisp/built-in.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/hi843.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/ipcp.o
- CC drivers/hisi/modem/oam/gu/../gu/comm/si/pbapi.o
- CC drivers/hisi/modem/oam/gu/../gu/comm/si/pbmsg.o
- CC drivers/hisi/modem/drv/pm_om/pm_om_platform.o
- CC drivers/md/dm-bufio.o
- CC drivers/hisi/modem/oam/lt/../lt/comm/list/blist.o
- LD drivers/media/huawei/camera/hjpeg/hjpeg150/built-in.o
- CC drivers/hisi/modem/oam/gu/../gu/comm/si/pbdata.o
- CC drivers/hid/hid-roccat-common.o
- CC drivers/hisi/tzdriver/libhwsecurec/strcpy_s.o
- CC drivers/hisi/modem/drv/reset/reset_balong.o
- CC drivers/hisi/modem/oam/gu/../gu/comm/si/stkapi.o
- LD drivers/media/huawei/camera/hjpeg/built-in.o
- LD drivers/hisi/mntn/blackbox/platform_ap/built-in.o
- CC drivers/mmc/core/pwrseq_simple.o
- CC drivers/media/huawei/camera/sensor/vcm/ad5823.o
- CC drivers/hid/hid-roccat-arvo.o
- CC drivers/media/huawei/camera/sensor/vcm/ad5816.o
- CC drivers/hisi/modem/drv/nvim/nv_comm.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711.c:32:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711.c:32:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_cfg80211.h:31:0,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfgvendor.c:50:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
- #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfgvendor.c:37:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
- #define strnicmp strncasecmp
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711.c:32:0:
- ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/media/huawei/camera/platform/hi3660/sensor/hi843_duke.o
- CC drivers/hisi/modem/oam/lt/../lt/acore/diag/diag_errorlog.o
- CC drivers/hisi/modem/oam/lt/../lt/acore/cpm/cpm.o
- In file included from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/../../../huawei_touchscreen_chips.h:11:0,
- from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsIO.c:36:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- CC drivers/hisi/modem/oam/lt/../lt/acore/ppm/OmHsicPpm.o
- CC drivers/hisi/modem/oam/lt/../lt/acore/ppm/OmCommonPpm.o
- CC drivers/hisi/modem/drv/onoff/power_on.o
- LD drivers/huawei_platform/power/charger/charger_ap/direct_charger/built-in.o
- CC drivers/hisi/modem/drv/nvim/nv_base.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/ov8856_duke.o
- CC drivers/hisi/modem/drv/nvim/nv_cust.o
- CC drivers/hisi/modem/taf/comm/src/acore/CSD/Src/CsdUpLink.o
- In file included from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/../../../huawei_touchscreen_chips.h:11:0,
- from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.h:2,
- from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:8:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘computeAdjHoriz’:
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:47:3: warning: ' ' flag used with ‘%X’ gnu_printf format [-Wformat=]
- TS_LOG_ERR("%s computeAdjHoriz: ERROR % 02X\n", __func__, ERROR_OP_NOT_ALLOW);
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘computeAdjHorizTotal’:
- LD drivers/huawei_platform/power/charger/charger_ap/built-in.o
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:78:3: warning: ' ' flag used with ‘%X’ gnu_printf format [-Wformat=]
- TS_LOG_ERR("%s computeAdjHorizTotal: ERROR % 02X\n", __func__, ERROR_OP_NOT_ALLOW);
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘computeAdjVert’:
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:109:3: warning: ' ' flag used with ‘%X’ gnu_printf format [-Wformat=]
- TS_LOG_ERR("%s computeAdjVert: ERROR % 02X\n", __func__, ERROR_OP_NOT_ALLOW);
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘computeAdjVertTotal’:
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:139:3: warning: ' ' flag used with ‘%X’ gnu_printf format [-Wformat=]
- TS_LOG_ERR("%s computeAdjVertTotal: ERROR % 02X\n", __func__, ERROR_OP_NOT_ALLOW);
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘production_test_initialization’:
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:494:6: warning: unused variable ‘eventToSearch’ [-Wunused-variable]
- int eventToSearch[2] = { EVENTID_STATUS_UPDATE, EVENT_TYPE_FULL_INITIALIZATION};
- ^
- CC drivers/huawei_platform/usb/pd/richtek/tcpci_core.o
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:493:5: warning: unused variable ‘readData’ [-Wunused-variable]
- u8 readData[FIFO_EVENT_SIZE];
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:492:5: warning: unused variable ‘cmd’ [-Wunused-variable]
- u8 cmd;
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘print_data_u8’:
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:580:6: warning: unused variable ‘count’ [-Wunused-variable]
- int count = 0;
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘copy_data_from_csv’:
- CC drivers/mmc/core/pwrseq_emmc.o
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:603:6: warning: unused variable ‘count’ [-Wunused-variable]
- int count = 0;
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘print_data_s16’:
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:669:6: warning: unused variable ‘count’ [-Wunused-variable]
- int count = 0;
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘print_data_u16’:
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:692:6: warning: unused variable ‘count’ [-Wunused-variable]
- int count = 0;
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘st_fill_rawdata_buf’:
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:718:6: warning: unused variable ‘strength_rows’ [-Wunused-variable]
- int strength_rows = 0;
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:717:6: warning: unused variable ‘mutual_rows’ [-Wunused-variable]
- int mutual_rows = 0;
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘st_get_rawdata_test’:
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:814:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- TestToDo todoDefault;//struct used for defining which test perform during the production test
- ^
- ../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=]
- TS_LOG_INFO("result size is %d, sensor_len is %d, force_len is %d\n", strlen(info->result), sensor_len, force_len);
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘production_test_ms_raw’:
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1163:13: warning: unused variable ‘tcolumns’ [-Wunused-variable]
- int trows, tcolumns;
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1163:6: warning: unused variable ‘trows’ [-Wunused-variable]
- int trows, tcolumns;
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘production_test_ms_cx’:
- LD drivers/hisi/mntn/blackbox/platform_hifi/built-in.o
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1269:13: warning: unused variable ‘tcolumns’ [-Wunused-variable]
- int trows, tcolumns;
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1269:6: warning: unused variable ‘trows’ [-Wunused-variable]
- int trows, tcolumns;
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘production_test_ss_raw’:
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1374:13: warning: unused variable ‘tcolumns’ [-Wunused-variable]
- int trows, tcolumns;
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1374:6: warning: unused variable ‘trows’ [-Wunused-variable]
- int trows, tcolumns;
- ^
- CC drivers/huawei_platform/usb/pd/richtek/tcpci_typec.o
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘production_test_ss_ix_cx’:
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1644:30: warning: passing argument 1 of ‘checkLimitsMinMaxU16’ from incompatible pointer type
- ret = checkLimitsMinMaxU16(ssCompData.cx2_fm, ssCompData.header.force_node, 1, thresholds[0], thresholds[1]); //check the values with thresholds
- ^
- ../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 *’
- int checkLimitsMinMaxU16(u16 *data, int row, int column, int min, int max)
- ^
- LD drivers/hisi/mntn/blackbox/built-in.o
- CC drivers/hisi/modem/taf/comm/src/acore/CSD/Src/CsdInit.o
- ../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
- ret = checkLimitsMapTotal(total_cx, 1, ssCompData.header.sense_node, thresholds[0], thresholds[1]); //check the values with thresholds
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:366:5: note: expected ‘int *’ but argument is of type ‘int’
- int checkLimitsMapTotal(u16 *data, int row, int column, int *min, int *max)
- ^
- ../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
- ret = checkLimitsMapTotal(total_cx, 1, ssCompData.header.sense_node, thresholds[0], thresholds[1]); //check the values with thresholds
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:366:5: note: expected ‘int *’ but argument is of type ‘int’
- int checkLimitsMapTotal(u16 *data, int row, int column, int *min, int *max)
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1486:13: warning: unused variable ‘tcolumns’ [-Wunused-variable]
- int trows, tcolumns;
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1486:6: warning: unused variable ‘trows’ [-Wunused-variable]
- int trows, tcolumns;
- ^
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c: In function ‘production_test_data’:
- ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTest.c:1767:11: warning: unused variable ‘todoDefault’ [-Wunused-variable]
- TestToDo todoDefault;
- ^
- CC drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_callbacks.o
- In file included from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/../../../huawei_touchscreen_chips.h:11:0,
- from ../drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/ftsTool.c:30:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicCtx.o
- In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../platform.h:56:0,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm.h:35,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_callbacks.c:32:
- ../include/linux/kernel.h:32:0: warning: "U8_MAX" redefined
- #define U8_MAX ((u8)~0U)
- ^
- In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../platform.h:55:0,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm.h:35,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_callbacks.c:32:
- ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../../Platform_Linux/FSCTypes.h:34:0: note: this is the location of the previous definition
- #define U8_MAX ((__u8)~0U)
- ^
- LD drivers/huawei_platform/power/charger/built-in.o
- LD drivers/huawei_platform/usb/typec/fusb301/built-in.o
- CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicEntity.o
- LD drivers/media/huawei/camera/sensor/ois/built-in.o
- CC drivers/md/dm-bio-prison.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_debug_linux.o
- LD drivers/hisi/noc/built-in.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfgvendor.c:81:
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
- #ifndef _DRIVER_REGISTER.H
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
- #define _DRIVER_REGISTER.H
- ^
- LD drivers/hisi/mntn/built-in.o
- CC drivers/media/huawei/camera/laser/vl53l0_stf.o
- CC drivers/huawei_platform/usb/typec/pericom30216/pericom30216.o
- CC drivers/media/huawei/camera/laser/gp2ap0xvt_stf.o
- CC drivers/hisi/modem/drv/pm_om/pm_om_debug.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/link.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/lcp.o
- CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicInit.o
- LD drivers/huawei_platform/power/built-in.o
- CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicProcMsg.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi_freq_ctrl.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_debug_otp_fs_write.part.28’:
- ../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=]
- }
- ^
- CC lib/ratelimit.o
- CC lib/rbtree.o
- CC drivers/md/dm-crypt.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.c: In function ‘wl_debug_otp_fs_read.part.29’:
- ../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=]
- }
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711h.c:39:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711h.c:39:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- CC drivers/hisi/modem/oam/lt/../lt/acore/ppm/OmSocketPpm.o
- CC drivers/md/dm-cache-target.o
- CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicTimerMgmt.o
- LD drivers/huawei_platform/oases/sign/built-in.o
- CC drivers/hisi/tzdriver/libhwsecurec/strncpy_s.o
- CC drivers/hisi/tzdriver/libhwsecurec/memmove_s.o
- LD drivers/huawei_platform/oases/built-in.o
- CC drivers/hisi/tzdriver/libhwsecurec/strcat_s.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711h.c:39:0:
- ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711h.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711h.c:97:13: warning: ‘rt1711h_wake_lock’ defined but not used [-Wunused-function]
- static void rt1711h_wake_lock(struct rt1711_chip* chip)
- ^
- ../drivers/huawei_platform/usb/pd/richtek/tcpc_rt1711h.c:108:13: warning: ‘rt1711h_wake_unlock’ defined but not used [-Wunused-function]
- static void rt1711h_wake_unlock(struct rt1711_chip* chip)
- ^
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/pap.o
- CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicDebug.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/ppp_fsm.o
- CC drivers/md/dm-cache-metadata.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie_linux.o
- 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
- CC drivers/md/persistent-data/dm-array.o
- CC drivers/md/dm-cache-policy.o
- CC drivers/hisi/modem/oam/lt/../lt/acore/ppm/OmUsbPpm.o
- CC drivers/md/persistent-data/dm-bitset.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:21:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:21:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- CC drivers/hisi/modem/oam/lt/../lt/acore/ppm/OmVcomPpm.o
- CC drivers/mmc/core/emmc-rpmb.o
- ../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]
- {
- ^
- ../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]
- {
- ^
- LD drivers/huawei_platform/usb/switch/switch_ap/built-in.o
- CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicDemandDialFileIO.o
- LD drivers/huawei_platform/usb/switch/built-in.o
- CC drivers/hisi/modem/oam/lt/../lt/comm/scm/SCMProc.o
- CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicDev.o
- CC drivers/mmc/core/hisi_cmdq_core.o
- CC drivers/hisi/modem/drv/nvim/nv_xml_dec.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_core.c:26:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_core.c:26:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_core.c: In function ‘pd_dpm_wake_lock_call’:
- CC drivers/media/huawei/camera/platform/hi3660/sensor/ov8856_stf.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/hi843_stf.o
- CC drivers/huawei_platform/usb/pd/richtek/tcpci_alert.o
- ../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=]
- pr_info("%s unknown event (%d)\n", __func__, event);
- ^
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c: In function ‘tcpc_pd_dpm_get_hw_dock_svid_exist’:
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:2433:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct tcpc_device* tcpc_dev = ((struct tcpc_device*)client);
- ^
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:2430:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret;
- ^
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c: In function ‘tcpc_pd_dpm_set_voltage’:
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:2446:9: warning: missing braces around initializer [-Wmissing-braces]
- struct local_sink_cap sink_cap_info[TCPM_PDO_MAX_SIZE] = {0};
- ^
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:2446:9: warning: (near initialization for ‘sink_cap_info[0]’) [-Wmissing-braces]
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c: At top level:
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:2485:40: warning: initialization from incompatible pointer type
- .pd_dpm_notify_direct_charge_status = tcpm_typec_notify_direct_charge,
- ^
- CC drivers/huawei_platform/usb/pd/richtek/tcpci_timer.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_core.c:26:0:
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_core.c: At top level:
- ../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’)
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/ppp_mbuf.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:21:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c: In function ‘tcpc_typec_notify_direct_charge’:
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_typec.c:2306:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/RnicSndMsg.o
- CC lib/seq_buf.o
- CC drivers/huawei_platform/touthscreen/huawei_touchscreen_algo.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.o
- CC drivers/hisi/modem/drv/nvim/nv_debug.o
- CC drivers/huawei_platform/usb/typec/ptn5150h/ptn5150h.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx286dual.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_flowring.o
- CC drivers/hid/hid-roccat-isku.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx286hybird.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi_freq_ctrl.c: In function ‘get_rate_freq_data_from_dts’:
- ../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
- &(p_table[i].speed_level));
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi_freq_ctrl.c:17:0:
- ../include/linux/of.h:292:12: note: expected ‘u32 *’ but argument is of type ‘long unsigned int *’
- extern int of_property_read_u32_index(const struct device_node *np,
- ^
- CC drivers/md/dm-cache-policy-smq.o
- CC drivers/mmc/core/hisi_core_mmc.o
- CC drivers/huawei_platform/usb/pd/ti/tcpci.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/ppp_public.o
- CC drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/pcie_core.o
- CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/Taf_MmiStrParse.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx286dual_cmb.o
- LD drivers/huawei_platform/touthscreen/panel/atmel/built-in.o
- CC drivers/hisi/modem/oam/gu/../gu/comm/si/pihapi.o
- In file included from ../drivers/huawei_platform/touthscreen/huawei_touchscreen_chips.h:11:0,
- from ../drivers/huawei_platform/touthscreen/huawei_touchscreen_algo.h:3,
- from ../drivers/huawei_platform/touthscreen/huawei_touchscreen_algo.c:1:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/MnMsgDecode.o
- CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/TafApsApi.o
- CC drivers/hisi/modem/drv/nvim/nv_crc.o
- LD drivers/mmc/core/mmc_core.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx286dual_duke.o
- CC drivers/hisi/modem/drv/pm_om/bsp_ring_buffer.o
- CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/TafMtcApi.o
- CC drivers/huawei_platform/usb/typec/tusb320/tusb320.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx386hybird.o
- CC drivers/hisi/tzdriver/libhwsecurec/strncat_s.o
- CC drivers/hisi/modem/drv/onoff/power_off.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/pppid.o
- CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/TafMmaApi.o
- LD drivers/media/huawei/camera/sensor/vcm/built-in.o
- CC drivers/huawei_platform/usb/pd/ti/tusb422.o
- CC drivers/huawei_platform/usb/pd/ti/tcpm.o
- CC drivers/hisi/tzdriver/libhwsecurec/strtok_s.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/proto.o
- CC drivers/huawei_platform/usb/pd/ti/tusb422_common.o
- CC lib/sha1.o
- CC lib/show_mem.o
- CC drivers/hisi/tzdriver/libhwsecurec/securecutil.o
- CC drivers/huawei_platform/usb/pd/ti/tusb422_linux.o
- CC drivers/md/persistent-data/dm-block-manager.o
- CC drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_config.o
- CC drivers/hisi/modem/oam/lt/../lt/comm/scm/SCMSoftDecode.o
- CC drivers/hisi/modem/drv/nvim/nv_index.o
- CC lib/string.o
- CC drivers/hisi/modem/drv/pm_om/modem_log_linux.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_alert.c:25:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_alert.c:25:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../platform.h:56:0,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_config.h:5,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_config.c:3:
- ../include/linux/kernel.h:32:0: warning: "U8_MAX" redefined
- #define U8_MAX ((u8)~0U)
- ^
- In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../platform.h:55:0,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_config.h:5,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/vdm_config.c:3:
- ../drivers/huawei_platform/usb/pd/fsc/core/vdm/../../Platform_Linux/FSCTypes.h:34:0: note: this is the location of the previous definition
- #define U8_MAX ((__u8)~0U)
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_alert.c:25:0:
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_alert.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx386hybird_stf.o
- CC drivers/huawei_platform/usb/pd/richtek/tcpm.o
- CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/TafSsaApi.o
- CC drivers/md/dm-cache-policy-cleaner.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_dbg_info.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_timer.c:29:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_timer.c:29:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/throughput.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/hdlc_software.o
- CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/MnCommApi.o
- CC lib/timerqueue.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpci_timer.c:29:0:
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_timer.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- LD drivers/media/huawei/camera/sensor/flash/built-in.o
- CC lib/vsprintf.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:6:
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
- #ifndef _DRIVER_REGISTER.H
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
- #define _DRIVER_REGISTER.H
- ^
- CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/MnMsgEncode.o
- LD drivers/hisi/modem/drv/psam/built-in.o
- CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/MnMsgCbEncDec.o
- LD drivers/media/huawei/camera/sensor/built-in.o
- LD drivers/huawei_platform/usb/typec/pericom30216/built-in.o
- CC drivers/huawei_platform/usb/pd/richtek/rt-regmap.o
- CC drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/configure.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:8:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
- #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:17:0,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:6:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
- #define strnicmp strncasecmp
- ^
- CC drivers/huawei_platform/usb/pd/richtek/tcpci_event.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/ppp_atcmd.o
- CC drivers/hisi/modem/drv/rfile/rfile_balong.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c: In function ‘dump_ipv6_addr’:
- ../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=]
- HW_PRINT_HI(":%lx:%lx:%lx:%lx\n", ntohs(addr[0]),ntohs(addr[1]),ntohs(addr[2]),ntohs(addr[3]));
- ^
- ../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=]
- ../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=]
- ../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=]
- ../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=]
- HW_PRINT_HI(":%lx:%lx:%lx:%lx\n", ntohs(addr[4]),ntohs(addr[5]),ntohs(addr[6]),ntohs(addr[7]));
- ^
- CC drivers/hid/hid-roccat-kone.o
- CC drivers/hisi/tzdriver/libhwsecurec/secureprintoutput_a.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/ppp_init.o
- ../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=]
- CC lib/win_minmax.o
- ../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=]
- ../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=]
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c: In function ‘get_next_ipv6_chain_header’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:424:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- uint16_t next_header_offset = 0;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c: In function ‘hw_counters_hex_dump’:
- CC drivers/hid/hid-roccat-koneplus.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:983:12: warning: unused variable ‘i’ [-Wunused-variable]
- size_t i = 0;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c: In function ‘hw_iovar_int_set’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:1434:7: warning: unused variable ‘data_null’ [-Wunused-variable]
- uint data_null;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c: In function ‘hw_get_filter_pkg_stat’:
- ../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=]
- HW_PRINT_HI("%s: type=%d, program len=%d\n", __FUNCTION__, filterp->type, WL_APF_PROGRAM_LEN(apf_program));
- ^
- CC drivers/hid/hid-roccat-konepure.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c: At top level:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:506:13: warning: ‘get_ipv6_protocal_ports’ defined but not used [-Wunused-function]
- 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)
- ^
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx486hybird.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_core.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx486hybirdOisNA.o
- CC drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/ov12a10hybird.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.c:69:
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
- #ifndef _DRIVER_REGISTER.H
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
- #define _DRIVER_REGISTER.H
- ^
- CC drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp_system_stubs.o
- GEN lib/crc32table.h
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx258.o
- CC lib/crc32.o
- CC lib/oid_registry.o
- CC drivers/hisi/tzdriver/libhwsecurec/snprintf_s.o
- In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/../../platform.h:56:0,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp.h:6,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp.c:3:
- ../include/linux/kernel.h:32:0: warning: "U8_MAX" redefined
- #define U8_MAX ((u8)~0U)
- ^
- In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/../../platform.h:55:0,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp.h:6,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp.c:3:
- ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/../../../Platform_Linux/FSCTypes.h:34:0: note: this is the location of the previous definition
- #define U8_MAX ((__u8)~0U)
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.c: In function ‘dhdpcie_downloadvars’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.c:4583:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- char *ce_5g_high_band = NULL;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/../../platform.h:56:0,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp_system_stubs.c:3:
- ../include/linux/kernel.h:32:0: warning: "U8_MAX" redefined
- #define U8_MAX ((u8)~0U)
- ^
- In file included from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/../../platform.h:55:0,
- from ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp_system_stubs.c:3:
- ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/../../../Platform_Linux/FSCTypes.h:34:0: note: this is the location of the previous definition
- #define U8_MAX ((__u8)~0U)
- ^
- ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp.c: In function ‘requestDpConfig’:
- ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp.c:253:10: warning: unused variable ‘fsc_polarity’ [-Wunused-variable]
- bool fsc_polarity = FALSE;
- ^
- CC drivers/hisi/tzdriver/libhwsecurec/output.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.c: In function ‘dhdpcie_cc_nvmshadow’:
- ../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]
- return;
- ^
- LD drivers/media/huawei/camera/pmic/built-in.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.c: In function ‘hw_check_var’:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.c:6298:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- uint i=0;
- ^
- CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine.o
- CC drivers/hisi/tzdriver/libhwsecurec/vsnprintf_s.o
- LD drivers/hisi/modem/drv/reset/built-in.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_process_evt.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.c: At top level:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie.c:3404:1: warning: ‘pcie2_mdioop’ defined but not used [-Wunused-function]
- pcie2_mdioop(dhd_bus_t *bus, uint physmedia, uint regaddr, bool write, uint *val,
- ^
- LD drivers/media/huawei/camera/laser/built-in.o
- CC drivers/hid/hid-roccat-kovaplus.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_pcie_linux.c:77:
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
- #ifndef _DRIVER_REGISTER.H
- ^
- CC drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
- #define _DRIVER_REGISTER.H
- ^
- ../drivers/huawei_platform/usb/pd/ti/tusb422_linux.c: In function ‘pd_dpm_wake_lock_call’:
- ../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=]
- PRINT("%s - unknown event: %d\n", __func__, event);
- ^
- CC drivers/hisi/modem/drv/s_memory/s_memory.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/ov8856_sht.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/ov13855.o
- In file included from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.h:21:0,
- from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics_fw_s3718_update.c:31:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- CC drivers/hisi/modem/drv/nvim/nv_partition_upgrade.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/hi846.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/gc2375_hwi.o
- CC drivers/huawei_platform/usb/pd/ti/tusb422_linux_dual_role.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/hi259b_hwi.o
- CC drivers/md/persistent-data/dm-space-map-common.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpm.c:19:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- CC drivers/media/huawei/camera/platform/hi3660/sensor/ov20880_hwi.o
- CC drivers/hid/hid-roccat-lua.o
- CC drivers/huawei_platform/usb/pd/ti/usb_pd_policy_engine.o
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpm.c:19:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- CC drivers/huawei_platform/usb/pd/ti/usb_pd_policy_manager.o
- CC drivers/md/persistent-data/dm-space-map-disk.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/tcpm.c:19:0:
- ../drivers/huawei_platform/usb/pd/richtek/tcpm.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/huawei_platform/usb/pd/ti/usb_pd_protocol.o
- LD drivers/hisi/modem/ps/tl/tlps.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_dpm_uvdm.o
- CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/hi_list.o
- CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/TafStdlib.o
- LD drivers/hisi/modem/ps/tl/built-in.o
- In file included from ../include/huawei_platform/usb/pd/richtek/tcpci_typec.h:17:0,
- from ../drivers/huawei_platform/usb/pd/richtek/tcpci_event.c:29:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/tcpci_typec.h:17:0,
- from ../drivers/huawei_platform/usb/pd/richtek/tcpci_event.c:29:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- CC drivers/huawei_platform/usb/pd/richtek/pd_dpm_alt_mode_dp.o
- CC drivers/hisi/modem/drv/onoff/bsp_modem_boot.o
- LD drivers/md/dm-mod.o
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_event.c: In function ‘pd_put_vdm_event’:
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_event.c:306:12: warning: unused variable ‘pd_msg_prev’ [-Wunused-variable]
- pd_msg_t *pd_msg_prev = tcpc_dev->pd_vdm_event.pd_msg;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_flowring.c: In function ‘dhd_flowid_find’:
- CC drivers/hisi/modem/drv/sec_call/sec_call.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_process_evt_snk.o
- ../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]
- return;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/tcpci_typec.h:17:0,
- from ../drivers/huawei_platform/usb/pd/richtek/tcpci_event.c:29:
- ../drivers/huawei_platform/usb/pd/richtek/tcpci_event.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/md/persistent-data/dm-space-map-metadata.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/PPP/Src/ppp_input.o
- CC drivers/hisi/modem/taf/comm/src/mcore/TAF/Lib/Src/GuNasLogFilter.o
- CC drivers/hisi/modem/drv/nvim/nv_partition_img.o
- CC drivers/hisi/modem/taf/comm/src/acore/TAFAGENT/Src/TafAgent.o
- CC drivers/huawei_platform/touthscreen/huawei_touchscreen_csvparse.o
- CC drivers/hisi/modem/drv/sim_hotplug/hisi_sim_hotplug.o
- CC drivers/hisi/modem/drv/nvim/nv_partition_bakup.o
- CC drivers/hisi/modem/taf/comm/src/acore/TAFAGENT/Src/TafAgentCtx.o
- CC drivers/huawei_platform/touthscreen/tp_color.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_process_evt_src.o
- CC drivers/hid/hid-roccat-pyra.o
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx376_hwi.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vdm.o
- ../drivers/hisi/tzdriver/libhwsecurec/output.c: In function ‘securec_output_s’:
- ../drivers/hisi/tzdriver/libhwsecurec/output.c:824:1: warning: label ‘FILL_STRING_BUFFER’ defined but not used [-Wunused-label]
- FILL_STRING_BUFFER:
- ^
- ../drivers/hisi/tzdriver/libhwsecurec/output.c:165:6: warning: unused variable ‘bufferSize’ [-Wunused-variable]
- int bufferSize = 0; /* size of text.sz */
- ^
- ../drivers/hisi/tzdriver/libhwsecurec/output.c: At top level:
- ../drivers/hisi/tzdriver/libhwsecurec/output.c:63:12: warning: ‘indirectSprintf’ defined but not used [-Wunused-function]
- static int indirectSprintf(char *strDest, const char *format, ...)
- ^
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtBasicCmd.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_process_evt_drs.o
- CC drivers/hisi/modem/drv/nvim/nv_factory_check.o
- CC drivers/huawei_platform/usb/pd/ti/usb_pd_pal.o
- ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp_system_stubs.c: In function ‘informStatus’:
- ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp_system_stubs.c:33:9: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- ../drivers/huawei_platform/usb/pd/fsc/core/vdm/DisplayPort/dp_system_stubs.c: At top level:
- ../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]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_core.c:20:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_core.c:20:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- ../drivers/huawei_platform/usb/pd/richtek/pd_core.c: In function ‘dpm_alt_mode_parse_svid_data’:
- ../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=]
- snprintf(buf, sizeof(buf), "the connect mode is %s.\n", pd_port->dp_second_connected);
- ^
- CC drivers/md/persistent-data/dm-transaction-manager.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCheckFunc.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_process_evt_prs.o
- ../drivers/huawei_platform/usb/pd/richtek/pd_core.c: In function ‘pd_send_hard_reset’:
- ../drivers/huawei_platform/usb/pd/richtek/pd_core.c:784:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_core.c:20:0:
- ../drivers/huawei_platform/usb/pd/richtek/pd_core.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/media/huawei/camera/platform/hi3660/sensor/imx498hybird.o
- CC drivers/hisi/modem/drv/socp/socp_balong.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c:55:
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
- #ifndef _DRIVER_REGISTER.H
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
- #define _DRIVER_REGISTER.H
- ^
- CC drivers/media/huawei/camera/platform/hi3660/sensor/ov16b10hybird.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c: In function ‘dhd_pktid_map_avail_cnt’:
- ../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]
- return;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c: In function ‘__dhd_pktid_map_reserve’:
- ../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]
- return;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c: In function ‘dhd_pktid_map_free’:
- ../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]
- return;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c: At top level:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c:2084:0: warning: "H2DRING_PREALLOC_SIZE" redefined
- #define H2DRING_PREALLOC_SIZE (H2DRING_TXPOST_MAX_ITEM * H2DRING_TXPOST_ITEMSIZE * 40)
- ^
- <command-line>:0:0: note: this is the location of the previous definition
- CC drivers/hisi/modem/drv/socp/socp_api_test.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c: In function ‘dhd_prot_ring_attach’:
- ../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]
- return;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/dhd_msgbuf.c: In function ‘dhd_prot_flowrings_pool_fetch’:
- ../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]
- return;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- CC drivers/hid/hid-roccat-ryos.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine.c:18:
- ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vcs.o
- CC drivers/md/persistent-data/dm-btree.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_alt_mode_dp.c:19:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- ../drivers/hisi/tzdriver/libhwsecurec/output.c: In function ‘securec_output_s’:
- ../drivers/hisi/tzdriver/libhwsecurec/output.c:30:22: warning: ‘retval’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- #define write_string write_string_a
- ^
- ../drivers/hisi/tzdriver/libhwsecurec/output.c:828:10: note: ‘retval’ was declared here
- int retval;
- ^
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdFtmProc.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_alt_mode_dp.c:19:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/NFEXT/IpsMntn.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:19:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:19:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- LD drivers/huawei_platform/usb/typec/ptn5150h/built-in.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_alt_mode_dp.c:19:0:
- ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_alt_mode_dp.c: At top level:
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt.c:19:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt.c:19:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- LD drivers/huawei_platform/usb/pd/fsc/fusb30x_whole.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt.c:19:
- ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/NFEXT/NetfilterEx.o
- LD drivers/huawei_platform/touthscreen/panel/st/fts_debug_lib/built-in.o
- CC drivers/hid/hid-roccat-savu.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:19:0:
- ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c: At top level:
- LD drivers/huawei_platform/usb/pd/fsc/built-in.o
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- LD drivers/huawei_platform/touthscreen/panel/st/built-in.o
- LD drivers/huawei_platform/usb/typec/tusb320/built-in.o
- LD drivers/huawei_platform/usb/typec/built-in.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/NFEXT/NetfilterExCtrl.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_process_evt_dbg.o
- LD drivers/hisi/modem/drv/pm_om/built-in.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_snk.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_snk.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdMsgProc.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_src.o
- CC drivers/hid/hid-rmi.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/ATCmdProc.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_snk.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_snk.c:18:
- ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_snk.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/hisi/modem/drv/nvim/nv_msg.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_vcs.o
- CC drivers/hisi/modem/drv/nvim/nv_proc.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_ufp.o
- CC drivers/hisi/modem/ps/gu/../comm/comm/acore/HISOCKET/Src/hisocket.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdCallProc.o
- LD drivers/md/dm-cache-cleaner.o
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c: In function ‘hw_check_chip_otp’:
- ../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=]
- }
- ^
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdSimProc.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdPacketProc.o
- CC drivers/hid/hid-saitek.o
- CC drivers/hid/hid-vr.o
- CC drivers/hid/hid-samsung.o
- In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_uvdm.c:17:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_uvdm.c:17:0:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../drivers/huawei_platform/touthscreen/tp_color.c: In function ‘attr_get_tp_color_info’:
- ../drivers/huawei_platform/touthscreen/tp_color.c:244:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_uvdm.c:17:0:
- ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_uvdm.c: At top level:
- CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dfp.o
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/hid/hid-sjoy.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dr.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdSupsProc.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_drs.o
- In file included from ../drivers/huawei_platform/touthscreen/huawei_touchscreen_chips.h:11:0,
- from ../drivers/huawei_platform/touthscreen/huawei_touchscreen_csvparse.c:8:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_snk.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_snk.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_src.c:19:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_src.c:19:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen_csvparse.c: In function ‘parse_valid_data’:
- ../drivers/huawei_platform/touthscreen/huawei_touchscreen_csvparse.c:48:3: warning: too many arguments for format [-Wformat-extra-args]
- TS_LOG_ERR("%s, ptr is NULL\n", __func__, ptr);
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_snk.c:18:
- ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_snk.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_drs.c:19:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_drs.c:19:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_drs.c:19:
- ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_drs.c: At top level:
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_ufp.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_src.c:19:
- ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_src.c: At top level:
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdMiscProc.o
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_ufp.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_ufp.c:18:
- ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_ufp.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vdm.c:19:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vdm.c:19:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vdm.c:19:
- ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vdm.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_prs.c:19:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_prs.c:19:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- LD drivers/hisi/modem/drv/sec_call/built-in.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_prs.o
- CC drivers/hisi/modem/drv/socp/socp_ind_delay.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_prs.c:19:
- ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_prs.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCombinecmd.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtDataProc.o
- CC drivers/hid/hid-sony.o
- CC drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dbg.o
- LD drivers/hisi/modem/drv/s_memory/built-in.o
- CC drivers/md/persistent-data/dm-btree-remove.o
- CC drivers/hisi/modem/drv/sync/sync_balong.o
- LD drivers/hisi/tzdriver/libhwsecurec/built-in.o
- CC drivers/hid/hid-speedlink.o
- CC drivers/md/persistent-data/dm-btree-spine.o
- LD drivers/hisi/tzdriver/.built-in.o
- CC drivers/hid/hid-steelseries.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtDeviceCmd.o
- CC drivers/hid/hid-sunplus.o
- CC drivers/hisi/modem/drv/sysctrl/dt_sysctrl.o
- CC drivers/hid/hid-tmff.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_vcs.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtEventReport.o
- CC drivers/hid/hid-gaff.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_vcs.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- CC drivers/hisi/modem/drv/thermal/thermal.o
- CC drivers/hid/hid-tivo.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_vcs.c:18:
- ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_vcs.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdImsProc.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdCssProc.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vcs.c:19:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vcs.c:19:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- CC drivers/hid/hid-twinhan.o
- LD drivers/hisi/modem/drv/onoff/built-in.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vcs.c:19:
- ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_vcs.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/hisi/modem/drv/udi/udi_balong.o
- CC drivers/hid/hid-topseed.o
- CC drivers/hisi/modem/drv/udi/adp_udi.o
- CC drivers/hid/hid-uclogic.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dr.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dr.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtExtendCmd.o
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- CC drivers/hisi/modem/drv/version/version_balong.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dr.c:18:
- ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dr.c: At top level:
- CC drivers/hid/hid-led.o
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- LD drivers/mmc/core/built-in.o
- CC drivers/hid/hid-xinmo.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtExtendPrivateCmd.o
- CC drivers/hid/hid-zpff.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtInputProc.o
- CC drivers/hid/hid-zydacron.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtMntn.o
- CC drivers/hid/wacom_wac.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_dbg.c:19:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_dbg.c:19:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_process_evt.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_dbg.c:19:
- ../drivers/huawei_platform/usb/pd/richtek/pd_process_evt_dbg.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- LD drivers/mmc/built-in.o
- CC drivers/hid/wacom_sys.o
- CC drivers/hid/hid-waltop.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtMsgPrint.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_src.c:19:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_src.c:19:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- CC drivers/hid/hid-wiimote-core.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dfp.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dfp.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_src.c:19:
- ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_src.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/hid/hid-wiimote-modules.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_drs.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_drs.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_drs.c:18:
- ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_drs.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtOutputProc.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtParseCmd.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dfp.c:18:
- ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dfp.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/hid/hid-wiimote-debug.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtParseBasicCmd.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtParseCore.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtParseDCmd.o
- CC drivers/hid/hid-sensor-custom.o
- CC drivers/hid/hid-sensor-hub.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtParseDMCmd.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtParseExtendCmd.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtParsePara.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtParseSCmd.o
- CC drivers/hid/usbhid/hid-quirks.o
- CC drivers/hid/usbhid/hid-core.o
- LD drivers/md/dm-cache-smq.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtQueryParaCmd.o
- CC drivers/hid/usbhid/hid-pidff.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtSetParaCmd.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtTestParaCmd.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtTimer.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/ATSndMsg.o
- LD drivers/hid/hid.o
- LD drivers/hid/hid-logitech.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dbg.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dbg.c:18:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dbg.c:18:
- ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_dbg.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_prs.c:20:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_report_hpd_state’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:546:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_prs.c:20:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h: In function ‘tcpci_dp_configure’:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:612:6: warning: unused variable ‘ret’ [-Wunused-variable]
- int ret = 0;
- ^
- LD drivers/hid/hid-picolcd.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtAbortParaCmd.o
- In file included from ../include/huawei_platform/usb/pd/richtek/pd_dpm_core.h:18:0,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_prs.c:20:
- ../drivers/huawei_platform/usb/pd/richtek/pd_policy_engine_prs.c: At top level:
- ../include/huawei_platform/usb/pd/richtek/tcpci.h:43:27: warning: ‘g_mux_type’ defined but not used [-Wunused-variable]
- static TCPC_MUX_CTRL_TYPE g_mux_type = TCPC_DP;
- ^
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCtx.o
- LD drivers/hisi/modem/oam/lt/tlmsp.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtInit.o
- CC drivers/hisi/modem/taf/comm/src/acore/at/src/AtCmdCagpsProc.o
- CC drivers/hisi/modem/taf/comm/src/acore/tafapi/src/MnCallApi.o
- CC drivers/hisi/modem/taf/comm/src/acore/tafapi/src/MnMsgApi.o
- CC drivers/hisi/modem/taf/comm/src/acore/tafapi/src/Ssa_App_Remote.o
- CC drivers/hisi/modem/taf/comm/src/acore/tafapi/src/Taf_Tafm_AppRemote.o
- CC drivers/hisi/modem/taf/comm/src/acore/tafapi/src/VcApi.o
- CC drivers/hisi/modem/taf/comm/src/acore/tafapi/src/TafXsmsApi.o
- CC drivers/hisi/modem/taf/comm/src/acore/dms/src/dms_acm_at_rx.o
- CC drivers/hisi/modem/taf/comm/src/acore/dms/src/dms_acm_at_tx.o
- CC drivers/hisi/modem/taf/comm/src/acore/dms/src/dms_core.o
- LD drivers/hisi/modem/oam/lt/built-in.o
- CC drivers/hisi/modem/taf/comm/src/acore/dms/src/dms_debug.o
- CC drivers/hisi/modem/taf/comm/src/acore/dms/src/dms_ndis.o
- CC drivers/hisi/modem/taf/comm/src/acore/RNIC/Src/NetMgrCtrlVcom.o
- CC drivers/hisi/modem/taf/comm/src/acore/bastet/src/BastetInit.o
- LD drivers/hisi/modem/oam/gu/gumsp.o
- LD drivers/md/dm-cache.o
- CC drivers/hisi/modem/taf/comm/src/acore/bastet/src/BastetComm.o
- CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_common.o
- CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_ct_ex_proc.o
- CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_ct_ex2_proc.o
- CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_ct_proc.o
- CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_eventreport.o
- CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_ms_proc.o
- CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_st_proc.o
- LD drivers/hisi/modem/drv/sync/built-in.o
- CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_upgrade_proc.o
- CC drivers/hisi/modem/taf/lt/src/acore/at/AtDeviceCmdTL.o
- CC drivers/hisi/modem/taf/lt/src/acore/at/at_lte_set_proc.o
- CC drivers/hisi/modem/taf/lt/src/acore/at/at_comm_cmd.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:38:0,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:6:
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:1:25: warning: extra tokens at end of #ifndef directive
- #ifndef _DRIVER_REGISTER.H
- ^
- ../drivers/huawei_platform/connectivity/bcm/wifi/include/hw_driver_register.h:2:25: warning: missing whitespace after the macro name
- #define _DRIVER_REGISTER.H
- ^
- LD drivers/hisi/modem/oam/gu/built-in.o
- LD drivers/media/huawei/camera/platform/hi3660/sensor/built-in.o
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:8:0:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/wl_cfg80211.h:1542:0: warning: "strnicmp" redefined
- #define strnicmp(str1, str2, len) strncasecmp((str1), (str2), (len))
- ^
- In file included from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.h:17:0,
- from ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/hw_wifi.c:6:
- ../drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/include/bcmutils.h:1218:0: note: this is the location of the previous definition
- #define strnicmp strncasecmp
- ^
- ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c: In function ‘pd_dpm_ufp_request_enter_mode’:
- ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:768:25: warning: ‘ops’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- svid_data->active_mode = ops;
- ^
- ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:873:10: note: ‘ops’ was declared here
- uint8_t ops;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:23:0:
- ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_prv.h:127:6: warning: ‘svid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- if (svid_data->svid == svid)
- ^
- ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:872:11: note: ‘svid’ was declared here
- uint16_t svid;
- ^
- ../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=]
- }
- ^
- LD drivers/hisi/modem/drv/thermal/built-in.o
- LD drivers/media/huawei/camera/platform/hi3660/built-in.o
- LD drivers/hisi/modem/drv/sysctrl/built-in.o
- LD drivers/hisi/modem/oam/built-in.o
- In file included from ../include/linux/kernel.h:13:0,
- from ../include/linux/delay.h:10,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:17:
- ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c: In function ‘pd_dpm_ufp_request_exit_mode’:
- ../include/linux/printk.h:290:2: warning: ‘ops’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
- ^
- ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:889:10: note: ‘ops’ was declared here
- uint8_t ops;
- ^
- In file included from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:23:0:
- ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_prv.h:127:6: warning: ‘svid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- if (svid_data->svid == svid)
- ^
- ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:888:11: note: ‘svid’ was declared here
- uint16_t svid;
- ^
- LD drivers/media/huawei/camera/platform/built-in.o
- LD drivers/hisi/modem/drv/sim_hotplug/built-in.o
- LD drivers/hisi/modem/drv/nvim/built-in.o
- In file included from ../drivers/huawei_platform/touthscreen/huawei_touchscreen_chips.h:11:0,
- from ../drivers/huawei_platform/touthscreen/huawei_touchscreen.c:35:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- LD drivers/media/huawei/camera/built-in.o
- LD drivers/media/huawei/built-in.o
- ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c: In function ‘pd_dpm_dfp_inform_exit_mode’:
- ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:1040:17: warning: ‘ops’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- if ((ops == 0) || (ops == svid_data->active_mode)) {
- ^
- ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:1202:10: note: ‘ops’ was declared here
- uint8_t ops;
- ^
- LD drivers/media/built-in.o
- In file included from ../include/linux/kernel.h:13:0,
- from ../include/linux/delay.h:10,
- from ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:17:
- ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c: In function ‘pd_dpm_dfp_inform_attention’:
- ../include/linux/printk.h:290:2: warning: ‘ops’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
- ^
- ../drivers/huawei_platform/usb/pd/richtek/pd_dpm_core.c:1220:10: note: ‘ops’ was declared here
- uint8_t ops;
- ^
- LD drivers/hisi/modem/drv/version/built-in.o
- LD drivers/hisi/modem/drv/udi/built-in.o
- In file included from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.h:21:0,
- from ../drivers/huawei_platform/touthscreen/panel/synaptics/synaptics.c:9:
- ../include/huawei_platform/touthscreen/huawei_touchscreen.h:328:28: warning: "/*" within comment [-Wcomment]
- /* TS_NUM_TOTAL = 12, /* total gesture numbers */
- ^
- LD drivers/hisi/modem/drv/rfile/built-in.o
- LD drivers/hisi/modem/ps/gu/gups.o
- LD drivers/md/persistent-data/dm-persistent-data.o
- LD drivers/hisi/modem/ps/gu/built-in.o
- LD drivers/huawei_platform/usb/pd/richtek/built-in.o
- LD drivers/md/persistent-data/built-in.o
- LD drivers/md/built-in.o
- LD drivers/hisi/modem/ps/built-in.o
- LD drivers/huawei_platform/usb/pd/ti/built-in.o
- LD drivers/huawei_platform/usb/pd/built-in.o
- LD drivers/hid/usbhid/usbhid.o
- LD drivers/hid/usbhid/built-in.o
- LD drivers/huawei_platform/usb/built-in.o
- LD drivers/hid/hid-wiimote.o
- LD drivers/huawei_platform/touthscreen/panel/synaptics/built-in.o
- LD drivers/huawei_platform/touthscreen/panel/built-in.o
- LD drivers/huawei_platform/touthscreen/built-in.o
- AR lib/lib.a
- EXPORTS lib/lib-ksyms.o
- LD lib/built-in.o
- LD drivers/hid/wacom.o
- LD drivers/hid/built-in.o
- LD drivers/hisi/modem/drv/socp/built-in.o
- LD drivers/hisi/modem/drv/built-in.o
- LD drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/bcmdhd.o
- LD drivers/huawei_platform/connectivity/bcm/wifi/driver/bcmdhd/built-in.o
- LD drivers/huawei_platform/connectivity/bcm/wifi/driver/built-in.o
- LD drivers/huawei_platform/connectivity/bcm/wifi/built-in.o
- LD drivers/huawei_platform/connectivity/bcm/built-in.o
- LD drivers/huawei_platform/connectivity/built-in.o
- LD drivers/huawei_platform/built-in.o
- LD drivers/hisi/modem/taf/taf.o
- LD drivers/hisi/modem/taf/built-in.o
- LD drivers/hisi/modem/built-in.o
- LD drivers/hisi/built-in.o
- /home/coconutat/Downloads/Kernel/9.0/SUPLUS/android_kernel_huawei_hi3660/Makefile:1219: recipe for target 'drivers' failed
- make[1]: *** [drivers] Error 2
- make[1]: Leaving directory '/home/coconutat/Downloads/Kernel/9.0/SUPLUS/android_kernel_huawei_hi3660/out'
- Makefile:152: recipe for target 'sub-make' failed
- make: *** [sub-make] Error 2
- ***Failed!***
- coconutat@coconutat-desktop:~/Downloads/Kernel/9.0/SUPLUS/android_kernel_huawei_hi3660$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement