Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make -C /lib/modules/6.14.8-2-pve/build M=/root/aic8800_linux_drvier/drivers/aic8800 ARCH=x86_64 CROSS_COMPILE= modules
- make[1]: Entering directory '/usr/src/linux-headers-6.14.8-2-pve'
- make[2]: Entering directory '/root/aic8800_linux_drvier/drivers/aic8800'
- CC [M] aic8800_fdrv/rwnx_main.o
- aic8800_fdrv/rwnx_main.c:530:6: warning: no previous prototype for ‘rwnx_skb_align_8bytes’ [-Wmissing-prototypes]
- 530 | void rwnx_skb_align_8bytes(struct sk_buff *skb){
- | ^~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:597:6: warning: no previous prototype for ‘rwnx_frame_parser’ [-Wmissing-prototypes]
- 597 | void rwnx_frame_parser(char* tag, char* data, unsigned long len){
- | ^~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c: In function ‘rwnx_csa_finish’:
- aic8800_fdrv/rwnx_main.c:1057:30: error: ‘struct wireless_dev’ has no member named ‘mtx’
- 1057 | mutex_lock(&vif->wdev.mtx);
- | ^
- aic8800_fdrv/rwnx_main.c:1069:17: error: too many arguments to function ‘cfg80211_ch_switch_notify’
- 1069 | cfg80211_ch_switch_notify(vif->ndev, &csa->chandef, 0, 0);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from aic8800_fdrv/rwnx_main.c:16:
- /usr/src/linux-headers-6.14.8-2-pve/include/net/cfg80211.h:9043:6: note: declared here
- 9043 | void cfg80211_ch_switch_notify(struct net_device *dev,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:1076:32: error: ‘struct wireless_dev’ has no member named ‘mtx’
- 1076 | mutex_unlock(&vif->wdev.mtx);
- | ^
- aic8800_fdrv/rwnx_main.c: At top level:
- aic8800_fdrv/rwnx_main.c:1126:6: warning: no previous prototype for ‘rwnx_update_mesh_power_mode’ [-Wmissing-prototypes]
- 1126 | void rwnx_update_mesh_power_mode(struct rwnx_vif *vif)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:1666:14: warning: no previous prototype for ‘command_strtoul’ [-Wmissing-prototypes]
- 1666 | unsigned int command_strtoul(const char *cp, char **endp, unsigned int base)
- | ^~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:1700:5: warning: no previous prototype for ‘handle_private_cmd’ [-Wmissing-prototypes]
- 1700 | int handle_private_cmd(struct net_device *net, char *command, u32 cmd_len)
- | ^~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:2391:5: warning: no previous prototype for ‘android_priv_cmd’ [-Wmissing-prototypes]
- 2391 | int android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd)
- | ^~~~~~~~~~~~~~~~
- In file included from aic8800_fdrv/rwnx_defs.h:32,
- from aic8800_fdrv/rwnx_main.c:25:
- aic8800_fdrv/rwnx_compat.h:397:5: warning: no previous prototype for ‘rwnx_select_queue’ [-Wmissing-prototypes]
- 397 | rwnx_select_queue(dev, skb, sb_dev)
- | ^~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:2616:5: note: in expansion of macro ‘rwnx_select_queue’
- 2616 | u16 rwnx_select_queue(struct net_device *dev, struct sk_buff *skb,
- | ^~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-6.14.8-2-pve/include/linux/string.h:392,
- from /usr/src/linux-headers-6.14.8-2-pve/include/linux/bitmap.h:13,
- from /usr/src/linux-headers-6.14.8-2-pve/include/linux/cpumask.h:12,
- from /usr/src/linux-headers-6.14.8-2-pve/arch/x86/include/asm/paravirt.h:21,
- from /usr/src/linux-headers-6.14.8-2-pve/arch/x86/include/asm/cpuid.h:71,
- from /usr/src/linux-headers-6.14.8-2-pve/arch/x86/include/asm/processor.h:19,
- from /usr/src/linux-headers-6.14.8-2-pve/arch/x86/include/asm/timex.h:5,
- from /usr/src/linux-headers-6.14.8-2-pve/include/linux/timex.h:67,
- from /usr/src/linux-headers-6.14.8-2-pve/include/linux/time32.h:13,
- from /usr/src/linux-headers-6.14.8-2-pve/include/linux/time.h:60,
- from /usr/src/linux-headers-6.14.8-2-pve/include/linux/stat.h:19,
- from /usr/src/linux-headers-6.14.8-2-pve/include/linux/module.h:13,
- from aic8800_fdrv/rwnx_main.c:13:
- aic8800_fdrv/rwnx_main.c: In function ‘rwnx_interface_add’:
- aic8800_fdrv/rwnx_main.c:2837:20: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- 2837 | memcpy(ndev->dev_addr, params->macaddr, ETH_ALEN);
- | ~~~~^~~~~~~~~~
- /usr/src/linux-headers-6.14.8-2-pve/include/linux/fortify-string.h:645:27: note: in definition of macro ‘__fortify_memcpy_chk’
- 645 | __underlying_##op(p, q, __copy_size); \
- | ^
- aic8800_fdrv/rwnx_main.c:2837:9: note: in expansion of macro ‘memcpy’
- 2837 | memcpy(ndev->dev_addr, params->macaddr, ETH_ALEN);
- | ^~~~~~
- aic8800_fdrv/rwnx_main.c:2837:20: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
- 2837 | memcpy(ndev->dev_addr, params->macaddr, ETH_ALEN);
- | ~~~~^~~~~~~~~~
- /usr/src/linux-headers-6.14.8-2-pve/include/linux/fortify-string.h:645:27: note: in definition of macro ‘__fortify_memcpy_chk’
- 645 | __underlying_##op(p, q, __copy_size); \
- | ^
- aic8800_fdrv/rwnx_main.c:2837:9: note: in expansion of macro ‘memcpy’
- 2837 | memcpy(ndev->dev_addr, params->macaddr, ETH_ALEN);
- | ^~~~~~
- aic8800_fdrv/rwnx_main.c:2846:20: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- 2846 | memcpy(ndev->dev_addr, mac_addr, ETH_ALEN);
- | ~~~~^~~~~~~~~~
- /usr/src/linux-headers-6.14.8-2-pve/include/linux/fortify-string.h:645:27: note: in definition of macro ‘__fortify_memcpy_chk’
- 645 | __underlying_##op(p, q, __copy_size); \
- | ^
- aic8800_fdrv/rwnx_main.c:2846:9: note: in expansion of macro ‘memcpy’
- 2846 | memcpy(ndev->dev_addr, mac_addr, ETH_ALEN);
- | ^~~~~~
- aic8800_fdrv/rwnx_main.c:2846:20: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
- 2846 | memcpy(ndev->dev_addr, mac_addr, ETH_ALEN);
- | ~~~~^~~~~~~~~~
- /usr/src/linux-headers-6.14.8-2-pve/include/linux/fortify-string.h:645:27: note: in definition of macro ‘__fortify_memcpy_chk’
- 645 | __underlying_##op(p, q, __copy_size); \
- | ^
- aic8800_fdrv/rwnx_main.c:2846:9: note: in expansion of macro ‘memcpy’
- 2846 | memcpy(ndev->dev_addr, mac_addr, ETH_ALEN);
- | ^~~~~~
- aic8800_fdrv/rwnx_main.c: At top level:
- aic8800_fdrv/rwnx_main.c:2888:6: warning: no previous prototype for ‘aicwf_p2p_alive_timeout’ [-Wmissing-prototypes]
- 2888 | void aicwf_p2p_alive_timeout(struct timer_list *t)
- | ^~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:3399:5: warning: no previous prototype for ‘rwnx_send_check_p2p’ [-Wmissing-prototypes]
- 3399 | int rwnx_send_check_p2p(struct cfg80211_scan_request *param){
- | ^~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:4112:6: warning: no previous prototype for ‘apm_staloss_work_process’ [-Wmissing-prototypes]
- 4112 | void apm_staloss_work_process(struct work_struct *work)
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:4226:6: warning: no previous prototype for ‘apm_probe_sta_work_process’ [-Wmissing-prototypes]
- 4226 | void apm_probe_sta_work_process(struct work_struct *work)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:4701:5: warning: no previous prototype for ‘rwnx_cfg80211_probe_client’ [-Wmissing-prototypes]
- 4701 | int rwnx_cfg80211_probe_client(struct wiphy *wiphy, struct net_device *dev,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:4738:6: warning: no previous prototype for ‘rwnx_cfg80211_mgmt_frame_register’ [-Wmissing-prototypes]
- 4738 | void rwnx_cfg80211_mgmt_frame_register(struct wiphy *wiphy,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:5369:5: warning: no previous prototype for ‘rwnx_cfg80211_channel_switch’ [-Wmissing-prototypes]
- 5369 | int rwnx_cfg80211_channel_switch(struct wiphy *wiphy,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c: In function ‘rwnx_cfg80211_channel_switch’:
- aic8800_fdrv/rwnx_main.c:5457:105: error: ‘struct cfg80211_csa_settings’ has no member named ‘punct_bitmap’
- 5457 | cfg80211_ch_switch_started_notify(dev, &csa->chandef, 0, params->count, params->block_tx, params->punct_bitmap);
- | ^~
- aic8800_fdrv/rwnx_main.c:5457:9: error: too many arguments to function ‘cfg80211_ch_switch_started_notify’
- 5457 | cfg80211_ch_switch_started_notify(dev, &csa->chandef, 0, params->count, params->block_tx, params->punct_bitmap);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/src/linux-headers-6.14.8-2-pve/include/net/cfg80211.h:9059:6: note: declared here
- 9059 | void cfg80211_ch_switch_started_notify(struct net_device *dev,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c: At top level:
- aic8800_fdrv/rwnx_main.c:5704:5: warning: no previous prototype for ‘rwnx_cfg80211_change_bss’ [-Wmissing-prototypes]
- 5704 | int rwnx_cfg80211_change_bss(struct wiphy *wiphy, struct net_device *dev,
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:6436:22: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_ap_update *)’ from incompatible pointer type ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_beacon_data *)’ [-Wincompatible-pointer-types]
- 6436 | .change_beacon = rwnx_cfg80211_change_beacon,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:6436:22: note: (near initialization for ‘rwnx_cfg80211_ops.change_beacon’)
- aic8800_fdrv/rwnx_main.c:6438:28: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *)’ from incompatible pointer type ‘int (*)(struct wiphy *, struct cfg80211_chan_def *)’ [-Wincompatible-pointer-types]
- 6438 | .set_monitor_channel = rwnx_cfg80211_set_monitor_channel,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:6438:28: note: (near initialization for ‘rwnx_cfg80211_ops.set_monitor_channel’)
- aic8800_fdrv/rwnx_main.c:6451:30: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *, u32, int)’ {aka ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *, unsigned int, int)’} from incompatible pointer type ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *, u32)’ {aka ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *, unsigned int)’} [-Wincompatible-pointer-types]
- 6451 | .start_radar_detection = rwnx_cfg80211_start_radar_detection,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:6451:30: note: (near initialization for ‘rwnx_cfg80211_ops.start_radar_detection’)
- aic8800_fdrv/rwnx_main.c:8633:5: warning: no previous prototype for ‘rwnx_ic_system_init’ [-Wmissing-prototypes]
- 8633 | int rwnx_ic_system_init(struct rwnx_hw *rwnx_hw){
- | ^~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:8660:5: warning: no previous prototype for ‘rwnx_ic_rf_init’ [-Wmissing-prototypes]
- 8660 | int rwnx_ic_rf_init(struct rwnx_hw *rwnx_hw){
- | ^~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c: In function ‘rwnx_cfg80211_mgmt_tx’:
- aic8800_fdrv/rwnx_main.c:5204:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 5204 | rwnx_vif = rwnx_vif->ap_vlan.master;
- | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:5205:9: note: here
- 5205 | case NL80211_IFTYPE_AP:
- | ^~~~
- aic8800_fdrv/rwnx_main.c: In function ‘rwnx_fill_station_info’:
- aic8800_fdrv/rwnx_main.c:5862:43: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 5862 | sinfo->rxrate.he_ru_alloc = rx_vect1->he.ru_size;
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:5863:9: note: here
- 5863 | case FORMATMOD_HE_SU:
- | ^~~~
- aic8800_fdrv/rwnx_main.c: In function ‘rwnx_cfg80211_change_iface’:
- aic8800_fdrv/rwnx_main.c:3237:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 3237 | vif->ap.generation = 0;
- | ~~~~~~~~~~~~~~~~~~~^~~
- aic8800_fdrv/rwnx_main.c:3239:5: note: here
- 3239 | case NL80211_IFTYPE_AP:
- | ^~~~
- aic8800_fdrv/rwnx_main.c: In function ‘rwnx_interface_add’:
- aic8800_fdrv/rwnx_main.c:2797:30: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 2797 | vif->ap.next_mesh_pm = NL80211_MESH_POWER_ACTIVE;
- | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:2799:5: note: here
- 2799 | case NL80211_IFTYPE_AP:
- | ^~~~
- make[5]: *** [/usr/src/linux-headers-6.14.8-2-pve/scripts/Makefile.build:207: aic8800_fdrv/rwnx_main.o] Error 1
- make[4]: *** [/usr/src/linux-headers-6.14.8-2-pve/scripts/Makefile.build:465: aic8800_fdrv] Error 2
- make[3]: *** [/usr/src/linux-headers-6.14.8-2-pve/Makefile:2001: .] Error 2
- make[2]: *** [/usr/src/linux-headers-6.14.8-2-pve/Makefile:251: __sub-make] Error 2
- make[2]: Leaving directory '/root/aic8800_linux_drvier/drivers/aic8800'
- make[1]: *** [Makefile:251: __sub-make] Error 2
- make[1]: Leaving directory '/usr/src/linux-headers-6.14.8-2-pve'
- make: *** [Makefile:56: modules] Error 2
- root@pve:~/aic8800_linux_drvier/drivers/aic8800# ^C
- root@pve:~/aic8800_linux_drvier/drivers/aic8800# make
- make -C /lib/modules/6.14.8-2-pve/build M=/root/aic8800_linux_drvier/drivers/aic8800 ARCH=x86_64 CROSS_COMPILE= modules
- make[1]: Entering directory '/usr/src/linux-headers-6.14.8-2-pve'
- make[2]: Entering directory '/root/aic8800_linux_drvier/drivers/aic8800'
- CC [M] aic8800_fdrv/rwnx_main.o
- aic8800_fdrv/rwnx_main.c:530:6: warning: no previous prototype for ‘rwnx_skb_align_8bytes’ [-Wmissing-prototypes]
- 530 | void rwnx_skb_align_8bytes(struct sk_buff *skb){
- | ^~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:597:6: warning: no previous prototype for ‘rwnx_frame_parser’ [-Wmissing-prototypes]
- 597 | void rwnx_frame_parser(char* tag, char* data, unsigned long len){
- | ^~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c: In function ‘rwnx_csa_finish’:
- aic8800_fdrv/rwnx_main.c:1057:30: error: ‘struct wireless_dev’ has no member named ‘mtx’
- 1057 | mutex_lock(&vif->wdev.mtx);
- | ^
- aic8800_fdrv/rwnx_main.c:1069:17: error: too many arguments to function ‘cfg80211_ch_switch_notify’
- 1069 | cfg80211_ch_switch_notify(vif->ndev, &csa->chandef, 0, 0);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from aic8800_fdrv/rwnx_main.c:16:
- /usr/src/linux-headers-6.14.8-2-pve/include/net/cfg80211.h:9043:6: note: declared here
- 9043 | void cfg80211_ch_switch_notify(struct net_device *dev,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:1076:32: error: ‘struct wireless_dev’ has no member named ‘mtx’
- 1076 | mutex_unlock(&vif->wdev.mtx);
- | ^
- aic8800_fdrv/rwnx_main.c: At top level:
- aic8800_fdrv/rwnx_main.c:1126:6: warning: no previous prototype for ‘rwnx_update_mesh_power_mode’ [-Wmissing-prototypes]
- 1126 | void rwnx_update_mesh_power_mode(struct rwnx_vif *vif)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:1666:14: warning: no previous prototype for ‘command_strtoul’ [-Wmissing-prototypes]
- 1666 | unsigned int command_strtoul(const char *cp, char **endp, unsigned int base)
- | ^~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:1700:5: warning: no previous prototype for ‘handle_private_cmd’ [-Wmissing-prototypes]
- 1700 | int handle_private_cmd(struct net_device *net, char *command, u32 cmd_len)
- | ^~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:2391:5: warning: no previous prototype for ‘android_priv_cmd’ [-Wmissing-prototypes]
- 2391 | int android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd)
- | ^~~~~~~~~~~~~~~~
- In file included from aic8800_fdrv/rwnx_defs.h:32,
- from aic8800_fdrv/rwnx_main.c:25:
- aic8800_fdrv/rwnx_compat.h:397:5: warning: no previous prototype for ‘rwnx_select_queue’ [-Wmissing-prototypes]
- 397 | rwnx_select_queue(dev, skb, sb_dev)
- | ^~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:2616:5: note: in expansion of macro ‘rwnx_select_queue’
- 2616 | u16 rwnx_select_queue(struct net_device *dev, struct sk_buff *skb,
- | ^~~~~~~~~~~~~~~~~
- In file included from /usr/src/linux-headers-6.14.8-2-pve/include/linux/string.h:392,
- from /usr/src/linux-headers-6.14.8-2-pve/include/linux/bitmap.h:13,
- from /usr/src/linux-headers-6.14.8-2-pve/include/linux/cpumask.h:12,
- from /usr/src/linux-headers-6.14.8-2-pve/arch/x86/include/asm/paravirt.h:21,
- from /usr/src/linux-headers-6.14.8-2-pve/arch/x86/include/asm/cpuid.h:71,
- from /usr/src/linux-headers-6.14.8-2-pve/arch/x86/include/asm/processor.h:19,
- from /usr/src/linux-headers-6.14.8-2-pve/arch/x86/include/asm/timex.h:5,
- from /usr/src/linux-headers-6.14.8-2-pve/include/linux/timex.h:67,
- from /usr/src/linux-headers-6.14.8-2-pve/include/linux/time32.h:13,
- from /usr/src/linux-headers-6.14.8-2-pve/include/linux/time.h:60,
- from /usr/src/linux-headers-6.14.8-2-pve/include/linux/stat.h:19,
- from /usr/src/linux-headers-6.14.8-2-pve/include/linux/module.h:13,
- from aic8800_fdrv/rwnx_main.c:13:
- aic8800_fdrv/rwnx_main.c: In function ‘rwnx_interface_add’:
- aic8800_fdrv/rwnx_main.c:2837:20: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- 2837 | memcpy(ndev->dev_addr, params->macaddr, ETH_ALEN);
- | ~~~~^~~~~~~~~~
- /usr/src/linux-headers-6.14.8-2-pve/include/linux/fortify-string.h:645:27: note: in definition of macro ‘__fortify_memcpy_chk’
- 645 | __underlying_##op(p, q, __copy_size); \
- | ^
- aic8800_fdrv/rwnx_main.c:2837:9: note: in expansion of macro ‘memcpy’
- 2837 | memcpy(ndev->dev_addr, params->macaddr, ETH_ALEN);
- | ^~~~~~
- aic8800_fdrv/rwnx_main.c:2837:20: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
- 2837 | memcpy(ndev->dev_addr, params->macaddr, ETH_ALEN);
- | ~~~~^~~~~~~~~~
- /usr/src/linux-headers-6.14.8-2-pve/include/linux/fortify-string.h:645:27: note: in definition of macro ‘__fortify_memcpy_chk’
- 645 | __underlying_##op(p, q, __copy_size); \
- | ^
- aic8800_fdrv/rwnx_main.c:2837:9: note: in expansion of macro ‘memcpy’
- 2837 | memcpy(ndev->dev_addr, params->macaddr, ETH_ALEN);
- | ^~~~~~
- aic8800_fdrv/rwnx_main.c:2846:20: warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- 2846 | memcpy(ndev->dev_addr, mac_addr, ETH_ALEN);
- | ~~~~^~~~~~~~~~
- /usr/src/linux-headers-6.14.8-2-pve/include/linux/fortify-string.h:645:27: note: in definition of macro ‘__fortify_memcpy_chk’
- 645 | __underlying_##op(p, q, __copy_size); \
- | ^
- aic8800_fdrv/rwnx_main.c:2846:9: note: in expansion of macro ‘memcpy’
- 2846 | memcpy(ndev->dev_addr, mac_addr, ETH_ALEN);
- | ^~~~~~
- aic8800_fdrv/rwnx_main.c:2846:20: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
- 2846 | memcpy(ndev->dev_addr, mac_addr, ETH_ALEN);
- | ~~~~^~~~~~~~~~
- /usr/src/linux-headers-6.14.8-2-pve/include/linux/fortify-string.h:645:27: note: in definition of macro ‘__fortify_memcpy_chk’
- 645 | __underlying_##op(p, q, __copy_size); \
- | ^
- aic8800_fdrv/rwnx_main.c:2846:9: note: in expansion of macro ‘memcpy’
- 2846 | memcpy(ndev->dev_addr, mac_addr, ETH_ALEN);
- | ^~~~~~
- aic8800_fdrv/rwnx_main.c: At top level:
- aic8800_fdrv/rwnx_main.c:2888:6: warning: no previous prototype for ‘aicwf_p2p_alive_timeout’ [-Wmissing-prototypes]
- 2888 | void aicwf_p2p_alive_timeout(struct timer_list *t)
- | ^~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:3399:5: warning: no previous prototype for ‘rwnx_send_check_p2p’ [-Wmissing-prototypes]
- 3399 | int rwnx_send_check_p2p(struct cfg80211_scan_request *param){
- | ^~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:4112:6: warning: no previous prototype for ‘apm_staloss_work_process’ [-Wmissing-prototypes]
- 4112 | void apm_staloss_work_process(struct work_struct *work)
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:4226:6: warning: no previous prototype for ‘apm_probe_sta_work_process’ [-Wmissing-prototypes]
- 4226 | void apm_probe_sta_work_process(struct work_struct *work)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:4701:5: warning: no previous prototype for ‘rwnx_cfg80211_probe_client’ [-Wmissing-prototypes]
- 4701 | int rwnx_cfg80211_probe_client(struct wiphy *wiphy, struct net_device *dev,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:4738:6: warning: no previous prototype for ‘rwnx_cfg80211_mgmt_frame_register’ [-Wmissing-prototypes]
- 4738 | void rwnx_cfg80211_mgmt_frame_register(struct wiphy *wiphy,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:5369:5: warning: no previous prototype for ‘rwnx_cfg80211_channel_switch’ [-Wmissing-prototypes]
- 5369 | int rwnx_cfg80211_channel_switch(struct wiphy *wiphy,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c: In function ‘rwnx_cfg80211_channel_switch’:
- aic8800_fdrv/rwnx_main.c:5457:105: error: ‘struct cfg80211_csa_settings’ has no member named ‘punct_bitmap’
- 5457 | cfg80211_ch_switch_started_notify(dev, &csa->chandef, 0, params->count, params->block_tx, params->punct_bitmap);
- | ^~
- aic8800_fdrv/rwnx_main.c:5457:9: error: too many arguments to function ‘cfg80211_ch_switch_started_notify’
- 5457 | cfg80211_ch_switch_started_notify(dev, &csa->chandef, 0, params->count, params->block_tx, params->punct_bitmap);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/src/linux-headers-6.14.8-2-pve/include/net/cfg80211.h:9059:6: note: declared here
- 9059 | void cfg80211_ch_switch_started_notify(struct net_device *dev,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c: At top level:
- aic8800_fdrv/rwnx_main.c:5704:5: warning: no previous prototype for ‘rwnx_cfg80211_change_bss’ [-Wmissing-prototypes]
- 5704 | int rwnx_cfg80211_change_bss(struct wiphy *wiphy, struct net_device *dev,
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:6436:22: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_ap_update *)’ from incompatible pointer type ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_beacon_data *)’ [-Wincompatible-pointer-types]
- 6436 | .change_beacon = rwnx_cfg80211_change_beacon,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:6436:22: note: (near initialization for ‘rwnx_cfg80211_ops.change_beacon’)
- aic8800_fdrv/rwnx_main.c:6438:28: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *)’ from incompatible pointer type ‘int (*)(struct wiphy *, struct cfg80211_chan_def *)’ [-Wincompatible-pointer-types]
- 6438 | .set_monitor_channel = rwnx_cfg80211_set_monitor_channel,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:6438:28: note: (near initialization for ‘rwnx_cfg80211_ops.set_monitor_channel’)
- aic8800_fdrv/rwnx_main.c:6451:30: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *, u32, int)’ {aka ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *, unsigned int, int)’} from incompatible pointer type ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *, u32)’ {aka ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *, unsigned int)’} [-Wincompatible-pointer-types]
- 6451 | .start_radar_detection = rwnx_cfg80211_start_radar_detection,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:6451:30: note: (near initialization for ‘rwnx_cfg80211_ops.start_radar_detection’)
- aic8800_fdrv/rwnx_main.c:8633:5: warning: no previous prototype for ‘rwnx_ic_system_init’ [-Wmissing-prototypes]
- 8633 | int rwnx_ic_system_init(struct rwnx_hw *rwnx_hw){
- | ^~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:8660:5: warning: no previous prototype for ‘rwnx_ic_rf_init’ [-Wmissing-prototypes]
- 8660 | int rwnx_ic_rf_init(struct rwnx_hw *rwnx_hw){
- | ^~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c: In function ‘rwnx_cfg80211_mgmt_tx’:
- aic8800_fdrv/rwnx_main.c:5204:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 5204 | rwnx_vif = rwnx_vif->ap_vlan.master;
- | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:5205:9: note: here
- 5205 | case NL80211_IFTYPE_AP:
- | ^~~~
- aic8800_fdrv/rwnx_main.c: In function ‘rwnx_fill_station_info’:
- aic8800_fdrv/rwnx_main.c:5862:43: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 5862 | sinfo->rxrate.he_ru_alloc = rx_vect1->he.ru_size;
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:5863:9: note: here
- 5863 | case FORMATMOD_HE_SU:
- | ^~~~
- aic8800_fdrv/rwnx_main.c: In function ‘rwnx_cfg80211_change_iface’:
- aic8800_fdrv/rwnx_main.c:3237:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 3237 | vif->ap.generation = 0;
- | ~~~~~~~~~~~~~~~~~~~^~~
- aic8800_fdrv/rwnx_main.c:3239:5: note: here
- 3239 | case NL80211_IFTYPE_AP:
- | ^~~~
- aic8800_fdrv/rwnx_main.c: In function ‘rwnx_interface_add’:
- aic8800_fdrv/rwnx_main.c:2797:30: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 2797 | vif->ap.next_mesh_pm = NL80211_MESH_POWER_ACTIVE;
- | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
- aic8800_fdrv/rwnx_main.c:2799:5: note: here
- 2799 | case NL80211_IFTYPE_AP:
- | ^~~~
- make[5]: *** [/usr/src/linux-headers-6.14.8-2-pve/scripts/Makefile.build:207: aic8800_fdrv/rwnx_main.o] Error 1
- make[4]: *** [/usr/src/linux-headers-6.14.8-2-pve/scripts/Makefile.build:465: aic8800_fdrv] Error 2
- make[3]: *** [/usr/src/linux-headers-6.14.8-2-pve/Makefile:2001: .] Error 2
- make[2]: *** [/usr/src/linux-headers-6.14.8-2-pve/Makefile:251: __sub-make] Error 2
- make[2]: Leaving directory '/root/aic8800_linux_drvier/drivers/aic8800'
- make[1]: *** [Makefile:251: __sub-make] Error 2
- make[1]: Leaving directory '/usr/src/linux-headers-6.14.8-2-pve'
- make: *** [Makefile:56: modules] Error 2
Advertisement
Add Comment
Please, Sign In to add comment