make ARCH=x86_64 CROSS_COMPILE= -C /home/daniel/android9/out/target/product/x86_64/obj/kernel/ M=/home/daniel/2/rtl8723bs modules make[1]: Entering directory '/home/daniel/android9/out/target/product/x86_64/obj/kernel' CC [M] /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.o CC [M] /home/daniel/2/rtl8723bs/hal/hal_com_phycfg.o CC [M] /home/daniel/2/rtl8723bs/hal/hal_phy.o CC [M] /home/daniel/2/rtl8723bs/hal/hal_dm_acs.o CC [M] /home/daniel/2/rtl8723bs/hal/hal_dm.o CC [M] /home/daniel/2/rtl8723bs/hal/hal_btcoex_wifionly.o CC [M] /home/daniel/2/rtl8723bs/hal/hal_btcoex.o /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:67:15: warning: ‘struct proc_ops’ declared inside parameter list will not be visible outside of this definition or declaration const struct proc_ops *proc_ops, void * data) ^~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c: In function ‘rtw_proc_create_entry’: /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:72:71: error: passing argument 4 of ‘proc_create_data’ from incompatible pointer type [-Werror=incompatible-pointer-types] entry = proc_create_data(name, S_IFREG | S_IRUGO | S_IWUGO, parent, proc_ops, data); ^~~~~~~~ In file included from /home/daniel/2/rtl8723bs/include/../os_dep/linux/rtw_proc.h:18:0, from /home/daniel/2/rtl8723bs/include/osdep_intf.h:128, from /home/daniel/2/rtl8723bs/include/drv_types.h:104, from /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:17: /home/daniel/android9/kernel/include/linux/proc_fs.h:44:31: note: expected ‘const struct file_operations *’ but argument is of type ‘const struct proc_ops *’ extern struct proc_dir_entry *proc_create_data(const char *, umode_t, ^~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c: At top level: /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:235:21: error: variable ‘rtw_drv_proc_seq_proc_ops’ has initializer but incomplete type static const struct proc_ops rtw_drv_proc_seq_proc_ops = { ^~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:236:3: error: ‘const struct proc_ops’ has no member named ‘proc_open’ .proc_open = rtw_drv_proc_open, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:236:15: warning: excess elements in struct initializer .proc_open = rtw_drv_proc_open, ^~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:236:15: note: (near initialization for ‘rtw_drv_proc_seq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:237:3: error: ‘const struct proc_ops’ has no member named ‘proc_read’ .proc_read = seq_read, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:237:15: warning: excess elements in struct initializer .proc_read = seq_read, ^~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:237:15: note: (near initialization for ‘rtw_drv_proc_seq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:238:3: error: ‘const struct proc_ops’ has no member named ‘proc_lseek’ .proc_lseek = seq_lseek, ^~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:238:16: warning: excess elements in struct initializer .proc_lseek = seq_lseek, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:238:16: note: (near initialization for ‘rtw_drv_proc_seq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:239:3: error: ‘const struct proc_ops’ has no member named ‘proc_release’ .proc_release = seq_release, ^~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:239:18: warning: excess elements in struct initializer .proc_release = seq_release, ^~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:239:18: note: (near initialization for ‘rtw_drv_proc_seq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:240:3: error: ‘const struct proc_ops’ has no member named ‘proc_write’ .proc_write = rtw_drv_proc_write, ^~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:240:16: warning: excess elements in struct initializer .proc_write = rtw_drv_proc_write, ^~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:240:16: note: (near initialization for ‘rtw_drv_proc_seq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:243:21: error: variable ‘rtw_drv_proc_sseq_proc_ops’ has initializer but incomplete type static const struct proc_ops rtw_drv_proc_sseq_proc_ops = { ^~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:244:3: error: ‘const struct proc_ops’ has no member named ‘proc_open’ .proc_open = rtw_drv_proc_open, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:244:15: warning: excess elements in struct initializer .proc_open = rtw_drv_proc_open, ^~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:244:15: note: (near initialization for ‘rtw_drv_proc_sseq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:245:3: error: ‘const struct proc_ops’ has no member named ‘proc_read’ .proc_read = seq_read, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:245:15: warning: excess elements in struct initializer .proc_read = seq_read, ^~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:245:15: note: (near initialization for ‘rtw_drv_proc_sseq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:246:3: error: ‘const struct proc_ops’ has no member named ‘proc_lseek’ .proc_lseek = seq_lseek, ^~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:246:16: warning: excess elements in struct initializer .proc_lseek = seq_lseek, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:246:16: note: (near initialization for ‘rtw_drv_proc_sseq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:247:3: error: ‘const struct proc_ops’ has no member named ‘proc_release’ .proc_release = single_release, ^~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:247:18: warning: excess elements in struct initializer .proc_release = single_release, ^~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:247:18: note: (near initialization for ‘rtw_drv_proc_sseq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:248:3: error: ‘const struct proc_ops’ has no member named ‘proc_write’ .proc_write = rtw_drv_proc_write, ^~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:248:16: warning: excess elements in struct initializer .proc_write = rtw_drv_proc_write, ^~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:248:16: note: (near initialization for ‘rtw_drv_proc_sseq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c: In function ‘rtw_drv_proc_init’: /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:271:67: error: passing argument 3 of ‘rtw_proc_create_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types] entry = rtw_proc_create_entry(drv_proc_hdls[i].name, rtw_proc, &rtw_drv_proc_seq_proc_ops, (void *)i); ^ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:66:31: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct proc_ops *’ inline struct proc_dir_entry *rtw_proc_create_entry(const char *name, struct proc_dir_entry *parent, ^~~~~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:273:67: error: passing argument 3 of ‘rtw_proc_create_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types] entry = rtw_proc_create_entry(drv_proc_hdls[i].name, rtw_proc, &rtw_drv_proc_sseq_proc_ops, (void *)i); ^ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:66:31: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct proc_ops *’ inline struct proc_dir_entry *rtw_proc_create_entry(const char *name, struct proc_dir_entry *parent, ^~~~~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c: At top level: /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2982:21: error: variable ‘rtw_adapter_proc_seq_proc_ops’ has initializer but incomplete type static const struct proc_ops rtw_adapter_proc_seq_proc_ops = { ^~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2983:3: error: ‘const struct proc_ops’ has no member named ‘proc_open’ .proc_open = rtw_adapter_proc_open, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2983:15: warning: excess elements in struct initializer .proc_open = rtw_adapter_proc_open, ^~~~~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2983:15: note: (near initialization for ‘rtw_adapter_proc_seq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2984:3: error: ‘const struct proc_ops’ has no member named ‘proc_read’ .proc_read = seq_read, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2984:15: warning: excess elements in struct initializer .proc_read = seq_read, ^~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2984:15: note: (near initialization for ‘rtw_adapter_proc_seq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2985:3: error: ‘const struct proc_ops’ has no member named ‘proc_lseek’ .proc_lseek = seq_lseek, ^~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2985:16: warning: excess elements in struct initializer .proc_lseek = seq_lseek, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2985:16: note: (near initialization for ‘rtw_adapter_proc_seq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2986:3: error: ‘const struct proc_ops’ has no member named ‘proc_release’ .proc_release = seq_release, ^~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2986:18: warning: excess elements in struct initializer .proc_release = seq_release, ^~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2986:18: note: (near initialization for ‘rtw_adapter_proc_seq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2987:3: error: ‘const struct proc_ops’ has no member named ‘proc_write’ .proc_write = rtw_adapter_proc_write, ^~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2987:16: warning: excess elements in struct initializer .proc_write = rtw_adapter_proc_write, ^~~~~~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2987:16: note: (near initialization for ‘rtw_adapter_proc_seq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2990:21: error: variable ‘rtw_adapter_proc_sseq_proc_ops’ has initializer but incomplete type static const struct proc_ops rtw_adapter_proc_sseq_proc_ops = { ^~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2991:3: error: ‘const struct proc_ops’ has no member named ‘proc_open’ .proc_open = rtw_adapter_proc_open, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2991:15: warning: excess elements in struct initializer .proc_open = rtw_adapter_proc_open, ^~~~~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2991:15: note: (near initialization for ‘rtw_adapter_proc_sseq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2992:3: error: ‘const struct proc_ops’ has no member named ‘proc_read’ .proc_read = seq_read, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2992:15: warning: excess elements in struct initializer .proc_read = seq_read, ^~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2992:15: note: (near initialization for ‘rtw_adapter_proc_sseq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2993:3: error: ‘const struct proc_ops’ has no member named ‘proc_lseek’ .proc_lseek = seq_lseek, ^~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2993:16: warning: excess elements in struct initializer .proc_lseek = seq_lseek, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2993:16: note: (near initialization for ‘rtw_adapter_proc_sseq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2994:3: error: ‘const struct proc_ops’ has no member named ‘proc_release’ .proc_release = single_release, ^~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2994:18: warning: excess elements in struct initializer .proc_release = single_release, ^~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2994:18: note: (near initialization for ‘rtw_adapter_proc_sseq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2995:3: error: ‘const struct proc_ops’ has no member named ‘proc_write’ .proc_write = rtw_adapter_proc_write, ^~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2995:16: warning: excess elements in struct initializer .proc_write = rtw_adapter_proc_write, ^~~~~~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2995:16: note: (near initialization for ‘rtw_adapter_proc_sseq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3152:21: error: variable ‘rtw_odm_proc_seq_proc_ops’ has initializer but incomplete type static const struct proc_ops rtw_odm_proc_seq_proc_ops = { ^~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3153:3: error: ‘const struct proc_ops’ has no member named ‘proc_open’ .proc_open = rtw_odm_proc_open, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3153:15: warning: excess elements in struct initializer .proc_open = rtw_odm_proc_open, ^~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3153:15: note: (near initialization for ‘rtw_odm_proc_seq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3154:3: error: ‘const struct proc_ops’ has no member named ‘proc_read’ .proc_read = seq_read, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3154:15: warning: excess elements in struct initializer .proc_read = seq_read, ^~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3154:15: note: (near initialization for ‘rtw_odm_proc_seq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3155:3: error: ‘const struct proc_ops’ has no member named ‘proc_lseek’ .proc_lseek = seq_lseek, ^~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3155:16: warning: excess elements in struct initializer .proc_lseek = seq_lseek, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3155:16: note: (near initialization for ‘rtw_odm_proc_seq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3156:3: error: ‘const struct proc_ops’ has no member named ‘proc_release’ .proc_release = seq_release, ^~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3156:18: warning: excess elements in struct initializer .proc_release = seq_release, ^~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3156:18: note: (near initialization for ‘rtw_odm_proc_seq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3157:3: error: ‘const struct proc_ops’ has no member named ‘proc_write’ .proc_write = rtw_odm_proc_write, ^~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3157:16: warning: excess elements in struct initializer .proc_write = rtw_odm_proc_write, ^~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3157:16: note: (near initialization for ‘rtw_odm_proc_seq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3160:21: error: variable ‘rtw_odm_proc_sseq_proc_ops’ has initializer but incomplete type static const struct proc_ops rtw_odm_proc_sseq_proc_ops = { ^~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3161:3: error: ‘const struct proc_ops’ has no member named ‘proc_open’ .proc_open = rtw_odm_proc_open, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3161:15: warning: excess elements in struct initializer .proc_open = rtw_odm_proc_open, ^~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3161:15: note: (near initialization for ‘rtw_odm_proc_sseq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3162:3: error: ‘const struct proc_ops’ has no member named ‘proc_read’ .proc_read = seq_read, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3162:15: warning: excess elements in struct initializer .proc_read = seq_read, ^~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3162:15: note: (near initialization for ‘rtw_odm_proc_sseq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3163:3: error: ‘const struct proc_ops’ has no member named ‘proc_lseek’ .proc_lseek = seq_lseek, ^~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3163:16: warning: excess elements in struct initializer .proc_lseek = seq_lseek, ^~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3163:16: note: (near initialization for ‘rtw_odm_proc_sseq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3164:3: error: ‘const struct proc_ops’ has no member named ‘proc_release’ .proc_release = single_release, ^~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3164:18: warning: excess elements in struct initializer .proc_release = single_release, ^~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3164:18: note: (near initialization for ‘rtw_odm_proc_sseq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3165:3: error: ‘const struct proc_ops’ has no member named ‘proc_write’ .proc_write = rtw_odm_proc_write, ^~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3165:16: warning: excess elements in struct initializer .proc_write = rtw_odm_proc_write, ^~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3165:16: note: (near initialization for ‘rtw_odm_proc_sseq_proc_ops’) /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c: In function ‘rtw_odm_proc_init’: /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3195:66: error: passing argument 3 of ‘rtw_proc_create_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types] entry = rtw_proc_create_entry(odm_proc_hdls[i].name, dir_odm, &rtw_odm_proc_seq_proc_ops, (void *)i); ^ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:66:31: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct proc_ops *’ inline struct proc_dir_entry *rtw_proc_create_entry(const char *name, struct proc_dir_entry *parent, ^~~~~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3197:66: error: passing argument 3 of ‘rtw_proc_create_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types] entry = rtw_proc_create_entry(odm_proc_hdls[i].name, dir_odm, &rtw_odm_proc_sseq_proc_ops, (void *)i); ^ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:66:31: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct proc_ops *’ inline struct proc_dir_entry *rtw_proc_create_entry(const char *name, struct proc_dir_entry *parent, ^~~~~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c: In function ‘rtw_adapter_proc_init’: /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3399:70: error: passing argument 3 of ‘rtw_proc_create_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types] entry = rtw_proc_create_entry(adapter_proc_hdls[i].name, dir_dev, &rtw_adapter_proc_seq_proc_ops, (void *)i); ^ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:66:31: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct proc_ops *’ inline struct proc_dir_entry *rtw_proc_create_entry(const char *name, struct proc_dir_entry *parent, ^~~~~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3401:70: error: passing argument 3 of ‘rtw_proc_create_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types] entry = rtw_proc_create_entry(adapter_proc_hdls[i].name, dir_dev, &rtw_adapter_proc_sseq_proc_ops, (void *)i); ^ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:66:31: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct proc_ops *’ inline struct proc_dir_entry *rtw_proc_create_entry(const char *name, struct proc_dir_entry *parent, ^~~~~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c: At top level: /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:235:30: error: storage size of ‘rtw_drv_proc_seq_proc_ops’ isn’t known static const struct proc_ops rtw_drv_proc_seq_proc_ops = { ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:243:30: error: storage size of ‘rtw_drv_proc_sseq_proc_ops’ isn’t known static const struct proc_ops rtw_drv_proc_sseq_proc_ops = { ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2982:30: error: storage size of ‘rtw_adapter_proc_seq_proc_ops’ isn’t known static const struct proc_ops rtw_adapter_proc_seq_proc_ops = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:2990:30: error: storage size of ‘rtw_adapter_proc_sseq_proc_ops’ isn’t known static const struct proc_ops rtw_adapter_proc_sseq_proc_ops = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3152:30: error: storage size of ‘rtw_odm_proc_seq_proc_ops’ isn’t known static const struct proc_ops rtw_odm_proc_seq_proc_ops = { ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.c:3160:30: error: storage size of ‘rtw_odm_proc_sseq_proc_ops’ isn’t known static const struct proc_ops rtw_odm_proc_sseq_proc_ops = { ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /home/daniel/android9/kernel/scripts/Makefile.build:333: recipe for target '/home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.o' failed make[4]: *** [/home/daniel/2/rtl8723bs/os_dep/linux/rtw_proc.o] Error 1 make[4]: *** Waiting for unfinished jobs.... /home/daniel/android9/kernel/Makefile:1617: recipe for target '_module_/home/daniel/2/rtl8723bs' failed make[3]: *** [_module_/home/daniel/2/rtl8723bs] Error 2 Makefile:146: recipe for target 'sub-make' failed make[2]: *** [sub-make] Error 2 Makefile:24: recipe for target '__sub-make' failed make[1]: *** [__sub-make] Error 2 make[1]: Leaving directory '/home/daniel/android9/out/target/product/x86_64/obj/kernel' Makefile:1826: recipe for target 'modules' failed make: *** [modules] Error 2 Command exited with non-zero status 2 3.98user 0.62system 0:01.70elapsed 270%CPU (0avgtext+0avgdata 106416maxresident)k 0inputs+3024outputs (0major+352915minor)pagefaults 0swaps