-
-
Save techyminati/c8cd8c65c16eaf1cc84f8479984e8935 to your computer and use it in GitHub Desktop.
build errors on oplus ace/race 5.10 kernel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC lib/fdt_sw.o | |
../drivers/gpu/mediatek/ged/src/ged_bridge.c:174:8: error: implicit declaration of function 'fpsgo_notify_gpu_block' [-Werror,-Wimplicit-function-declaration] | |
ret = fpsgo_notify_gpu_block(in->tid, in->i32BridgeFD, in->hint); | |
^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:103:11: error: no member named 'android_kabi_reserved4' in 'struct task_struct' | |
current->android_kabi_reserved4 = regs->syscallno; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:104:11: error: no member named 'android_kabi_reserved5' in 'struct task_struct' | |
current->android_kabi_reserved5 = current_uid().val; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:105:11: error: no member named 'android_kabi_reserved6' in 'struct task_struct' | |
current->android_kabi_reserved6 = current_euid().val; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:106:11: error: no member named 'android_kabi_reserved7' in 'struct task_struct' | |
current->android_kabi_reserved7 = current_gid().val; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:107:11: error: no member named 'android_kabi_reserved8' in 'struct task_struct' | |
current->android_kabi_reserved8 = current_egid().val; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:114:23: 1 warning generated. | |
error: no member named 'android_kabi_reserved4' in 'struct task_struct' | |
uid_t scno =current->android_kabi_reserved4; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:121:21: error: no member named 'android_kabi_reserved5' in 'struct task_struct' | |
if ((0 != current->android_kabi_reserved5 ) && (is_unlocked() == 0)){ | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:122:17: error: no member named 'android_kabi_reserved5' in 'struct task_struct' | |
if ((current->android_kabi_reserved5 != current_uid().val) || (current->android_kabi_reserved6 != current_euid().val) || \ | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:122:75: error: no member named 'android_kabi_reserved6' in 'struct task_struct' | |
if ((current->android_kabi_reserved5 != current_uid().val) || (current->android_kabi_reserved6 != current_euid().val) || \ | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:123:31: error: no member named 'android_kabi_reserved7' in 'struct task_struct' | |
(current->android_kabi_reserved7 != current_gid().val) || (current->android_kabi_reserved8 != current_egid().val) || (get_fs() > KERNEL_ADDR_LIMIT)){ | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:123:89: error: no member named 'android_kabi_reserved8' in 'struct task_struct' | |
(current->android_kabi_reserved7 != current_gid().val) || (current->android_kabi_reserved8 != current_egid().val) || (get_fs() > KERNEL_ADDR_LIMIT)){ | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:137:37: error: no member named 'android_kabi_reserved5' in 'struct task_struct' | |
oplus_root_check_succ(current->android_kabi_reserved5, current->android_kabi_reserved6, current->android_kabi_reserved8, current->android_kabi_reserved4); | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:137:70: error: no member named 'android_kabi_reserved6' in 'struct task_struct' | |
oplus_root_check_succ(current->android_kabi_reserved5, current->android_kabi_reserved6, current->android_kabi_reserved8, current->android_kabi_reserved4); | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:137:103: error: no member named 'android_kabi_reserved8' in 'struct task_struct' | |
oplus_root_check_succ(current->android_kabi_reserved5, current->android_kabi_reserved6, current->android_kabi_reserved8, current->android_kabi_reserved4); | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:137:136: error: no member named 'android_kabi_reserved4' in 'struct task_struct' | |
oplus_root_check_succ(current->android_kabi_reserved5, current->android_kabi_reserved6, current->android_kabi_reserved8, current->android_kabi_reserved4); | |
make[2]: *** [../scripts/Makefile.build:526: drivers/char] Error 2 | |
CC crypto/scatterwalk.o | |
../kernel/oplus_perf_sched/healthinfo/healthinfo.c:208:10: error: use of undeclared identifier 'SA_CGROUP_TOP_APP' | |
return (SA_CGROUP_TOP_APP == get_task_cgroup_id(task)) ? 1 : 0; | |
^ | |
CC kernel/dma/remap.o | |
CC kernel/irq/irqdesc.o | |
../kernel/oplus_perf_sched/healthinfo/healthinfo.c:212:10: error: use of undeclared identifier 'SA_CGROUP_FOREGROUND' | |
return (SA_CGROUP_FOREGROUND == get_task_cgroup_id(task)) ? 1 : 0; | |
^ | |
CC crypto/proc.o | |
../kernel/oplus_perf_sched/healthinfo/healthinfo.c:216:11: error: use of undeclared identifier 'SA_CGROUP_SYS_BACKGROUND' | |
return (SA_CGROUP_SYS_BACKGROUND == get_task_cgroup_id(task)) ? 1 : 0; | |
^ | |
../kernel/oplus_perf_sched/healthinfo/healthinfo.c:220:10: error: use of undeclared identifier 'SA_CGROUP_BACKGROUND' | |
return (SA_CGROUP_BACKGROUND == get_task_cgroup_id(task)) ? 1 : 0; | |
^ | |
CC kernel/irq/handle.o | |
CC kernel/irq/manage.o | |
../kernel/oplus_perf_sched/healthinfo/healthinfo.c:917:2: error: implicit declaration of function 'register_trace_sched_stat_wait' [-Werror,-Wimplicit-function-declaration] | |
REGISTER_TRACE_VH(trace_sched_stat_wait, probe_sched_latency_handler); | |
^ | |
../kernel/oplus_perf_sched/healthinfo/healthinfo.c:107:10: note: expanded from macro 'REGISTER_TRACE_VH' | |
ret = register_##vender_hook(handler, NULL); \ | |
^ | |
<scratch space>:204:1: note: expanded from here | |
register_trace_sched_stat_wait | |
^ | |
AR drivers/usb/roles/built-in.a | |
CC arch/arm64/kernel/irq.o | |
CC crypto/ahash.o | |
../kernel/oplus_perf_sched/healthinfo/healthinfo.c:918:2: error: implicit declaration of function 'register_trace_sched_stat_blocked' [-Werror,-Wimplicit-function-declaration] | |
REGISTER_TRACE_VH(trace_sched_stat_blocked, probe_sched_stat_blocked); | |
^ | |
../drivers/misc/mediatek/cm_mgr/mtk_cm_mgr_common.c:974:9: error: implicit declaration of function 'cpufreq_frequency_table_target' [-Werror,-Wimplicit-function-declaration] | |
idx = cpufreq_frequency_table_target(policy, frequency, | |
^ | |
CC fs/read_write.o | |
In file included from ../kernel/oplus_perf_sched/sched_assist/sa_binder.c:11: | |
../kernel/oplus_perf_sched/sched_assist/sa_common.h:175:41: error: no member named 'android_oem_data1' in 'struct task_struct' | |
return (struct oplus_task_struct *) t->android_oem_data1; | |
'./kernel/oplus_perf_sched/task_cpustats/task_cpustats.c:348:7: error: implicit declaration of function 'register_trace_android_vh_account_task_time' [-Werror,-Wimplicit-function-declaration] | |
rc = register_trace_android_vh_account_task_time(account_task_time_handler, NULL); | |
^ | |
../kernel/oplus_perf_sched/task_cpustats/task_cpustats.c:348:7: note: did you mean 'trace_android_vh_account_task_time'? | |
../include/trace/hooks/sched.h:302:1: note: 'trace_android_vh_account_task_time' declared here | |
DECLARE_HOOK(android_vh_account_task_time, | |
^ | |
../include/trace/hooks/vendor_hooks.h:111:22: note: expanded from macro 'DECLARE_HOOK' | |
#define DECLARE_HOOK DECLARE_EVENT_NOP | |
^ | |
../include/linux/tracepoint.h:577:21: note: expanded from macro 'DECLARE_EVENT_NOP' | |
static inline void trace_##name(proto) \ | |
^ | |
<scratch space>:26:1: note: expanded from here | |
trace_android_vh_account_task_time | |
^ | |
../kernel/oplus_perf_sched/task_cpustats/task_cpustats.c:377:7: error: implicit declaration of function 'unregister_trace_android_vh_account_task_time' [-Werror,-Wimplicit-function-declaration] | |
rc = unregister_trace_android_vh_account_task_time(account_task_time_handler, NULL); | |
^ | |
../kernel/oplus_perf_sched/task_cpustats/task_cpustats.c:377:7: note: did you mean 'trace_andr | |
CC lib/fdt_sw.o | |
../drivers/gpu/mediatek/ged/src/ged_bridge.c:174:8: error: implicit declaration of function 'fpsgo_notify_gpu_block' [-Werror,-Wimplicit-function-declaration] | |
ret = fpsgo_notify_gpu_block(in->tid, in->i32BridgeFD, in->hint); | |
^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:103:11: error: no member named 'android_kabi_reserved4' in 'struct task_struct' | |
current->android_kabi_reserved4 = regs->syscallno; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:104:11: error: no member named 'android_kabi_reserved5' in 'struct task_struct' | |
current->android_kabi_reserved5 = current_uid().val; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:105:11: error: no member named 'android_kabi_reserved6' in 'struct task_struct' | |
current->android_kabi_reserved6 = current_euid().val; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:106:11: error: no member named 'android_kabi_reserved7' in 'struct task_struct' | |
current->android_kabi_reserved7 = current_gid().val; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:107:11: error: no member named 'android_kabi_reserved8' in 'struct task_struct' | |
current->android_kabi_reserved8 = current_egid().val; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:114:23: 1 warning generated. | |
error: no member named 'android_kabi_reserved4' in 'struct task_struct' | |
uid_t scno =current->android_kabi_reserved4; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:121:21: error: no member named 'android_kabi_reserved5' in 'struct task_struct' | |
if ((0 != current->android_kabi_reserved5 ) && (is_unlocked() == 0)){ | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:122:17: error: no member named 'android_kabi_reserved5' in 'struct task_struct' | |
if ((current->android_kabi_reserved5 != current_uid().val) || (current->android_kabi_reserved6 != current_euid().val) || \ | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:122:75: error: no member named 'android_kabi_reserved6' in 'struct task_struct' | |
if ((current->android_kabi_reserved5 != current_uid().val) || (current->android_kabi_reserved6 != current_euid().val) || \ | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:123:31: error: no member named 'android_kabi_reserved7' in 'struct task_struct' | |
(current->android_kabi_reserved7 != current_gid().val) || (current->android_kabi_reserved8 != current_egid().val) || (get_fs() > KERNEL_ADDR_LIMIT)){ | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:123:89: error: no member named 'android_kabi_reserved8' in 'struct task_struct' | |
(current->android_kabi_reserved7 != current_gid().val) || (current->android_kabi_reserved8 != current_egid().val) || (get_fs() > KERNEL_ADDR_LIMIT)){ | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:137:37: error: no member named 'android_kabi_reserved5' in 'struct task_struct' | |
oplus_root_check_succ(current->android_kabi_reserved5, current->android_kabi_reserved6, current->android_kabi_reserved8, current->android_kabi_reserved4); | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:137:70: error: no member named 'android_kabi_reserved6' in 'struct task_struct' | |
oplus_root_check_succ(current->android_kabi_reserved5, current->android_kabi_reserved6, current->android_kabi_reserved8, current->android_kabi_reserved4); | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:137:103: error: no member named 'android_kabi_reserved8' in 'struct task_struct' | |
oplus_root_check_succ(current->android_kabi_reserved5, current->android_kabi_reserved6, current->android_kabi_reserved8, current->android_kabi_reserved4); | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:137:136: error: no member named 'android_kabi_reserved4' in 'struct task_struct' | |
oplus_root_check_succ(current->android_kabi_reserved5, current->android_kabi_reserved6, current->android_kabi_reserved8, current->android_kabi_reserved4); | |
../kernel/oplus_perf_sched/sched_assist/sched_assist.c:65:2: error: implicit declaration of function 'register_trace_android_vh_scheduler_tick' [-Werror,-Wimplicit-function-declaration] | |
REGISTER_TRACE_RVH(android_vh_scheduler_tick, android_vh_scheduler_tick_handler); | |
^ | |
../kernel/oplus_perf_sched/sched_assist/sched_assist.h:32:29: note: expanded from macro 'REGISTER_TRACE_RVH' | |
#define REGISTER_TRACE_RVH REGISTER_TRACE_VH | |
^ | |
../kernel/oplus_perf_sched/sched_assist/sched_assist.h:20:9: note: expanded from macro 'REGISTER_TRACE_VH' | |
ret = register_trace_##vender_hook(handler, NULL); \ | |
^ | |
<scratch space>:101:1: note: expanded from here | |
register_trace_android_vh_scheduler_tick | |
^ | |
../kernel/oplus_perf_sched/sched_assist/sched_assist.c:65:2: note: did you mean 'trace_android_vh_scheduler_tick'? | |
../kernel/oplus_perf_sched/sched_assist/sched_assist.h:32:29: note: expanded from macro 'REGISTER_TRACE_RVH' | |
#define REGISTER_TRACE_RVH REGISTER_TRACE_VH | |
^ | |
../kernel/oplus_perf_sched/sched_assist/sched_assist.h:20:9: note: expanded from macro 'REGISTER_TRACE_VH' | |
ret = register_trace_##vender_hook(handler, NULL); \ | |
^ | |
<scratch space>:101:1: note: expanded from here | |
register_trace_android_vh_scheduler_tick | |
^ | |
../include/trace/hooks/sched.h:27:1: note: 'trace_android_vh_scheduler_tick' declared here | |
DECLARE_HOOK(android_vh_scheduler_tick, | |
^ | |
../include/trace/hooks/vendor_hooks.h:111:22: note: expanded from macro 'DECLARE_HOOK' | |
#define DECLARE_HOOK DECLARE_EVENT_NOP | |
^ | |
../include/linux/tracepoint.h:577:21: note: expanded from macro 'DECLARE_EVENT_NOP' | |
static inline void trace_##name(proto) \ | |
^ | |
<scratch space>:51:1: note: expanded from here | |
trace_android_vh_scheduler_tick | |
^ | |
../kernel/oplus_perf_sched/sched_assist/sched_assist.c:75:2: error: implicit declaration of function 'register_trace_android_vh_binder_wakeup_ilocked' [-Werror,-Wimplicit-function-declaration] | |
REGISTER_TRACE_VH(android_vh_binder_wakeup_ilocked, android_vh_binder_wakeup_ilocked_handler); | |
^ | |
../kernel/oplus_perf_sched/sched_assist/sched_assist.h:20:9: note: expanded from macro 'REGISTER_TRACE_VH' | |
ret = register_trace_##vender_hook(handler, NULL); \ | |
^ | |
<scratch space>:105:1: note: expanded from here | |
register_trace_android_vh_binder_wakeup_ilocked | |
^ | |
../kernel/oplus_perf_sched/sched_assist/sched_assist.c:75:2: note: did you mean 'trace_android_vh_binder_wakeup_ilocked'? | |
../kernel/oplus_perf_sched/sched_assist/sched_assist.h:20:9: note: expanded from macro 'REGISTER_TRACE_VH' | |
ret = register_trace_##vender_hook(handler, NULL); \ | |
^ | |
<scratch space>:105:1: note: expanded from here | |
register_trace_android_vh_binder_wakeup_ilocked | |
^ | |
../include/trace/hooks/binder.h:35:1: note: 'trace_android_vh_binder_wakeup_ilocked' declared here | |
DECLARE_HOOK(android_vh_binder_wakeup_ilocked, | |
^ | |
../include/trace/hooks/vendor_hooks.h:111:22: note: expanded from macro 'DECLARE_HOOK' | |
#define DECLARE_HOOK DECLARE_EVENT_NOP | |
^ | |
../include/linux/tracepoint.h:577:21: note: expanded from macro 'DECLARE_EVENT_NOP' | |
static inline void trace_##name(proto) \ | |
^ | |
<scratch space>:70:1: note: expanded from here | |
trace_android_vh_binder_wakeup_ilocked | |
^ | |
../kernel/oplus_perf_sched/sched_assist/sched_assist.c:76:2: error: implicit declaration of function 'register_trace_android_vh_binder_restore_priority' [-Werror,-Wimplicit-function-declaration] | |
REGISTER_TRACE_VH(android_vh_binder_restore_priority, android_vh_binder_restore_priority_handler); | |
^ | |
../kernel/oplus_perf_sched/sched_assist/sched_assist.h:20:9: note: expanded from macro 'REGISTER_TRACE_VH' | |
ret = register_trace_##vender_hook(handler, NULL); \ | |
^ | |
<scratch space>:107:1: note: expanded from here | |
register_trace_android_vh_binder_restore_priority | |
^ | |
../kernel/oplus_perf_sched/sched_assist/sched_assist.c:76:2: note: did you mean 'trace_android_vh_binder_restore_priority'? | |
../kernel/oplus_perf_sched/sched_assist/sched_assist.h:20:9: note: expanded from macro 'REGISTER_TRACE_VH' | |
ret = register_trace_##vender_hook(handler, NULL); \ | |
^ | |
<scratch space>:107:1: note: expanded from here | |
register_trace_android_vh_binder_restore_priority | |
^ | |
../include/trace/hooks/binder.h:30:1: note: 'trace_android_vh_binder_restore_priority' declared here | |
DECLARE_HOOK(android_vh_binder_restore_priority, | |
^ | |
../include/trace/hooks/vendor_hooks.h:111:22: note: expanded from macro 'DECLARE_HOOK' | |
#define DECLARE_HOOK DECLARE_EVENT_NOP | |
^ | |
../include/linux/tracepoint.h:577:21: note: expanded from macro 'DECLARE_EVENT_NOP' | |
static inline void trace_##name(proto) \ | |
^ | |
<scratch space>:67:1: note: expanded from here | |
trace_android_vh_binder_restore_priority | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[4]: *** [../scripts/Makefile.build:277: kernel/oplus_perf_sched/sched_assist/sched_assist.o] Error 1 | |
make[3]: *** [../scripts/Makefile.build:526: kernel/oplus_perf_sched/sched_assist] Error 2 | |
make[2]: *** [../scripts/Makefile.build:526: kernel/oplus_perf_sched] Error 2 | |
make[1]: *** [/drone/src/o/Makefile:1911: kernel] Error 2 | |
make[4]: *** [../scripts/Makefile.build:526: drivers/misc/mediatek/cm_mgr] Error 2 | |
make[4]: *** Waiting for unfinished jobs.... | |
In file included from ../drivers/misc/mediatek/blocktag/blocktag-index.c:25: | |
In file included from ../drivers/misc/mediatek/include/mt-plat/mtk_blocktag.h:13: | |
../drivers/scsi/ufs/ufshcd.h:675:38: error: field has incomplete type 'struct devfreq_simple_ondemand_data' | |
struct devfreq_simple_ondemand_data ondemand_data; | |
^ | |
../drivers/scsi/ufs/ufshcd.h:675:9: note: forward declaration of 'struct devfreq_simple_ondemand_data' | |
struct devfreq_simple_ondemand_data ondemand_data; | |
^ | |
../drivers/misc/mediatek/blocktag/blocktag-index.c:425:3: error: field designator 'proc_compat_ioctl' does not refer to any field in type 'const struct proc_ops' | |
.proc_compat_ioctl = earasys_ioctl, | |
^ | |
2 errors generated. | |
make[5]: *** [../scripts/Makefile.build:277: drivers/misc/mediatek/blocktag/blocktag-index.o] Error 1 | |
In file included from ../drivers/misc/mediatek/blocktag/blocktag-mmc.c:16: | |
In file included from ../drivers/misc/mediatek/blocktag/blocktag-mmc.h:13: | |
In file included from ../drivers/misc/mediatek/include/mt-plat/mtk_blocktag.h:13: | |
../drivers/scsi/ufs/ufshcd.h:675:38: error: field has incomplete type 'struct devfreq_simple_ondemand_data' | |
struct devfreq_simple_ondemand_data ondemand_data; | |
^ | |
../drivers/scsi/ufs/ufshcd.h:675:9: note: forward declaration of 'struct devfreq_simple_ondemand_data' | |
struct devfreq_simple_ondemand_data ondemand_data; | |
^ | |
In file included from ../drivers/misc/mediatek/blocktag/blocktag-ufs.c:24: | |
In file included from ../drivers/misc/mediatek/include/mt-plat/mtk_blocktag.h:13: | |
../drivers/scsi/ufs/ufshcd.h:675:38: error: field has incomplete type 'struct devfreq_simple_ondemand_data' | |
struct devfreq_simple_ondemand_data ondemand_data; | |
^ | |
../drivers/scsi/ufs/ufshcd.h:675:9: note: forward declaration of 'struct devfreq_simple_ondemand_data' | |
struct devfreq_simple_ondemand_data ondemand_data; | |
^ | |
1 error generated. | |
make[5]: *** [../scripts/Makefile.build:277: drivers/misc/mediatek/blocktag/blocktag-ufs.o] Error 1 | |
1 error generated. | |
make[5]: *** [../scripts/Makefile.build:277: drivers/misc/mediatek/blocktag/blocktag-mmc.o] Error 1 | |
make[4]: *** [../scripts/Makefile.build:526: drivers/misc/mediatek/blocktag] Error 2 | |
make[3]: *** [../scripts/Makefile.build:526: drivers/misc/mediatek] Error 2 | |
make[2]: *** [../scripts/Makefile.build:526: drivers/misc] Error 2 | |
make[3]: *** [../scripts/Makefile.build:526: drivers/char/rpmb] Error 2 | |
make[3]: *** Waiting for unfinished jobs.... | |
make[2]: *** [../scripts/Makefile.build:526: drivers/char] Error 2 | |
make[1]: *** [/drone/src/o/Makefile:1911: mm] Error 2 | |
../drivers/power/supply/mtk_battery.c:3590:4: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result] | |
kstrtoint(temp, 10, &gm->ptim_lk_v); | |
^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ | |
../drivers/power/supply/mtk_battery.c:3602:4: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result] | |
kstrtoint(temp, 10, &gm->ptim_lk_i); | |
^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ | |
../drivers/power/supply/mtk_battery.c:3613:4: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result] | |
kstrtoint(temp, 10, &gm->pl_shutdown_time); | |
^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
3 errors generated. | |
make[4]: *** [../scripts/Makefile.build:277: drivers/power/supply/mtk_battery.o] Error 1 | |
make[4]: *** Waiting for unfinished jobs.... | |
make[2]: *** [../scripts/Makefile.build:526: drivers/base] Error 2 | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:103:11: error: no member named 'android_kabi_reserved4' in 'struct task_struct' | |
current->android_kabi_reserved4 = regs->syscallno; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:104:11: error: no member named 'android_kabi_reserved5' in 'struct task_struct' | |
current->android_kabi_reserved5 = current_uid().val; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:105:11: error: no member named 'android_kabi_reserved6' in 'struct task_struct' | |
current->android_kabi_reserved6 = current_euid().val; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:106:11: error: no member named 'android_kabi_reserved7' in 'struct task_struct' | |
current->android_kabi_reserved7 = current_gid().val; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:107:11: error: no member named 'android_kabi_reserved8' in 'struct task_struct' | |
current->android_kabi_reserved8 = current_egid().val; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:114:23: error: no member named 'android_kabi_reserved4' in 'struct task_struct' | |
uid_t scno =current->android_kabi_reserved4; | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:121:21: error: no member named 'android_kabi_reserved5' in 'struct task_struct' | |
if ((0 != current->android_kabi_reserved5 ) && (is_unlocked() == 0)){ | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:122:17: error: no member named 'android_kabi_reserved5' in 'struct task_struct' | |
if ((current->android_kabi_reserved5 != current_uid().val) || (current->android_kabi_reserved6 != current_euid().val) || \ | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:122:75: error: no member named 'android_kabi_reserved6' in 'struct task_struct' | |
if ((current->android_kabi_reserved5 != current_uid().val) || (current->android_kabi_reserved6 != current_euid().val) || \ | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:123:31: error: no member named 'android_kabi_reserved7' in 'struct task_struct' | |
(current->android_kabi_reserved7 != current_gid().val) || (current->android_kabi_reserved8 != current_egid().val) || (get_fs() > KERNEL_ADDR_LIMIT)){ | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:123:89: error: no member named 'android_kabi_reserved8' in 'struct task_struct' | |
(current->android_kabi_reserved7 != current_gid().val) || (current->android_kabi_reserved8 != current_egid().val) || (get_fs() > KERNEL_ADDR_LIMIT)){ | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:137:37: error: no member named 'android_kabi_reserved5' in 'struct task_struct' | |
oplus_root_check_succ(current->android_kabi_reserved5, current->android_kabi_reserved6, current->android_kabi_reserved8, current->android_kabi_reserved4); | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:137:70: error: no member named 'android_kabi_reserved6' in 'struct task_struct' | |
oplus_root_check_succ(current->android_kabi_reserved5, current->android_kabi_reserved6, current->android_kabi_reserved8, current->android_kabi_reserved4); | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:137:103: error: no member named 'android_kabi_reserved8' in 'struct task_struct' | |
oplus_root_check_succ(current->android_kabi_reserved5, current->android_kabi_reserved6, current->android_kabi_reserved8, current->android_kabi_reserved4); | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.c:137:136: error: no member named 'android_kabi_reserved4' in 'struct task_struct' | |
oplus_root_check_succ(current->android_kabi_reserved5, current->android_kabi_reserved6, current->android_kabi_reserved8, current->android_kabi_reserved4); | |
~~~~~~~ ^ | |
15 errors generated. | |
make[5]: *** [../scripts/Makefile.build:277: arch/arm64/kernel/secureguard/rootguard/oplus_root_hook.o] Error 1 | |
make[5]: *** Waiting for unfinished jobs.... | |
../arch/arm64/kernel/secureguard/rootguard/oplus_exec_hook.c:189:30: error: no member named 'android_kabi_reserved4' in 'struct task_struct' | |
if (__NR_execve == current->android_kabi_reserved4) { | |
~~~~~~~ ^ | |
../arch/arm64/kernel/secureguard/rootguard/oplus_exec_hook.c:192:91: error: no member named 'android_kabi_reserved4' in 'struct task_struct' | |
pr_info("[ROOTCHECK-EXEC-INFO]:retval is %d, syscall number: %d.\n", retval, current->android_kabi_reserved4); | |
~~~~~~~ ^ | |
../include/linux/printk.h:419:34: note: expanded from macro 'pr_info' | |
printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) | |
^~~~~~~~~~~ | |
2 errors generated. | |
make[5]: *** [../scripts/Makefile.build:277: arch/arm64/kernel/secureguard/rootguard/oplus_exec_hook.o] Error 1 | |
../drivers/power/supply/mt6375-charger.c:1173:21: error: no member named 'oplus_hvdcp_detect' in 'struct mt6375_chg_data' | |
if (oplus_ddata->oplus_hvdcp_detect == true) { | |
~~~~~~~~~~~ ^ | |
../drivers/power/supply/mt6375-charger.c:1174:18: error: no member named 'oplus_get_hvdcp_bc12_result' in 'struct mt6375_chg_data' | |
oplus_ddata->oplus_get_hvdcp_bc12_result = true; | |
~~~~~~~~~~~ ^ | |
../drivers/power/supply/mt6375-charger.c:1179:21: error: no member named 'oplus_hvdcp_detect' in 'struct mt6375_chg_data' | |
if (oplus_ddata->oplus_hvdcp_detect == false) { | |
~~~~~~~~~~~ ^ | |
../drivers/power/supply/mt6375-charger.c:1241:17: error: no member named 'oplus_hvdcp_detect' in 'struct mt6375_chg_data' | |
oplus_ddata->oplus_hvdcp_detect = false; | |
~~~~~~~~~~~ ^ | |
../drivers/power/supply/mt6375-charger.c:1242:17: error: no member named 'oplus_get_hvdcp_bc12_result' in 'struct mt6375_chg_data' | |
oplus_ddata->oplus_get_hvdcp_bc12_result = false; | |
~~~~~~~~~~~ ^ | |
../drivers/power/supply/mt6375-charger.c:1249:19: error: no member named 'oplus_hvdcp_detect' in 'struct mt6375_chg_data' | |
if (oplus_ddata->oplus_hvdcp_detect == true) | |
~~~~~~~~~~~ ^ | |
../drivers/power/supply/mt6375-charger.c:1261:20: error: no member named 'oplus_hvdcp_detect' in 'struct mt6375_chg_data' | |
if (oplus_ddata->oplus_hvdcp_detect == false) | |
~~~~~~~~~~~ ^ | |
../drivers/power/supply/mt6375-charger.c:1282:40: error: no member named 'oplus_hvdcp_detect' in 'struct mt6375_chg_data' | |
if (bc12_retry == 1 && oplus_ddata->oplus_hvdcp_detect == false | |
~~~~~~~~~~~ ^ | |
../drivers/power/supply/mt6375-charger.c:1287:40: error: no member named 'oplus_hvdcp_detect' in 'struct mt6375_chg_data' | |
if (bc12_retry == 3 && oplus_ddata->oplus_hvdcp_detect == false | |
~~~~~~~~~~~ ^ | |
../drivers/power/supply/mt6375-charger.c:1291:39: error: no member named 'oplus_hvdcp_detect' in 'struct mt6375_chg_data' | |
if (bc12_retry == 3 && oplus_ddata->oplus_hvdcp_detect == false | |
~~~~~~~~~~~ ^ | |
make[4]: *** [../scripts/Makefile.build:526: arch/arm64/kernel/secureguard/rootguard] Error 2 | |
make[3]: *** [../scripts/Makefile.build:526: arch/arm64/kernel/secureguard] Error 2 | |
make[3]: *** Waiting for unfinished jobs.... | |
../drivers/power/supply/mt6375-charger.c:2655:14: error: no member named 'hvdcp_cfg_9v_done' in 'struct mt6375_chg_data' | |
if (ddata->hvdcp_cfg_9v_done == true) { | |
~~~~~ ^ | |
../drivers/power/supply/mt6375-charger.c:2656:11: error: no member named 'hvdcp_detach_time' in 'struct mt6375_chg_data' | |
ddata->hvdcp_detach_time = cpu_clock(smp_processor_id()) / 1000000; | |
~~~~~ ^ | |
../drivers/power/supply/mt6375-charger.c:2703:14: error: no member named 'hvdcp_cfg_9v_done' in 'struct mt6375_chg_data' | |
if (ddata->hvdcp_cfg_9v_done == true) { | |
~~~~~ ^ | |
../drivers/power/supply/mt6375-charger.c:2704:11: error: no member named 'hvdcp_detach_time' in 'struct mt6375_chg_data' | |
ddata->hvdcp_detach_time = cpu_clock(smp_processor_id()) / 1000000; | |
~~~~~ ^ | |
14 errors generated. | |
make[4]: *** [../scripts/Makefile.build:277: drivers/power/supply/mt6375-charger.o] Error 1 | |
../drivers/gpu/mediatek/gpufreq/v2/gpufreq_mt6893.c:2539:1: error: unused label 'done' [-Werror,-Wunused-label] | |
done: | |
^~~~~ | |
1 error generated. | |
make[6]: *** [../scripts/Makefile.build:277: drivers/gpu/mediatek/gpufreq/v2/gpufreq_mt6893.o] Error 1 | |
make[6]: *** Waiting for unfinished jobs.... | |
make[3]: *** [../scripts/Makefile.build:526: drivers/power/supply] Error 2 | |
make[2]: *** [../scripts/Makefile.build:526: drivers/power] Error 2 | |
../drivers/gpu/mediatek/ged/src/ged_notify_sw_vsync.c:432:28: warning: ordered comparison between pointer and integer ('int' and 'int (*)(void)') | |
dcs_get_cur_core_num() < dcs_get_max_core_num) { | |
~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~ | |
make[2]: *** [../scripts/Makefile.build:526: arch/arm64/kernel] Error 2 | |
make[1]: *** [/drone/src/o/Makefile:1911: arch/arm64] Error 2 | |
1 warning generated. | |
../drivers/gpu/mediatek/ged/src/ged_bridge.c:174:8: error: implicit declaration of function 'fpsgo_notify_gpu_block' [-Werror,-Wimplicit-function-declaration] | |
ret = fpsgo_notify_gpu_block(in->tid, in->i32BridgeFD, in->hint); | |
^ | |
1 error generated. | |
make[5]: *** [../scripts/Makefile.build:277: drivers/gpu/mediatek/ged/src/ged_bridge.o] Error 1 | |
make[5]: *** Waiting for unfinished jobs.... | |
../drivers/gpu/mediatek/gpufreq/v2/gpufreq_mt6895.c:4644:1: error: unused label 'done' [-Werror,-Wunused-label] | |
done: | |
^~~~~ | |
1 error generated. | |
make[6]: *** [../scripts/Makefile.build:277: drivers/gpu/mediatek/gpufreq/v2/gpufreq_mt6895.o] Error 1 | |
make[5]: *** [../scripts/Makefile.build:526: drivers/gpu/mediatek/gpufreq/v2] Error 2 | |
make[4]: *** [../scripts/Makefile.build:526: drivers/gpu/mediatek/gpufreq] Error 2 | |
make[4]: *** Waiting for unfinished jobs.... | |
../drivers/gpu/mediatek/ged/src/ged_dvfs.c:1229:8: warning: variable 'idx_diff' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] | |
if (dvfs_step_mode == 0) | |
^~~~~~~~~~~~~~~~~~~ | |
../drivers/gpu/mediatek/ged/src/ged_dvfs.c:1235:8: note: uninitialized use occurs here | |
if (idx_diff <= GED_LB_SCALE_LIMIT) | |
^~~~~~~~ | |
../drivers/gpu/mediatek/ged/src/ged_dvfs.c:1229:4: note: remove the 'if' if its condition is always false | |
if (dvfs_step_mode == 0) | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
../drivers/gpu/mediatek/ged/src/ged_dvfs.c:1047:14: note: initialize the variable 'idx_diff' to silence this warning | |
int idx_diff; | |
^ | |
= 0 | |
../drivers/gpu/mediatek/ged/src/ged_ge.c:322:18: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement] | |
struct dma_buf *dmabuf; | |
^ | |
../drivers/gpu/mediatek/ged/src/ged_kpi.c:54:10: fatal error: 'disp_arr.h' file not found | |
#include "disp_arr.h" | |
^~~~~~~~~~~~ | |
1 error generated. | |
make[5]: *** [../scripts/Makefile.build:277: drivers/gpu/mediatek/ged/src/ged_kpi.o] Error 1 | |
1 warning generated. | |
1 warning generated. | |
make[4]: *** [../scripts/Makefile.build:526: drivers/gpu/mediatek/ged] Error 2 | |
make[3]: *** [../scripts/Makefile.build:526: drivers/gpu/mediatek] Error 2 | |
make[2]: *** [../scripts/Makefile.build:526: drivers/gpu] Error 2 | |
make[1]: *** [/drone/src/o/Makefile:1911: drivers] Error 2 | |
make: *** [Makefile:185: __sub-make] Error 2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment